GraalVM を使用したパフォーマンス向上 15% 倍、メモリ使用量 40% 削減
84 replies
こんにちは 🙂
I just wanted to share my “new” find. As always, I am exploring options about how to increase the speed of SQX for my daily workflow by tuning parameters, garbage collectors, etc. Lately, I´ve learned about GraalVM, which is a relatively new JIT-compiler that has maximum performance as its goal and has been shown sometimes to be up to 30x faster than if executing code in the standard JRE / OpenJDK runtimes that SQX is using right now. Over here is an excellent video about how it works, why it has been made and with some performance tests: https://www.youtube.com/watch?v=GinNxS3OSi0 For example: Twitter is running all their Java stuff on GraalVM instead of JRE / OpenJDK for a while now and have noticed a considerable drop in CPU and RAM usage.
And now the great part: using it with SQX is as easy as downloading the latest Windows binary from here https://github.com/graalvm/graalvm-ce-builds/releases
Simply unpack the ZIP file into the J64 of SQX (previously delete or rename the folder) and just continue working with SQX as you always did. Personally here is what I have experienced since replacing it and of course, using the same settings in SQX as before:
– about a 15% performance increase in strategy generation speed
– approximately a 40% drop in memory consumption (which is AMAZING given that I can now work with less RAM)
– no errors or crashes of SQX just works the same as with JRE / OpenJDK
As this is open-source, I would highly recommend that SQX is being shipped with GraalVM in its default configuration, as this seems to be amazing! There also is an Enterprise Edition available that seems to be even faster, but it´s 193 Euro/year and I haven´t tested it yet.
Have fun crunching strategies 😉
1
Can you advise on these settings also for MacOS Ventura, M1 MAx, 32GB?
0
Hi Guys, GraalVM 22.0 is out and I´ve got another 5% boost through their new compiler optimizations for non-counted loops (compared to 21.3). I am referring to the 22.0 Java 11 based Enterprise Version over at: https://www.graalvm.org/downloads/ Once downloaded, you´ll have to delete these files for it to work correctly: \j64\languages\nfi\builder\svm-none.jar; \j64\languages\nfi\truffle-nfi-none.jar; For best performance I´d recommend to launch SQX via the “StrategyQuantX_nocheck.exe” and previously replace the “StrategyQuantX_nocheck.config” file with the following content: option -XX:-ShrinkHeapInSteps option -XX:+UnlockExperimentalVMOptions option -XX:+EnableJVMCI option -XX:+EagerJVMCI option -XX:-UseJVMCINativeLibrary option -XX:MaxNodeLimit=100000 option -Dgraal.CompilerConfiguration=enterprise option -Dgraal.UsePriorityInlining=true option -Dgraal.Vectorization=true option -Dgraal.OptDuplication=true option -Dgraal.TuneInlinerExploration=1 option -Dgraal.LoopRotation=true
Can you advise on these settings also for MacOS Ventura, M1 MAX, 32GB?
1
The 22.3 work for me as well. No need to delete files. I 追加しました to the original config following:
option -Dgraal.CompilerConfiguration=enterprise
option -Dgraal.UsePriorityInlining=true
option -Dgraal.Vectorization=true
option -Dgraal.OptDuplication=true
option -Dgraal.TuneInlinerExploration=1
option -Dgraal.LoopRotation=true
エキスパートアドバイザーによる自動取引
https://www.rabenesche.de
また、以下の分野でも活動しています:
https://forums.babypips.com/u/ravenash
1
Any reason why only Java 11 (MAC OS, M1) amd64 version works for this (not even aarch64)? Java 17 or 19 does not work. Starting with Graal 23, there is no more Java 11.
0
Hello everyone, is it just like this put in the j64 file?
0
Hello, a lot of time has passed now and I would like to ask again whether anyone is using the faster GrahlVm in the current SQ 4.138?
Is it even compatible with version 4.138? And how much faster is it? Does it make sense to upgrade?
I am using Windows 10.
トーマス
https://monitortool.jimdofree.com/
0
テオ・ゴットヴァルト
1年前 #289000
???????????????? ???????????? ???????????????????????? ???????????????????????????? 142 ???????? ???????????? ???????????? ???????????? ???????????????????????????? ????????????????????????????, ???????????????????????????????????? ???????????? ????64 ???????????????????????? ???????????? ???????? ???????????????????????????? ???????????? ???????????? ???????????????????????? ????????????????????????????????????????????.
???????? ???????????? ???????????????? ???????????????????????????????? ???????? ???????????????????????????????????? ???????????? “???????? ????????????????????” ???????????????????????????????????????????????????? ???????????????? ???????????????? ???????????????? ???????????????????????????????????????????? ????????????????????????????.
???? ???????????????? ???????????? ???????? ???????????????????????????? ????????t ???????????? ???????????????????????? ???????? ???????????? ???????????????? ???????????? ???????????????????? ???????????????? ???????????????? ????????????????????????.
???????????? ???????????? ???????????? ???????? ???????????????????????????? ???????????????????????????? ????????????????????. ???? ????????????’???? ???????????? ???????????????????????????? ???????????????? ???????????????? ???????????????????????????? ???????????? ???????????????????? ???????? ????????????.
???????????????????????? -????????????????????.????????????.????????????????????????????????????????????????????????????????=????????????????
???????????????????????? -????????????????????.????????????.????????????????????????????????????4????????????????????=????????????????
???????????????????????? -????????????????.????????????.????????????????????????????????????????????????????????????????=????????????????
???????????????????????? -????????????90????
???????????????????????? -????????:+????????????????????????????????????????????????????
???????????????????????? -????????:-????????????????????????????????????????????????????????????????????
???????????????????????? -????????:+????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????? -????????:+????????????????????????????????????????????
# ???????????????????????? -????????:+????????????????????????????????????????
???????????????????????? -????????:-????????????????????????????????????????????????????????????????????????????????????
???????????????????????? -????????:????????????????????????????????????????????????=100000
???????????????????????? -????????????????????????.????????????????????????????????????????????????????????????????????????????=????????????????
???????????????????????? -????????????????????????.????????????????????????????????????????????????????=????????????????
???????????????????????? -????????????????????????.????????????????????????????????????????????????????????=????????????????
???????????????????????? -????????????????????????.????????????????????????????????????????????????????????????????????????????????????????=1
???????????????????????? -????????????????????????.????????????????????????????????????????????????=????????????????
#???????????? #???????????????????????????? #???????????????????????????????????????????????????????????????????????????????????????????? #???????????????????????????????????????????????????????????????????????????? #????????????????????????????????????????????????????????????????????????????????????????????
敬具
テオ・ゴットヴァルト
SPRおよびビジュアルオートメーションのトップエキスパート
???? **Q4アップデートの新機能**
1️⃣ Open AI Vision: 最先端の画像認識でSPRを強化。目に見えないものを見る。????????
2️⃣ Open AI TTS: テキストを自然でリアルな音声にシームレスに変換します。違いを聞いてみてください。 ????️????
3️⃣ OpenAIの128kトークンコンテキストウィンドウ搭載GPT-4:AIとの対話で比類なき深みを体験しよう。より深く思考する。????????
4️⃣ OpenAIのDALLE-3:革命的なAIに命令して、息をのむような画像を生成させましょう。想像のその先へ。????️????
5️⃣ ElevenLabs テキスト読み上げ:まるで人間が話しているかのような、リアルな音声合成を体験してください。????️
6️⃣ Automatic1111によるStable Diffusionのローカル&オンライン利用:ローカルとクラウドの両方の画像生成で創造性を解き放ちます。いつでもどこでも作成可能。☁️✨
7️⃣ GPT4All & LM Studio: 強力なオフラインAI機能を活用。あなたのスタジオを、もっと賢く。????️????
8️⃣ DeepL翻訳(SPR統合):リアルタイムで正確な翻訳を実現。世界の言葉を話そう。????????
9️⃣ OpenAIのChatGPT:自然でダイナミックな会話を通じてSPRとエンゲージメントを図りましょう。心からのつながりを築きましょう。 ????️
???? WHISPER by OpenAI: Convert voice to text with effortless precision. Listen, transcribe, act. ????️????
Mistral AI:シームレスな効率性でAI統合をスケール。AIの歩みを次のレベルへ。
AnthropicのClaude 3:次世代のAIの理解力とインタラクティビティを体験してください。人間らしい温かみを持つAIを発見しましょう。
???? **住所:**
ドイツ、デッテンハイム、ヘーレン通り 11
???? **電話:**
オフィス: +49 (7247) 9851112
Mobile: +49 160 6688 222
Fax: +49 (7247) 9851113
???? **メール:**
[[email protected]](mailto:[email protected])
???? **ウェブサイト:**
[IT-Berater](http://www.it-berater.org) | [Smart Package](http://www.smart-package.com)
0
テオ・ゴットヴァルト
1年前 #289001
???????????????????? ???????????????? ????????????????????????, ???????????????? ???????????????????????? ???????????????????? ???????? ???????? ???????????? ???????????? ???????????????? ???????????????????? ???????????????? ???????????? ???????????? ????????????????????????????, ???????????? ???????? ???????????? ???????????? ???????? ????????????
???????????????????????? -????????:+????????????????????????????????????????
???????? ???? ????????????:
???????????????????????? -????????????????????.????????????.????????????????????????????????????????????????????????????????=????????????????
???????????????????????? -????????????????????.????????????.????????????????????????????????????4????????????????????=????????????????
???????????????????????? -????????????????.????????????.????????????????????????????????????????????????????????????????=????????????????
???????????????????????? -????????????90????
???????????????????????? -????????:+????????????????????????????????????????????????????
???????????????????????? -????????:-????????????????????????????????????????????????????????????????????
???????????????????????? -????????:+????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????? -????????:+????????????????????????????????????????????
???????????????????????? -????????:+????????????????????????????????????????
#???????????????????????? -????????:-????????????????????????????????????????????????????????????????????????????????????
???????????????????????? -????????:????????????????????????????????????????????????=100000
#???????????????????????? -????????????????????????.????????????????????????????????????????????????????????????????????????????=????????????????
#???????????????????????? -????????????????????????.????????????????????????????????????????????????????=????????????????
#???????????????????????? -????????????????????????.????????????????????????????????????????????????????????=????????????????
#???????????????????????? -????????????????????????.????????????????????????????????????????????????????????????????????????????????????????=1
#???????????????????????? -????????????????????????.????????????????????????????????????????????????=????????????????
???????????? -????????:+???????????????????????????????????????? ???????????????????????? ???????? ???????????????? ???????? ???????????????????????? ???????????? “????????????????????” ???????????????? ???????????? ???????????? ???????????????? ???????????????????????????? ???????????????????????????? ???????????????????????????????? ???????????????????????????????????? (????????????????????) ???????? ???? ???????????????? ???????????????????????????? ????????????????????????????????????????????. ???????????????? ???????????????????????? ???????????????????????????????????????? ???????????? ???????????? ???????????????? ???????????????????????????? ???????????? ???????????????????????????????? ???????? ???????????? ????????????????????-???????????????????? ????????????????-????????-???????????????? (????????????) ????????????????????????????????, ???????????????? ???????? ????????????????????????????. ????????????????’???? ???????????????? ???????????????? ???????????????????????? ???????????????? ???????????? ???????????? ????????????????????????????????????????????????:
???????????????????????????? ???????? -????????:+????????????????????????????????????????
???????????????????? ????????????????????????????????????????????: ???????? ???????????????????? ????????????????, ???????????????????????????? ???????????? ???????????????????????????????? ???????? ???????????????????????????? ???????????????? ???????? ???????????????? ???????? ???????????????? ???????????? ????????????????????????, ???????????????????????? ???????????????? ???????????????????????????? ???????????? ???????????????? ???????? ???????? ???????????????????????????? ???????????????????????????????? ????????????????????. ???????????????? ???????????? ???????????????????????? ???????????? ????????????????-???????? ???????????????? ???????????? ????????????????????????????????????????????????, ???????? ???????????????????????????? ???????????? ???????????????????????????? ???????????????????????????????? ???????????????? ???????????????? ???????????? ???????????????????? ????????????????????????.
???????????????????????????????????????? ????????????????????????????????????????????: ???????????????????? ???????????????????????????????????????????? ???????????? ???????????????????????????? ???????????????? ???????????????????????????????????????? ???????????????????????????????????????????? ???????????????? ???????????? ????????????????????, ???????? ???????????????????? ???????? ???????? ???????????????????? ???????????? ???????? ????????-???????????????????????? ????????????????????????????????????????????. ???????????????? ???????????? ???????? ???????????????????????????????????????????????? ???????????????????????????????????????? ???????????? ???????????????????????????????????????????????? ???????????????? ???????????????????????????? ???????????????? ???????????????????????????? ???????????????????? ???????? ???????????????????????????????????????? ????????????-???????????????????????????? ????????????????????????????????????????????.
???????????????????????????? ???????????????????????????? ????????????????????????????????: ???????? ???????????????????????????????????? ???????????????????????????? ????????????????????????????, ???????????????????? ???????????????? ???????????? ???????????????????????? ???????????? ???????????????????????????? ???????????????????????????????? ???????????????????????????????????????? ???????????????? ????????-???????????????????????? ????????????????????????????????????????????, ???????????????????????????? ???????? ???????????????????????????????? ????????????????????????????????????.
???????????????? ???????? ???????????? -????????:+????????????????????????????????????????
????????????????????????????????????????????-???????????????????????????????? ????????????????????????????????????????????????: ???????? ???????????????? ???????????????????????????????????????????? ???????????????????????????????? ???????????????????????????????????????? ????????????-???????????????????????????? ???????????????????????????????????????????? ???????????????? ???????????? ????????????????????, ???????????????????????????????? ???????????????????? ???????????????????? ???????????? ???????????????? ???????????????????????????? ???????????????? ???????? ????????????-???????????????????????????????????? ????????????????????????????.
????????????????????-???????????????????? ????????????????????????????????????: ???????????? ???????????????????????????????????????????????? ???????????????? ???????????? ???????????? ???? ???????????????????? ????????????????????????????????, ???????????????????? ???????????????????????????????????????????? ???????????? ???????? ???????????????????????????????????????? ???????? ???????? ???????????????????????????? ???????????? ???????????????? ???????????????????? ???????? ???????????????????????????????????????????????? ???????? ???????????????????????????????????? ???????????????? ???????????????????????? ????????????????????????????????????.
???????????????????????????? ????????????????-???????? ????????????????: ???????? ???????????????? ???????????????????????????????????????????? ???????????? ???? ???????????????????????????????????????????? ????????????????-???????? ???????????????????????? ???????????? ???????? ???????????? ????????????????????????????????????????????, ???????????????????????????????? ???????????????????? ???????????????????? ???????????? ???????????????? ???????????????????????????????? ???????????????? ???????? ???????????????????????????????????? ???????????????????????????? ???????????????????? ???????? ????????????????.
????????????????????????????????????????????????????????
???????????????????????????????????? ???????????????????????????? ????????????????: ???????????????????? ???????????????????????????????????????????? ???????????? ???????????????????????????????? ???????????? ???????????????????????????? ???????????????? ???????? ???????????????? ????????????????????????????????????????????, ???????? ???????????????? ???????????????? ???????? ???????????????????? ???????????????????????????????????? ???????????????????????????? ????????????????????????????. ???????????????? ????????????????????-???????????? ???????????????????????? ???????? ????????????????????????????????????????, ???????????????????????????????????????? ???????????? ???????????????????????????????????????????????? ???????????????????? ???????????????????????????? ???????????????? ???????? ????????????????????????????????.
???????????????????????? ????????????????????: ???????????????????? ???????????????????????????????????????????? ???????????????????? ???????????????? ???????? ???????????????????????????????????? ???????????????????????? ????????????????????, ???????? ???????????????????????????????? ???????????????? ???????? ???????????????????????? ???????? ????????????????????????. ???????????????? ???????????? ???????? ???? ???????????????????????????????????????????????????? ???????? ????????????????????????-???????????????????????????????????????????? ????????????????????????????????????????????????.
????????????????????????????????????????????????????: ???????????????????????? ???????????????? ???????????????? ???????????? ???????????????????????????? ???????????? ???????????? ???????????????????????????????????????? ???????????????????????????????????? (???????????????? ????????????????????????????) ???????????? ???????????????????????????????????????? ???????????????? ???????????? ???????????????????? ???????????????????? ????????????????.
????????????????????????????: ???????? ???????????????? ???????????? ????????????????????????????????????????????-???????????????????????????? ????????????????????????, ????????’???? ???????????????????????????????????? ???????? ???????????????????????????? ???????????????????????????????? ???????????????????????????? ???????? ???????????????????????????????????? ???????????? ???????????????????????? ???????? ???????????????????? ???????????????????? ???????? ???????????????? ???????????????????????????????? ???????????????????????????????????????????? ???????????? ????????????????????????????????.
???????? ????????????????????????????, -????????:+???????????????????????????????????????? ???????????? ???????? ???? ???????????????????????????????? ???????????????????????? ???????????? ???????????????????????????????? ????????????????-???????? ???????????????? ???????????? ???????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????????? ???????? ????????????????????-???????????????????? ????????????????????????????????????????????????. ????????????????????????????, ???????? ???????????????????? ???????????????? ????????????????????-???????????????? ???????? ???????????????????? ???????? ???????????????????????????? ???????????????? ???????????? ???????????????????????? ????????????????????, ???????? ???????? ???????????????????????? ???????? ???????????????? ???????????????????????????????????????????? ???????????????????? ???????? ???????????????? ????????????????????????????????????????????’???? ????????????????????????????????????????????????.
敬具
テオ・ゴットヴァルト
SPRおよびビジュアルオートメーションのトップエキスパート
???? **Q4アップデートの新機能**
1️⃣ Open AI Vision: 最先端の画像認識でSPRを強化。目に見えないものを見る。????????
2️⃣ Open AI TTS: テキストを自然でリアルな音声にシームレスに変換します。違いを聞いてみてください。 ????️????
3️⃣ OpenAIの128kトークンコンテキストウィンドウ搭載GPT-4:AIとの対話で比類なき深みを体験しよう。より深く思考する。????????
4️⃣ OpenAIのDALLE-3:革命的なAIに命令して、息をのむような画像を生成させましょう。想像のその先へ。????️????
5️⃣ ElevenLabs テキスト読み上げ:まるで人間が話しているかのような、リアルな音声合成を体験してください。????️
6️⃣ Automatic1111によるStable Diffusionのローカル&オンライン利用:ローカルとクラウドの両方の画像生成で創造性を解き放ちます。いつでもどこでも作成可能。☁️✨
7️⃣ GPT4All & LM Studio: 強力なオフラインAI機能を活用。あなたのスタジオを、もっと賢く。????️????
8️⃣ DeepL翻訳(SPR統合):リアルタイムで正確な翻訳を実現。世界の言葉を話そう。????????
9️⃣ OpenAIのChatGPT:自然でダイナミックな会話を通じてSPRとエンゲージメントを図りましょう。心からのつながりを築きましょう。 ????️
???? WHISPER by OpenAI: Convert voice to text with effortless precision. Listen, transcribe, act. ????️????
Mistral AI:シームレスな効率性でAI統合をスケール。AIの歩みを次のレベルへ。
AnthropicのClaude 3:次世代のAIの理解力とインタラクティビティを体験してください。人間らしい温かみを持つAIを発見しましょう。
???? **住所:**
ドイツ、デッテンハイム、ヘーレン通り 11
???? **電話:**
オフィス: +49 (7247) 9851112
Mobile: +49 160 6688 222
Fax: +49 (7247) 9851113
???? **メール:**
[[email protected]](mailto:[email protected])
???? **ウェブサイト:**
[IT-Berater](http://www.it-berater.org) | [Smart Package](http://www.smart-package.com)
0