読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

Multiple genetic evolution running at the same time

13件の返信

alexgularte

Subscriber, bbp_participant, community, customer, 7 replies.

プロフィールを表示

11年前 #114007

こんにちは,

 

I’m using SQ to find stocks strategies and I would like to run multiple genetic evolution, one for each stock at the same time, is it possible?

 

For example, let my computer running a genetic evolution for Apple, and another one for Intel, another one for Cisco, and so on.

 

To find the best strategy for each stock independently and at the same time.

 

よろしくお願いいたします

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

11年前 #131663

Yes after you install sq , copy paste the installation folder (duplicate) and run 2 instances of the program . each instance change the data settings , one apple and the second cisco and more instances and more data as your pc can handle .

0

geektrader

顧客、bpb_participant、コミュニティ、503件の回答。.

プロフィールを表示

11年前 #131668

Yes, exactly like this. Personally I run 22 instances on one server with 64GB RAM 🙂


🚀 自動化された外国為替戦略開発であなたの優位性を引き出せます 🚀

1987年から開始された歴史的な外国為替データ。28ペア、M1、99%エラーなし、生涯無料アップデート

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

11年前 #131690

lol geek whats your cpu ? dual xeon **** number ?

0

geektrader

顧客、bpb_participant、コミュニティ、503件の回答。.

プロフィールを表示

11年前 #131692

6-core 4930k @ 4.5GHz. Already 12 instances would load it up fully, but running 22, I don´t have to restart the genetic optimization all few hours as 22 instances keep it busy for 17 hours:)


🚀 自動化された外国為替戦略開発であなたの優位性を引き出せます 🚀

1987年から開始された歴史的な外国為替データ。28ペア、M1、99%エラーなし、生涯無料アップデート

0

tnickel

カスタマー、bbp_participant、コミュニティ、sq-ultimate、494件の返信。.

プロフィールを表示

11年前 #131695

@geektrader,

I have the same 4930K but my cpu has only 3.8 GHZ not more.

 

Question1:

Do you overclock your system and use WaterCooling ?

 

 

If I run more than 2 instances of the SQ at the same machine the SQ´s crashes after a while.

 

Question2:

do some SQ crashes on the system or freezes ?

 

Question3:

What settings do you use to start the SQ?

https://monitortool.jimdofree.com/

0

geektrader

顧客、bpb_participant、コミュニティ、503件の回答。.

プロフィールを表示

11年前 #131703

こんにちは 🙂

 

1) Yes I do overclock it to 4.5Ghz and use air-cooling with a fat 1200g CPU cooler on it. Temperatures are absolutely fine below 80°C (TJ Max of that CPU is 95°C).

 

2) No, not even the 22 SQ instances crash here, not any of them ever did. You do copy them to different folders, right? And you do have enough HD space and RAM too? Otherwise it won´t work. I´ve created a batch file to automate this.

 

3) Launch-line is “StrategyQuant64.exe -J-server -J-Xmx2600m -J-XX:+DisableExplicitGC -J-XX:+AggressiveOpts”  I have 64GB of RAM, hence 22 x 2,6GB = 57,2GB max RAM usage of all instances. You always have to take care so that all instances will never take more RAM than you have in total of course. I ONLY use these 22 instances to run genetic optimization on 14 years of M30 data in tick simulation mode. For that, 2,6GB per instance are enough. For strategy generating on M30 14 years of data, SQ needs at least 5000MB RAM per instance when set to use just 1 CPU core in the settings dialog – otherwise RAM usage goes up heavy per instance if you set it to more cores. So in this case I am only using 12 instances (which maxes out the CPU too as the 4930k has 6 cores + 6 HT) and if each instance uses the full 5GB, my total RAM usage is at 60GB. However, 12 instances on that CPU are the only way to leave no resources unused since SQ, at least when generating strategies, barely uses more than 1,5 cores on average even when it´s set to use 12 cores. So I am simply launching those 12 instances, all set to use only 1 CPU core, and can max out the computer fully during strategy generation too instead of wasting my time because SQ is so ineffective with multi-threading when generating strategies. I seriously hope that gets a lot more efficient in SQ 4…

 

How I figured out these values? All by trial and error… for example for generating stratiges on M15, RAM usage will be different. So you have to experiment….

 

Good luck to you:)


🚀 自動化された外国為替戦略開発であなたの優位性を引き出せます 🚀

1987年から開始された歴史的な外国為替データ。28ペア、M1、99%エラーなし、生涯無料アップデート

0

しきい値

カスタマー、bbp_participant、コミュニティ、722件の返信。.

プロフィールを表示

11年前 #131707

I never have had an SQ crash, not on my old AMD custom build, or on my new dell poweredge using intel xeons. I been running 4 simultaneous instances of SQ on the poweredge for the last week with around 20million+ random gens, no problems.
I have another PowerEdge now and I plan to do the same thing. Each has 8 threads, ~ 3.5GHZ, 32GB ram. Running zulu performance mod.

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

11年前 #131708

Geektrader nice setup and everything you explained regarding cpu and HT is perfectly correct . 

 

tnickel If the application crushes with 2 instances , These are the following things that you must think off  .

Illiminate each point by point until u fix the error . or let a pro check it to know .. 

 

1- Check your windows version and reset your windows to factory reset ( CLEAN WINDOWS )  … This is the first thing that you can easily do as elimination

2- After a clean installation open “Task manager and keep it open check cpu usage when idle , ram usage and disk usage ” just idle

3- Begin to load first instance and check the consumption ( and paste here what you see ) 

 

If these 3 failed i would suggest strongly to check the RAM as hardware , they might cause problems specially with financial application and pure math , Thats why companies used to go for xeon motherboards as it support ECC rams that dont do mistakes with calculation and so on . But i think intel i7 with normal rams and motherboard are pretty ok . 

Motherboard can affect the ram too . but u ll go for checking the ram first .

 

I Beleive Geektrader have a nice Motherboard probably a X99 deluxe or a rampage which is helping him with stability . 

0

tnickel

カスタマー、bbp_participant、コミュニティ、sq-ultimate、494件の返信。.

プロフィールを表示

11年前 #131712

hi gentmat,

this happens on more then two instances.

If I start only two instances all works fine.

 

The crash happens on different machines.

AMD Bulldozer(16GB), I7-4790(32GB), I7-3930(64GB), I7-3770(32GB)

 

I think this is not a hardware defect

I will do a ram stresstest and look.

 

The cooling of the CPU is good, I checked this.

 

I thing there is a bug in the SQ 3.8.1. The SQ has a memory leak and the memory leak causes the freeze.

 

I will check this settings

“StrategyQuant64.exe -J-server -J-Xmx2600m -J-XX:+DisableExplicitGC -J-XX:+AggressiveOpts”

 

Hm… it is possible that XEON is more stable ?

 

トーマス

https://monitortool.jimdofree.com/

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

11年前 #131713

Then its not hardware .
1- Change orancle java to Zulu , replace j64 with zulu (delete inside folder and replace with zulu , it barely leaks).
2- Put windown 2008 or 2012 .
3- Xeon is not the thing affect stability what i told u is the motherboards used for xeons accept ECC rams , thats why companies used xeons even for little financial apps. but after 2014 cpu architecture changed now u can have normal motherboard for i7 that accept such rams (lower freq than gamining consumer rams but more stable ) Btw thats not my opinion thats a fact.
4- go to options and manually choose the thread number of each instance so if u have 8 cores , 16 threads and u have 2 opened instances then assign 4 threads for each instance .

0

geektrader

顧客、bpb_participant、コミュニティ、503件の回答。.

プロフィールを表示

11年前 #131715

Strange, at least I can tell you that I don´t have any crashes nor memory leaks in 3.8.1. I´ve just finished another run of 22 instances on machine #1 and 7 instances on machine #2, all good.


🚀 自動化された外国為替戦略開発であなたの優位性を引き出せます 🚀

1987年から開始された歴史的な外国為替データ。28ペア、M1、99%エラーなし、生涯無料アップデート

0

tnickel

カスタマー、bbp_participant、コミュニティ、sq-ultimate、494件の返信。.

プロフィールを表示

11年前 #131788

こんにちは、geektraderさん。,

22 * 8 threads = 176 Thread on machine #1

そして

7*8 threads=56 threads on machine #2

 

または

 

22*1=22 threads on machine #1

and 7 threads on machine #1

 

???

 

 

With zulu or oracle java ?

 

トーマス

https://monitortool.jimdofree.com/

0

geektrader

顧客、bpb_participant、コミュニティ、503件の回答。.

プロフィールを表示

11年前 #131803

Actually 22 x 12 threads on machine #1 and 7 x 8 on machine #2, yes. Using Zulu.


🚀 自動化された外国為替戦略開発であなたの優位性を引き出せます 🚀

1987年から開始された歴史的な外国為替データ。28ペア、M1、99%エラーなし、生涯無料アップデート

0

13件の返信を表示中 - 1 - 13件目 (全13件中)