Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Aquarium / Configuring Windows 10 i7 for Aquarium - CPU Usage
- - By Chestman (*) [us] Date 2017-10-01 19:07
Just got a new computer. Runs Windows 10. Your basic Dell i7.

I'm trying to get the maximum processor use, but it seems like Aquarium isn't using more than 10-15% of the CPU.

I have Advanced Power Management set up to 100% all the way.Not sure what else I can do. Any suggestions? Thanks.
Parent - - By pawnslinger (****) [us] Date 2017-10-01 22:57
Aquarium actually uses very little processor power.  Most of the processor power is consumed by the engines.  You can either run more engines, or have the engine run more threads.  On my system the engines routinely use about 75% of available cpu power.

Only about 10-15% for Aquarium...

I used to run an i7 and now run a Ryzen 1700x, but the percentages are about the same in either case.  I don't max out the cpu, so that there is some computer power left over for browsing the internet, etc.
Parent - - By Chestman (*) [us] Date 2017-10-02 01:41
I understand.

However, then this is strange. Aquarium is definitely running. It shows up as Aquarium.exe in Task Manager, and when doing the drop down it shows up as "Houdini Aquarium."

But the CPU utilization shows as 16%, the amount next to Aquarium is showing as .1%, but I can't find any thread showing an engine calculation! What gives?
Parent - - By pawnslinger (****) [us] Date 2017-10-02 07:53
In older versions of Windows, the task manager would break out entries for the engines.  But I lost that when I upgraded from Vista to Windows 10.  I don't know why Microsoft dropped it.  Anyhow, you must look to the engines and how you have them setup.  How many do you have running?  How many threads do you have set for each?  If you are running multiples of the same engine, you may need to setup a separate folder for each copy.  For example, I have 8 folders for Stockfish, numbered 1 thru 8 or course.  I found when Windows 10 was setup like I did in Vista, 1 folder per engine, Windows 10 would only load 1 copy of the engine, no matter how many I asked Aquarium to load.  No biggie, just a lot of typing to setup each one.

If you need more detailed help, I need a more detailed description of your setup and what you are trying to perform.
Parent - - By Chestman (*) [us] Date 2017-10-02 09:47

I have only Stockfish loaded, and I have not changed the defaults much. I have 16GB RAM, and I allocated 1012 for Hash (I am running IDEA only, for days at a time--should I change this?) I have Priority normal, and MultiPV to 1, and threads set to 1.

I hear what you are saying about Windows 10 not disclosing the engines, but even so, in the aggregate, should I not be seeing a large usage of CPU in Task Manager, no matter what is individually shown? I am seeing only about 15% CPU in total. And actually, the Apps shown do not add up to that percentage. In fact, the Apps shown only add up to less than 1%. So clearly the 15% is going to the engines (since I have little else running), even though the engines are hidden.

But I would like those "hidden" engines to draw closer to 100%, not 15%.
Parent - - By nebulus (****) [no] Date 2017-10-02 10:01

> I am running IDEA only

Go to Home-IDeA tab, click on Engines button and check Count number. You may want to increase it if it says 1.
Parent - - By pawnslinger (****) [us] Date 2017-10-02 17:39
I have never tried this... it might be a simpler way of doing what I have done.  But I was never accused of doing it the easy simple way <grin>.
Parent - - By pawnslinger (****) [us] Date 2017-10-02 17:58
Okay, I feel silly now.  I just tried this and it works great!  I went in and upped the count on 1 engine and removed the other copies, and voila!  Multiple copies of the engine are automatically created... like I said, I never was accused of doing things the easy way.  Thanks for the tip!
Parent - By pawnslinger (****) [us] Date 2017-10-03 06:51
While increasing the "Count" worked initially for me... I just had a crash of Aquarium after changing the "Count"... I was trying to decrease it from 12 to 5, so that I could have some processor available for another project in a different Aquarium run.  It locked up tight... never had that happen with my longer drawn out method... so I think I will stick with the tried and true, even if a bit more difficult to setup.
Parent - - By pawnslinger (****) [us] Date 2017-10-02 17:18
Priority and MultiPV should be left at default.  I cannot think of any reason to change them.  However, threads set to 1 is a possible problem.  And most likely the reason you are seeing such a low processor usage level.  Try increasing the thread count to 2, 3, etc and notice what happens to the processor load.  You can set it to whatever fits your needs.

However, generally, that is not how I run my system.  I have all the values you mention set to default, but have several copies of Stockfish running simultaneously.  For example right now, I have 3 copies of Aquarium IDeA running in the background, each with multiple copies of Stockfish running... in all a total of 12 copies of Stockfish are running at this time whilst I write this.  Each copy I run adds approximately 7.5% to my processor load (I am running an 8 core/16 thread processor).  Your mileage may vary depending on your setup.

I just stopped 2 or my Aquarium runs... just one left going, and I added all the Stockfish engines to it, so 12 engines are analyzing this one project.  I will try and load some screen shots for you.
Parent - By pawnslinger (****) [us] Date 2017-10-02 17:25 Edited 2017-10-02 17:35
Here you can see my engine setup.  There are 12 individual copies of Stockfish loaded.  Each from their own separate folder, as I explained before.  Each running with default parameters.  Single threaded.  Windows says I am using approximately 80% of my processor power.
Parent - By pawnslinger (****) [us] Date 2017-10-02 17:31
Notice I have changed the heading at the top of the Aquarium window to tell me which copy of Aquarium this is... "Aquarium A (D_E)".  This tells me it is copy "A", programs on drive D: and data on drive E:.  I have spread out my programs and data over several of my drives for the sake of I/O efficiency.  I changed the window headings in each copy of Aquarium to help me keep it straight.
Parent - - By Chestman (*) [us] Date 2017-10-03 00:35 Edited 2017-10-03 01:10
Thanks. I tried increasing the count of Stockfish, and as you said, I get more instances of Stockfish, but the node count in Aquarium itself remains at around 1450 or so.

If the Kn/s is remaining the same, where is all the extra CPU horsepower going? Shouldnt it be increasing the count?

Further Note: Ok, now I got it. I now have a bunch of instances of it, so each instance has the same speed, but I have more of them,
Parent - By pawnslinger (****) [us] Date 2017-10-03 06:34
On my system, with Stockfish running single thread, each copy of Stockfish I load increases the cpu load in task manager by 7-8 percent.  And they generally run, each of them, around 1000 Kn/s.  So if I have 12 copies of Stockfish running that would be 12000 Kn/s on average, or approximately anyhow.  Depending on the position, Stockfish can run faster or slower.  But the node count in Aquarium accumulates much slower.  If you look at my screen shot above, you can see the counts per session and per project... and the accumulated cpu time that it took to reach those totals.  So nodes in the IDeA tree accumulate much more slowly... but IDeA allows you to control this too... each step, node, is evaluated to the depth you setup in the project definition.  Generally I use a depth of 22-24 for each node, with a maximum time spent per node of 300 seconds.
Parent - - By CumnorChessClub (***) [gb] Date 2017-10-02 17:41
windows 10 open taskmanager click Performance tab and at bottom click "open resource monitior", on resource monitor click cpu tab and engines should show there under processes.
Parent - - By pawnslinger (****) [us] Date 2017-10-02 17:55
Yes!  Thank you.  I see them now.  They really hid a lot of things in Windows 10 that were easier to find in Vista.  I know... nobody liked Vista.  But me, I guess.

Anyways... thanks for the tip... I found them!
Parent - - By Chestman (*) [us] Date 2017-10-03 00:30 Edited 2017-10-03 01:11
Thank you all!

This is enormously helpful.

Should I change the amount of RAM allocated to Stockfish?
Parent - - By pawnslinger (****) [us] Date 2017-10-03 06:21
For IDeA, I use 32mb cache.  I don't know if that is the default or not... I change things A LOT.  But as a general rule, the cache size is not extremely important for IDeA.  For infinite analysis, either in IDeA or Sandbox, I use a considerably larger amount of cache, usually 2gb at least.

My system has 16gb total ram, so I do have to be careful with IDeA, when I first started with this computer, I used 1gb for engine cache in IDeA... and memory got pretty tight quickly.  If you have more system memory, then by all means use more cache in IDeA.  It is a balancing act, to make sure that your system resources are effectively used.  No sense leaving a lot of ram unused for anything... but you have to have some left for other tasks... like internet browsing, etc.  If you run out of ram, everything will start to run pretty slow, as Windows uses virtual memory to make up the deficit.
Parent - - By Chestman (*) [us] Date 2017-10-03 09:01
Is Stockfish still the strongest engine? For my purposes, I'm running IDEA on positions with 30 seconds a think.
Parent - By pawnslinger (****) [us] Date 2017-10-03 14:36 Edited 2017-10-04 16:45
There is a new version of Houdini that they say is the strongest... but it costs $$$ and I haven't seen any actual tournament results yet.  So I am taking a wait and see approach.  Komodo is very strong too, but not sure if it is stronger than Stockfish... also it costs $$$, so I am happy to stick with Stockfish for now.

I don't use a fixed amount of time per position... I usually used a fixed depth, anywhere between 22 on up, with a maximum of 300 seconds.  This gives a more even analysis.  As the games progress I change to deeper settings, and usually end up around 30 or so in the end game.  Even with the advent of end game tablebases, I find them quite a challenge... and many strong players don't give up, even in lost positions... you have to prove it to win it against the strongest players.

My ICCF rating hovers around 2370-2380 lately, and I just earned my CCE title.  I hope to clinch the CCM title sometime in the next 6 months.  As I move onto stronger events (just recently started a semi-final of the World CC Championship) it is becoming easier to see how to earn a title.  But of course, as I go along, the opponents are tougher.  The tougher they are, the more draws there are, so it becomes very important to not lose games that you should win.... nor lose games that you should draw.  Blunders are quite punishing against strong players.
Up Topic Rybka Support & Discussion / Aquarium / Configuring Windows 10 i7 for Aquarium - CPU Usage

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill