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
default setting cpu …liquid cooler
0
Still, temperatures are OK if using GraalVM? Did you monitor, especially your CPU clock under full load?
0
i have a 3700X and i will also test and record the hardware and software performance
maybe it would be a good idea for some of you to create a configuration file and run for one or 2 days to make sure we measure the same thing, of course this will take a few days to run the same configuration file on 2 different types of software and record the results
ティミショアラ、ルーマニア
3900X 3.8GHz 12コア、64GB DDR4 RAM 3000MHz、サムスン 970 EVO Plus M.2 NVMe
0
Excellent contribution as always Greektrader.
0
This is a free performance upgrade
Before

After

Time per strategy.. 7ms faster which means I’m getting 27% increase in performance.. AMAZING!
0
I have made a few superficial tests on the 3700X
with the naked eye, the improvements are a bit less than 10%, barely visible
i speculate that the improvements could be proportional with the power of the processor
in any case, many thanks to geektrader for his valuable contribution
ティミショアラ、ルーマニア
3900X 3.8GHz 12コア、64GB DDR4 RAM 3000MHz、サムスン 970 EVO Plus M.2 NVMe
0
for me the improvement is only with Eneterprise version
利益を上げるアルゴトレーダーになりたいですか?私たちは2014年序盤からStrateQuantソフトウェアを使い始めました。現在では、あらゆるタイプの市場に対応するEA構築に関する膨大なノウハウを持っています。私たちはこのノウハウ、アプリ、ツール、そしてすべての最終的な戦略をリアル・トレーダーの皆様と共有しています。参加したい方は、以下にご記入ください フォーム.
0
Memory usage is about half for me regardless if normal or enterprise edition, compared to OpenJDK, JRE, etc.
0
+15% for me Thank you, slight Temp increase (0.5) on CPU but is expected.
0
introducing new java compiler will lead to new unforeseen bugs and glitches in SQ
are you sure it is a good idea?
0
There will be no new bugs nor glitches if switching your JRE, as they are all 100% compatible.
0
By the way, make sure to use the latest GraalVM Enterprise Edition (just need to register a free account with Oracle), it´s been updated numerous times this year already. Download is here: https://www.oracle.com/downloads/graalvm-downloads.html
Make sure to select the “Current Release” at the upper tab, then select J”ava Version” to 11 and select the latest “Release Version”.
Have fun 🙂
0
クローネックス / イヴァン・フーデツ
6年前 #260319
<p style="”text-align:" left;”>gentleman’s we need new threadrippers with 128 threads???
3800 eur. anyway happy to see this AMD resurrection!!!!
0
i tried newest Enterprise v. graalvm-ee-java11-windows-amd64-20.1.1
with no luck – SQX129 will not run with it
so i am using this version graalvm-ee-java11-windows-amd64-20.0.0
利益を上げるアルゴトレーダーになりたいですか?私たちは2014年序盤からStrateQuantソフトウェアを使い始めました。現在では、あらゆるタイプの市場に対応するEA構築に関する膨大なノウハウを持っています。私たちはこのノウハウ、アプリ、ツール、そしてすべての最終的な戦略をリアル・トレーダーの皆様と共有しています。参加したい方は、以下にご記入ください フォーム.
0
I am running SQX129 with 20.1.1, no issues here. Whats the error you are getting?
0