Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Rybka Support / Ram usage is less than the specified hash
- - By dragon49 (****) [us] Date 2010-06-01 02:37
I am running a gauntlet (Fritz 12 - Large Pages Off) using Deep Rybka 4 SSE42 x64.exe.  I had Fritz "unify has to 256 meg.  In task manager, Why does each of the 4 rybka processes show only a little more than 20k or ram?
Parent - - By Uly (Gold) [mx] Date 2010-06-01 04:44
Don't know, at least one of the processes should show the right RAM usage.
Parent - - By yanquis1972 (****) [us] Date 2010-06-01 05:36
by "right" you mean the typical rybka lowball # correct?

eg right now im running rybka 4 i-cpu 1 gig hash & it shows 32MB ram being used is the task manager; i've always assumed this is typical weird rybka-only behavior?
Parent - - By Uly (Gold) [mx] Date 2010-06-01 06:14
No, if you give 1GB at least one process should show 1GB usage, the rest would show a 4MB usage.
Parent - - By yanquis1972 (****) [us] Date 2010-06-01 06:17
i've never had this from rybka 3 or 4 under any GUI. was this an r3 bug that was supposed to be fixed in r4? if so my gal didnt get the memo. i do believe  the #s vary but its usually consistent b/w the processes & always below 100MB.
Parent - - By Uly (Gold) [mx] Date 2010-06-01 06:43
Rybka 3 didn't have this "bug", she showed correct memory usage in all process. R4 shouldn't do what you're reporting.
Parent - - By yanquis1972 (****) [us] Date 2010-06-01 06:49
that's bizarre the say the least.

log below looks normal to me yet with rybka running on 4 cores she shows 18.9MB RAM being used on 3 in the task manager, and one @ 19.3MB. surely someone else has seen this behavior in R3/4.

        Windows 7 x64
                Process priority: NORMAL_PRIORITY_CLASS
          
                Hash size set to 2048 mb
                Nalimov path set to C:\TB
                Nalimov cache set to 131072
               Large pages not used - user choice.
          
      -->> setoption name Use Large Pages value true
                Use large pages enabled.
                  -- shared synchronization file: RybkaSync12428
                  -- shared exchange file: RybkaEx22428
   1       Using large pages, size = 2147483648
                Using large pages, size = 2147483648
                  starting child
                  -- hash size: 2048
                  -- shared file number: 2
                  -- number of processes: 4
                  -- parent id: 2428
                  -- overridden parent id: 2428
                  -- child number: 3
                  -- full command line: "C:\Program Files (x86)\Common Files\ChessBase\Engines.uci\Rybka 4\Deep Rybka 4 x64.exe" 2428 4 2048 2 4 3 2428
                  starting child
                  -- hash size: 2048
                  -- shared file number: 2
                  -- number of processes: 4
                  -- parent id: 2428
                  -- overridden parent id: 2428
                  -- child number: 2
                  -- full command line: "C:\Program Files (x86)\Common Files\ChessBase\Engines.uci\Rybka 4\Deep Rybka 4 x64.exe" 2428 4 2048 2 4 2 2428
                  starting child
                  -- hash size: 2048
                  -- shared file number: 2
                  -- number of processes: 4
                  -- parent id: 2428
                  -- overridden parent id: 2428
                  -- child number: 1
                  -- full command line: "C:\Program Files (x86)\Common Files\ChessBase\Engines.uci\Rybka 4\Deep Rybka 4 x64.exe" 2428 4 2048 2 4 1 2428
                Children restarted.
      -->> setoption name Always Score Main Move value true
                Always score main move enabled.
      -->> setoption name Rook Endgame Scaling value 60
                Rook endgame scaling set to 60 percent.
      -->> isready
           !!!! readyok
      -->> position startpos
Parent - - By Uly (Gold) [mx] Date 2010-06-01 06:52
Maybe the behavior is different in Windows 7, does Task manager have a "working set" of memory usage or something similar?
Parent - - By yanquis1972 (****) [us] Date 2010-06-01 06:54
now that i expand the memory title int he TM it does say "private working set" in parentheses; does that explain it?
Parent - - By Uly (Gold) [mx] Date 2010-06-01 06:55
If the working set shows the correct RAM usage, yes.
Parent - - By yanquis1972 (****) [us] Date 2010-06-01 06:57
nope, that's the one showing all processes under 20MB.
Parent - - By Uly (Gold) [mx] Date 2010-06-01 07:01
See Dadi's reply, apparently you have Large Pages enabled, your behavior is then normal.
Parent - By Athinira (**) [dk] Date 2010-06-01 13:12
Well apparently "apparently" doesn't apply to everyone. I have the exact same problem as OP, but without large pages enabled.

It must indeed be a Windows 7 thing or so :)
Parent - - By Dadi Jonsson (Silver) [is] Date 2010-06-01 06:56
Large pages not used - user choice.
          
      -->> setoption name Use Large Pages value true
                Use large pages enabled.
                  -- shared synchronization file: RybkaSync12428
                  -- shared exchange file: RybkaEx22428
  1       Using large pages, size = 2147483648
                Using large pages, size = 2147483648
Parent - By yanquis1972 (****) [us] Date 2010-06-01 07:02
the behavior is presumably the same without large pages as its the same behavior i got with rybka 3.
Parent - - By Ray (****) Date 2010-06-01 14:07
R4 is using the correct amount of memory, it is just that Windows doesn't show it. Go into task manager and select some other memory usage columns. I can't recall which one it is, but one of them shows the correct number. R3 was like this too. R4 shows the correct number for me. Also look at the amount of free memory reported, if you are using a huge hash size then you will see the effect on this
Parent - - By dragon49 (****) [us] Date 2010-06-01 15:06
I am using Windows 7 and have configured Windows to allow "Large Pages," however, for thsi Fritz controlled Gauntlet, I was not using them.  When I get home later, I'll look for additional columns in task manager.
Parent - - By Ray (****) Date 2010-06-01 18:30
It is called "Working Set (Memory)". This will not tell you though if you are using large pages, just how much memory is being used. It shows the correct usage here under W7.
Parent - - By dragon49 (****) [us] Date 2010-06-01 23:22
With my windows 7 - it is called memory - private working set.  This is not reporting correctly for rybka .  I just gave Rybka 1 gig of hash (large pages off) and had her analyze a position.  Task manager showed 4 processes with a little more than 21k each.
Parent - - By Ray (****) Date 2010-06-01 23:28
You don't have the right column selected
Parent - By dragon49 (****) [us] Date 2010-06-01 23:33
Are you sure.

I erased my name out of the picture.
Parent - - By Vempele (Silver) [fi] Date 2010-06-01 23:57
Computer memory is not like real life where people can do... things... to each other with their private parts. Private memory is, by definition, not shared between processes. You want the regular working set, as shown in Ray's screenshot.
Parent - - By dragon49 (****) [us] Date 2010-06-02 00:02
I can only see this with the resource monitor menu.  Using the normal task manager, how to I change the view to see the regular working set.
Parent - - By Vempele (Silver) [fi] Date 2010-06-02 00:13
View->Select columns...
Parent - By dragon49 (****) [us] Date 2010-06-02 00:23
Got it - thanks.
Parent - - By Leto (***) [us] Date 2010-06-02 01:48
You're correct.  Here's an article explaining this in layman's terms:
http://cybernetnews.com/cybernotes-windows-memory-usage-explained/
Parent - By dragon49 (****) [us] Date 2010-06-02 01:53
A few things:

With the correct view, the right amount of hash is reported.  The Windows 7 Ultimate install defaulted to the private working set which is what initially confused me.

I don't recommend clicking on Leto's cybernetnews link as Norton Safe Search reports it is unsafe.  See:

http://safeweb.norton.com/report/show?url=cybernetnews.com
Up Topic Rybka Support & Discussion / Rybka Support / Ram usage is less than the specified hash

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill