<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — 100% Speed Boost for Express Generator]]></title>
		<link>https://forexsb.com/forum/topic/9258/100-speed-boost-for-express-generator/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9258/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 100% Speed Boost for Express Generator.]]></description>
		<lastBuildDate>Mon, 24 Oct 2022 16:07:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71824/#p71824</link>
			<description><![CDATA[<p>Pure speed insanity! Mr. Popov´s excellent work, combined with GraalVM´s Enterprise Javascript engine is a quant´s heaven.</p><p><a href="https://ibb.co/JxR0yvC"><span class="postimg"><img src="https://i.ibb.co/tZMkxq3/Untitled.png" alt="https://i.ibb.co/tZMkxq3/Untitled.png" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Mon, 24 Oct 2022 16:07:48 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71824/#p71824</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71742/#p71742</link>
			<description><![CDATA[<p>20 minutes in, GraalVM is 55% ahead now already.</p><p><a href="https://ibb.co/GPj2Nkg"><span class="postimg"><img src="https://i.ibb.co/HgQz3Ym/Untitled.png" alt="https://i.ibb.co/HgQz3Ym/Untitled.png" /></span></a></p><p>And on top of that, GraalVM uses half the RAM that both NodeJS instances use, as well as only 60% of the CPU (3% vs 5%) that NodeJS uses, which is crazy given that it is already 55% ahead of the both NodeJS instances too.</p><p><a href="https://ibb.co/VVYT3mD"><span class="postimg"><img src="https://i.ibb.co/tBpD3Xc/Untitled.png" alt="https://i.ibb.co/tBpD3Xc/Untitled.png" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Fri, 21 Oct 2022 05:24:19 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71742/#p71742</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71740/#p71740</link>
			<description><![CDATA[<p>The exact download link that I am using is <a href="https://download.oracle.com/otn/utilities_drivers/oracle-labs/graalvm-ee-java17-windows-amd64-22.3.0.zip">https://download.oracle.com/otn/utiliti … 22.3.0.zip</a> You´ll still need a free Oracle account to get it. Afterward, you need to run the command mentioned in post #1 to install the Javascript Engine within it.</p><p>I can´t speak for Mac or any other platform, I am on Windows Server 2022 only, AMD Ryzen 5950X CPU, 128GB DDR4-3800 RAM. These are my results, just retested and even with different NodeJS versions the GraalVM Javascript Engine smokes them all, even just 6 minutes in it&#039;s ahead almost 50% already, which extends to 100%+ the longer they run aside, at least on my config.</p><p><a href="https://ibb.co/VDv2SKq"><span class="postimg"><img src="https://i.ibb.co/HYrnzJH/Untitled.png" alt="https://i.ibb.co/HYrnzJH/Untitled.png" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Fri, 21 Oct 2022 05:16:54 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71740/#p71740</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71737/#p71737</link>
			<description><![CDATA[<p>I used the first one in the list and ran the install on both Mac and (virtual) PC.</p><p>I ran a side-by-side test of node and graalvm-node but I got different results...the enterprise graalvm was a lot slower for me (on my mac).&nbsp; And it was terrible in Parallels (not surprised by that though)</p><div class="quotebox"><cite>Roughey wrote:</cite><blockquote><p>which of the enterprise edition did i have to download..the first in the list? This Oracle GraalVM Enterprise Edition JDK or Oracle GraalVM Enterprise Edition JavaScript Runtime Plugin or Oracle GraalVM Enterprise Edition Node.js Runtime Plugin</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (timelleston)]]></author>
			<pubDate>Fri, 21 Oct 2022 04:13:57 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71737/#p71737</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71731/#p71731</link>
			<description><![CDATA[<p>which of the enterprise edition did i have to download..the first in the list? This Oracle GraalVM Enterprise Edition JDK or Oracle GraalVM Enterprise Edition JavaScript Runtime Plugin or Oracle GraalVM Enterprise Edition Node.js Runtime Plugin</p>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Thu, 20 Oct 2022 17:45:20 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71731/#p71731</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71729/#p71729</link>
			<description><![CDATA[<div class="quotebox"><cite>Roughey wrote:</cite><blockquote><p>hmm i dont know why but with graal vm its is slower for me..node is 4x faster as graal</p></blockquote></div><p>That would be nice, wouldn´t it? But the possible combinations with all indicators and all SL / TP values is a number with almost endless 0´s still, so that´s impossible even with 72 million strategies per day.</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Thu, 20 Oct 2022 16:15:16 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71729/#p71729</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71728/#p71728</link>
			<description><![CDATA[<p>Just delete it´s folder or just install the EE in another folder. They can exist in parallel. Just make sure to call the right node.exe (the one of the EE, once you´ve installed the Javascript Engine via &quot;gu install nodejs&quot; as per my first post).</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Thu, 20 Oct 2022 16:13:41 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71728/#p71728</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71727/#p71727</link>
			<description><![CDATA[<div class="quotebox"><cite>geektrader wrote:</cite><blockquote><p>Have you downloaded the Enterprise Edition of GraalVM? The Community Edition is much slower.</p><p>Possibly an older CPU with no AVX2 support? GraalVM makes heavy use of AVX2 compared to Node JS, if your CPU does not support that instruction set, it could be a lot slower indeed.</p><p>Also, make sure to really launch the GraalVM Javascript engine, as Node JS being in your path might prevent it. It´s best to use the full path to the node.exe of GraalVM, it resides in &lt;GraalVM Root&gt;\languages\nodejs\bin\node.exe.</p><p>Additionally, try to launch it with these parameters, which gave me another little speed boost as well (adjust your path to node.exe and your settings.ini from EG):<br /></p><div class="codebox"><pre><code>C:\PortablePrograms\Java\languages\nodejs\bin\node.exe ^
--native ^
--vm.XX:+DisableExplicitGC ^
--vm.Dgraal.Vectorization=true ^
--vm.Dgraal.ConsiderVectorizableLoops=true ^
--engine.InliningRecursionDepth=10000 ^
--engine.Mode=throughput ^
--experimental-options ^
.\bin\gen.js --settings .\lori-settings.ini</code></pre></div><p>Also, make sure to let it run about 30 minutes, GraalVM is slower than Node JS in the first few minutes, but then catches up and surpasses Node JS, because the JIT compiler starts profiling, compiling, inlining code to binary code, which Node JS will never do.</p><p>If it still is slower, try to record a video when you compare both and upload it, then we can try to find out what the reason might be.</p></blockquote></div><br /><p>ahh looks like i have the community edition...how can i deinstall it now?</p>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Thu, 20 Oct 2022 16:09:34 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71727/#p71727</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71726/#p71726</link>
			<description><![CDATA[<p>Have you downloaded the Enterprise Edition of GraalVM? The Community Edition is much slower.</p><p>Possibly an older CPU with no AVX2 support? GraalVM makes heavy use of AVX2 compared to Node JS, if your CPU does not support that instruction set, it could be a lot slower indeed.</p><p>Also, make sure to really launch the GraalVM Javascript engine, as Node JS being in your path might prevent it. It´s best to use the full path to the node.exe of GraalVM, it resides in &lt;GraalVM Root&gt;\languages\nodejs\bin\node.exe.</p><p>Additionally, try to launch it with these parameters, which gave me another little speed boost as well (adjust your path to node.exe and your settings.ini from EG):<br /></p><div class="codebox"><pre><code>C:\PortablePrograms\Java\languages\nodejs\bin\node.exe ^
--native ^
--vm.XX:+DisableExplicitGC ^
--vm.Dgraal.Vectorization=true ^
--vm.Dgraal.ConsiderVectorizableLoops=true ^
--engine.InliningRecursionDepth=10000 ^
--engine.Mode=throughput ^
--experimental-options ^
.\bin\gen.js --settings .\lori-settings.ini</code></pre></div><p>Also, make sure to let it run about 30 minutes, GraalVM is slower than Node JS in the first few minutes, but then catches up and surpasses Node JS, because the JIT compiler starts profiling, compiling, inlining code to binary code, which Node JS will never do.</p><p>If it still is slower, try to record a video when you compare both and upload it, then we can try to find out what the reason might be.</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Thu, 20 Oct 2022 16:05:32 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71726/#p71726</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71723/#p71723</link>
			<description><![CDATA[<p>hmm i dont know why but with graal vm its is slower for me..node is 4x faster as graal</p>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Thu, 20 Oct 2022 15:24:07 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71723/#p71723</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71710/#p71710</link>
			<description><![CDATA[<p>Do you think a door for brute-force approach is open now? Given the speed and the number of strats generated, it seems that random generation is wasting resources, would brute-force be quicker to the results?</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Thu, 20 Oct 2022 09:14:13 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71710/#p71710</guid>
		</item>
		<item>
			<title><![CDATA[Re: 100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71679/#p71679</link>
			<description><![CDATA[<p>A little update: I´ve been running the above setup for the last 8 hours on 31 years of GBPJPY H1 data (189000 bars) on a Ryzen 5950x (PBO activated and slightly overclocked). Running 32 instances to max out the CPU fully, each instance has generated 700000 strategies, which equals 22.4 million strategies in just 8 hours, which will result in 67 million strategies per day and is more than double than running Express Generator on Node JS, as the GraalVM JS engine keeps on optimizing the code during runtime, which speeds it up further and further the longer it runs.</p><p>Accepted strategies per instance are currently 10, with a min R-Squared of 96(!), a min return/drawdown of 10, and a max stagnation of 900 days. This means 320 potential high-end strategies in just 8 hours. This is just insanity if compared to just running it on Node JS, not to talk about other platforms where just a few thousand strategies per hour are normal if maxing out all my cores. A paradise for the quant has become reality...</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Wed, 19 Oct 2022 14:20:51 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71679/#p71679</guid>
		</item>
		<item>
			<title><![CDATA[100% Speed Boost for Express Generator]]></title>
			<link>https://forexsb.com/forum/post/71665/#p71665</link>
			<description><![CDATA[<p>Hi,</p><p>so I spent the evening testing Express Generator on different JavaScript Runtimes. The default one that Popov uses is NodeJS from <a href="https://nodejs.org/en/download/">https://nodejs.org/en/download/</a>. However, there are several more runtimes like Deno, Bun, and GraalVM Enterprise JS. Unfortunately, I couldn´t get Express Generator to run on either Deno or Bun, because they are not fully compatible with the node.js modules and NPM that Mr. Popov uses.</p><p>However, GraalVM Enterprise JS is praised to be 100% compatible with Node JS and since I´ve been using the Java runtime part of it with all the advanced compiler optimizations for many years already - always gaining about 15% in each and every Java application, I thought it´s time to also look into their Javascript Node JS compatible engine, which also uses all the optimizations, and see what it does for Express Generator.</p><p>The result is an almost 100% speed boost for Express Generator if running the exact same settings side-by-side between Node JS and the GraalVM Node JS implementation. Have a look at this video:</p><p><div class="fancy_video_tag_player"><iframe class="youtube-player" type="text/html" width="640" height="385" src="https://www.youtube.com/embed/gHPX8fbraVM" frameborder="0" allowfullscreen></iframe></div></p><p>Here is how you can get this too:</p><p>1) Go to <a href="https://www.graalvm.org/downloads/">https://www.graalvm.org/downloads/</a></p><br /><p>2) Grab the latest GraalVM Enterprise Edition (faster than the community edition, so make sure you use this one) and make sure to select the Java 17 version (their Java 19 is bugged and has an issue at the moment).<br /><span class="bbu">Note: in order to download the Enterprise Edition, you need to create a *free* account with Oracle. It will prompt you for your login credentials when you are trying to download, so just create a new account there, then try the download again.</span></p><p>3) Uncompress the ZIP file to a directory of your choice, go to the /bin subfolder, open a command prompt and run<br /></p><div class="codebox"><pre><code>gu install nodejs</code></pre></div><p>4) Afterward you will have a new node.cmd in the /bin directory, which you can use to run Express Generator the usual way. Just make sure that your original Node JS runtime is not on your system-wide %PATH% variable because otherwise, Windows will always first execute the node.exe and ignore the node.cmd. It´s best if you simply specify the full path to the node.cmd. So, for example:</p><div class="codebox"><pre><code>C:\PortablePrograms\Java\bin\node.cmd .\bin\gen.js --settings .\my-settings.ini</code></pre></div><p>5) Enjoy the 100% speed boost :-)</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Wed, 19 Oct 2022 02:03:59 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/71665/#p71665</guid>
		</item>
	</channel>
</rss>
