Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Rybka Support / Large Pages in Rybka 4
1 2 3 4 5 Previous Next  
Parent - - By chess_pr0 (**) [us] Date 2010-06-19 16:06
i use autochess in yahoo for computer vs. computer matches only, im not cheating... LoL... dont move this to the cheating thread again... i downloaded ntrights.exe did the cmd prompt as instructed, turned on large pages in my poly.ini settings and restarted the program and rybka.. how do i know if the settings worked and i am indeed using large pages.. i have 8 GB memory ddr3. and i have my hash set to 1024.using deep rybka 4 which i have a key and bought thru this site.... i believe if i pay for this program and have a question, it goes here not to the cheating section, if the moderators here have no more sense than that and see only reason im using this is for computer vs. computer matches only, well they need to hire some new mods... or go and find a site that they can download common sense for the human brain.
Parent - - By keoki010 (Silver) [us] Date 2010-06-19 20:38
click on log. Then load the engine. Play or analyze. Unload engine, and then check the log.  Search the forum for what it's supposed to show. The log will be in engine folder.
Parent - By chess_pr0 (**) [us] Date 2010-06-20 03:59
exactly how you unload the engine? all i can do is just close out the program winboard or turn it on.. there is no log in the engine folder but the poly.ini file and couple of my bin books and the deep rybka4x64.exe file.
Parent - - By chess_pr0 (**) [us] Date 2010-06-21 02:44
ok this is what it says gives me this error. i did enable large pages and in cmd prompt said it was succesful..
<<-- ERROR: API        = CreateFileMapping
      <<--        error code = 1314
      <<--        message    = A required privilege is not held by the client.

           Large pages not used - CreateFileMapping () returned invalid handle. Please check memory fragmentation, privileges and UAC (and reboot if necessary).
                Large pages not used - CreateFileMapping () returned invalid handle. Please check memory fragmentation, privileges and UAC (and reboot if necessary).
Parent - - By chess_pr0 (**) [us] Date 2010-06-21 13:48
ok now its saying this after reboot and turning off UAC..

         Mon Jun 21 06:47:29 2010
           "Deep Rybka 4 x64"
          
           4 processors, x64 2592 MHz
           AMD Phenom(tm) II X4 810 Processor, AMD64 Family 16 Model 4 Stepping 2, AuthenticAMD, level 16, revision 0x402
           7935 mb RAM, 5708 mb available, page size = 4096
                Windows 7 x64
                Process priority: NORMAL_PRIORITY_CLASS
          
                Hash size set to 1024 mb
                Nalimov path set to C:\autoTB\TB4;C:\autoTB\TB5;C:\autoTB\TB6
                Nalimov cache set to 8
               Large pages not used - user choice.
          
      -->> setoption name NalimovPath value C:\YaY_Ultimate_3\Winboard_X\EGTB
                Nalimov path set to C:\YaY_Ultimate_3\Winboard_X\EGTB
      -->> setoption name NalimovCache value 32
                Nalimov cache set to 32
      -->> setoption name NalimovUsage value Frequently
                Nalimov usage set to frequently
      -->> setoption name Use Large Pages value true
                Use large pages enabled.
   1              -- shared synchronization file: RybkaSync12976
                  -- shared exchange file: RybkaEx22976
           Using large pages, size = 1073741824
                Using large pages, size = 1073741824
                  starting child
                  -- hash size: 1024
                  -- shared file number: 2
Parent - - By keoki010 (Silver) [us] Date 2010-06-21 15:44
Use large pages enabled.
   1              -- shared synchronization file: RybkaSync12976
                  -- shared exchange file: RybkaEx22976
           Using large pages, size = 1073741824
                Using large pages, size = 1073741824
It's now using large pages.  Leave UAC off or run the program one time as admin if you want UAC on. You're better off with it off though.
Parent - - By cma6 (****) Date 2010-09-02 04:01
Keoki010
You seem to know these advanced things. Do you have the instructions on how to set up Windows 7 x64 to use Large Pages?
  This issue was never resolved, though it was discussed extensively.
Parent - - By keoki010 (Silver) [us] Date 2010-09-02 14:14
It was resolved, do a search using "windows7 and large pages" it should show up.  You have to enable it using a windows utility that comes with the pro version. There was also extensive help on how to do it if you had the lower versions of 7 and Vista.

The program is ntrights.  Run it as administrator.
Parent - - By cma6 (****) Date 2010-09-02 14:57
Yes, Lukas gave me that link. However, it is not clear what one had to do about UAC before using "ntrights".
                             Thanks, CMA
Parent - By keoki010 (Silver) [us] Date 2010-09-02 17:09
Just turn it off, then after you can turn it back on.  If you do it right you shouldn't even have to turn it off.
- - By bfn [us] Date 2010-07-03 22:45
I ran the ntrights program successfully.  However, I can't seen to be able to save my setting (I'm using chessbase 10).  I select tools, options, engines, browse, engine parameters and select use large pages and log, then save.  However, when I look at this setting later, the use large pages and log boxes are unchecked.  I am also unable to find a log file.  What am I doing wrong?
Parent - - By Vasik Rajlich (Silver) [pl] Date 2010-07-04 05:37
Not sure. The log file has the form "uci*.txt", you can search your hard drive for it. (It will typically end up in the same directory as the engine executable.)

Vas
Parent - - By bfn [us] Date 2010-07-05 06:25
I searched my hard drive.  I did a search for *uci*.* after not finding anything with uci*.txt.  I don't have a log file.  Not sure why.  Did I install Rybka incorrectly?  It seems to be working just fine, I just can't figure out why I don't have a log file and why I'm unable to use large pages.
Parent - - By Vasik Rajlich (Silver) [pl] Date 2010-07-05 07:57
Maybe your parameter settings (ie. selecting the 'log' parameter) somehow didn't catch.

You'll need to create a log file to understand why large pages aren't working.

Vas
Parent - By bfn [us] Date 2010-07-10 07:26
This is what I have in my Deep Rybka 4 SSE42 x64.uci file (not uci.txt).  This file was created when I downloaded Rybka 4 from ChessOK/Convekta and added Deep Rybka and an engine in chessbase.  I also don't have files hidden.  What am I doing wrong.  I'm glad I'm not the only one encountering this problem.  Help.  I love using the new engine, but wouldn't mind getting a little more performance out of it since I recently purchased an i7 computer with a lot of RAM mostly to run Rybka4 and take advantage of my 64-bit processor, multiple cores and 12 GB of RAM.

[ENGINE]
Name=Deep Rybka 4 SSE42 x64
Author=Vasik Rajlich
Filename=C:\chess\Engines\Deep Rybka 4\Deep Rybka 4 SSE42 x64.exe
Parent - - By Lukas Cimiotti (Bronze) [de] Date 2010-07-05 09:54
You have to enable "search in hidden folders" to find the log files.
Parent - - By Rico Date 2010-07-06 04:43
I have tried searching for the log text using the search hidden file options and I still can not find a log file (see my posts inder the topic : freezing).   I wonder how many of us who have made a "respectable" effort to find those text files (after we checked the Log dialog box under engine parameter)and still can not find them? I really would like to get help on how to set up and obtain a Log file.
Parent - By bfn [us] Date 2010-07-20 07:15
Agreed.  I'm frustrated that I can't get large pages to work.  However, it's slightly comforting that I'm not the only one that has this problem.
- - By Ron Bateman (**) [us] Date 2010-08-04 04:16
They say you look in the LOG to see if your LARGE PAGES is working.  How do you look in the LOG?
Parent - By Uly (Gold) [mx] Date 2010-08-04 16:14
You enable the box that says "Log" in engine settings.
- - By Ron Bateman (**) [us] Date 2010-08-04 04:20
I guess you can use the plain Rybka 4x64 engine for LARGE PAGES, because in it's parameter box the LARGE PAGES enable box is there?
Parent - - By Uly (Gold) [mx] Date 2010-08-04 16:15
Yes.
Parent - - By Ron Bateman (**) [us] Date 2010-08-04 21:55
I need to be able to read the log report to see if the extra RAM is functioning.  That is why LARGE PAGES are used, as far as I understand.  For extra Giga Bytes of RAM.
Parent - - By Uly (Gold) [mx] Date 2010-08-04 22:26
Then read the log that is produced after you tick the "Log" box in engine options.
Parent - - By Ron Bateman (**) [us] Date 2010-08-06 11:17
Where is it produced?  And how do I get to it?  I am trying to do what Nick Carlin suggested in his PDF instructions.  Thanks!
Parent - By CumnorChessClub (***) [gb] Date 2010-08-06 13:41
The log should be in the same folder as your Rybka engine.
- By Ron Bateman (**) [us] Date 2010-08-07 05:02
I have with the help of Vytron and CumnorChessClub and of course Nick Carlin have got my Large Pages working!
- - By Ron Bateman (**) [us] Date 2010-08-07 05:09
I have just 2 more questions.  1)When just analyzing, are there any special parameter settings for best results, besides Large Pages?  2)Is there any reason a virtual memory increase cannot be used?  Thanks-
Parent - By Uly (Gold) [mx] Date 2010-08-07 06:02 Edited 2010-08-07 06:04

> 1)When just analyzing, are there any special parameter settings for best results, besides Large Pages?


If by "just" analyzing, you mean leaving Infinite Analysis going on for hours, then, no (other than playing with the Rook Endgames Scaling parameter, but here we have conflicting reports).

If you mean interactive analysis, tick "Always Score Main Move" and "Display Upperbounds", that's going to speed up and help.

> 2)Is there any reason a virtual memory increase cannot be used?


The hash should remain in the real memory, virtual memory kills performance, other than that you can increase virtual memory and there won't be any problem.
- By cma6 (****) Date 2010-09-02 03:59
Have the experts finalized the instructions on how to enable Large Pages in Windows 7 x64?
I've read through the thread and found a variety of different, conflicting instructions. Some say you have to turn off UAC and others say you should not do it.
      In any case, do we have the final instructions for what and how to set up Windows 7 x64 for Large pages?
                                         Thanks, CMA
- By Jesse Gersenson (***) Date 2010-09-20 16:29
Large Pages in Xubuntu 10.04 64-bit, using regular non-root user

Here are the three steps I took to get large pages working

1a. open a terminal window and enter

sudo mousepad /etc/sysctl.conf

1b. add the following lines at the bottom of the file and then save and exit

  vm.nr_hugepages = 575
  kernel.shmmax = 2511724800
  kernel.shmall = 2511724800


2a. open a terminal window and enter

sudo mousepad /etc/security/limits.conf

2b. add the following lines at the bottom of the file and then save and exit. replace 'myusername' with your username
  myusername          soft    memlock        12582912
  myusername          hard    memlock        12582912


3. reboot

microwine Rybka should now, automatically, user large pages (you do not need to configure the engine at all)

4. To check that it's working. Start microwine rybka and enter the following into a terminal

cat /proc/meminfo

you will see the number of HugePages_Total and the number of HugePages_Free. If it's working, the number of HugePages_Free will be less than HugePages_Total.

For example, on my machine, which is using 16 pages, it looks like this:

  HugePages_Total:     575
  HugePages_Free:      559
- - By saanjh3163 [in] Date 2010-10-12 10:44
Sorry for my poor english.:razz:
I have turned off UAC and finished Group Policy
i use windows7 ultimate 32 bit..
but the following errors occoured in log file .
help me..
http://img137.imageshack.us/img137/9193/rybkalargepageproblem.jpg
thanxs..
saanjh
Parent - By mocha1961 (***) [us] Date 2010-10-12 14:44
did you try using Ntrights?  works perfectly fine with me
- - By neeta [in] Date 2010-10-12 17:50
hi..
all members i have turned off uac
and done according to ntrights.exe
by running it in command promopt..and there the message shows successfull
but when i played a game it shows such an error in log file..
help me..

i use windows 7 home premium 64 bits..

Tue Oct 12 22:18:48 2010
           "C:\engine\Deep rybka 4\Deep Rybka 4 x64.exe"
          
           4 processors, x64 2128 MHz
           Intel(R) Core(TM) i3 CPU       M 330  @ 2.13GHz, Intel64 Family 6 Model 37 Stepping 2, GenuineIntel, level 6, revision 0x2502
           3950 mb RAM, 2109 mb available, page size = 4096
                Windows 7 x64
                Process priority: NORMAL_PRIORITY_CLASS
          
                uci3 has been invoked.
                cbr3 has been invoked.
                Hash size set to 256 mb
                Nalimov path set to C:\ENDGAMES\3-4-5;C:\ENDGAMES\6 men;C:\ENDGAMES\egdb
                Nalimov cache set to 64
               Large pages not used - user choice.
          
      -->> setoption name Use Large Pages value true
                Use large pages enabled.
                  -- shared synchronization file: RybkaSync16496
                  -- shared exchange file: RybkaEx26496
      <<-- ERROR: API        = CreateFileMapping
      <<--        error code = 1314
      <<--        message    = A required privilege is not held by the client.

           Large pages not used - CreateFileMapping () returned invalid handle. Please check memory fragmentation, privileges and UAC (and reboot if necessary).
                Large pages not used - CreateFileMapping () returned invalid handle. Please check memory fragmentation, privileges and UAC (and reboot if necessary).
                  starting child
                  -- hash size: 256
                  -- shared file number: 2
                  -- number of processes: 4
                  -- parent id: 6496
                  -- overridden parent id: 6496
                  -- child number: 3
                  -- full command line: "C:\engine\Deep rybka 4\Deep Rybka 4 x64.exe" 6496 4 256 2 4 3 6496
                  starting child
                  -- hash size: 256
                  -- shared file number: 2
                  -- number of processes: 4
                  -- parent id: 6496
                  -- overridden parent id: 6496
                  -- child number: 2
                  -- full command line: "C:\engine\Deep rybka 4\Deep Rybka 4 x64.exe" 6496 4 256 2 4 2 6496
                  starting child
                  -- hash size: 256
                  -- shared file number: 2
                  -- number of processes: 4
                  -- parent id: 6496
                  -- overridden parent id: 6496
                  -- child number: 1
                  -- full command line: "C:\engine\Deep rybka 4\Deep Rybka 4 x64.exe" 6496 4 256 2 4 1 6496
                Children restarted.
      -->> setoption name Load Hash
                Load hash invoked but failed - file not set.
   1  -->> setoption name Load Hash
                Load hash invoked but failed - file not set.
   3  -->> setoption name Clear Hash
                Hash clear invoked.
   5  -->> position startpos moves e2e3 e7e5 g1h3

              2. g1h3     
rnbqkbnr/pppp1ppp/8/4p3/8/4P2N/PPPP1PPP/RNBQKB1R b KQkq -

8                 
7                 
6                 
5                 
4                 
3                 
2                 
1                 
a  b  c  d  e  f  g  h 

thanxs ..
neeta
Parent - By keoki010 (Silver) [us] Date 2010-10-12 18:10

> &nbsp; Large pages not used - CreateFileMapping () returned invalid handle. Please check memory fragmentation, privileges and UAC (and reboot if necessary).
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Large pages not used - CreateFileMapping () returned invalid handle. Please check memory fragmentation, privileges and UAC (and reboot if necessary).
>


Either your memory is fragmented, or you do not have a prlv set right. Try reboot and see if you get same message.
- By DazzleKnight2010 (**) Date 2010-11-15 08:11
Hi All,

I bought Rybka 3 and now owned Deep Rybka 4 and could see a huge difference i playing strengh on a Q6600.

I tried the large pages and never got it right. I red through all the posts to get more insight, but  it still failed. I bought deep Rybka 4 x64 bit and it is not running at its full potential because the large pages are not working. Please help. I have windows 7 Professional 64 bit. I also red about other flaws in Rybka 4, like not seeing a simple checkmate in 3 on the Rybka Forums. That was really alarming and an eye opener. I am a diehard Rybka user and don't want to end up losing a game because my home preparation and analysis was wrong because of the engines flaws. I bought the Chessbase version and also bought the 3-6 men tablebases at the Olympiad. The tablebasses are working fine it just takes time to load.

I also bought Deep Fritz 12 to see whether Rybka 4 is really that good and yes she defeated deep fritz 12, at all levels of time controls resondingly. Another issue is that some players on the chessbase server have Rybka SSE42 x64 and it seems much stronger then my Deep Rybka 4 x64, why is that? What does SSE42 represent?

Finally, how do I use the MPV function as I cannot see such a function in the engine parameters settings?

Vas, when will all the bugs be fixed?? Keep up the good work!!

Please note that I just want my product to work as I am playing engine chess and my rating is just sitting at 2500 with no progress as my Deep Rybka plays very slow and sometimes loose because of that. I also do analysis for tournament preparation and post mortems after chess events with this AMAZING Engine.

Awaiting your soonest reply.
- By ChessMonster (***) Date 2010-11-22 03:21
I would also like to know about the SSE42 difference.
- By rainerM (**) [de] Date 2010-11-22 18:11
Problem with Laarge Pages:
its working fine under shredder and Arena, but there are Problems with Fritz11_gui:
Look at lagfiles:
Under Shredder:
-->> setoption name Use Large Pages value true
                Use large pages enabled.
                  -- shared synchronization file: RybkaSync13968
                  -- shared exchange file: RybkaEx23968
           Using large pages, size = 268435456
                Using large pages, size = 268435456
                  starting child

Unter Fritz11 Gui:
-->> setoption name Use Large Pages value true
                Use large pages enabled.
                  -- shared synchronization file: RybkaSync13300
                  -- shared exchange file: RybkaEx23300
      <<-- ERROR: API        = CreateFileMapping
      <<--        error code = 1450
      <<--        message    = Nicht gen├╝gend Systemressourcen, um den angeforderten Dienst auszuf├╝hren.

           Large pages not used - CreateFileMapping () returned invalid handle. Please check memory fragmentation, privileges and UAC (and reboot if necessary).
                Large pages not used - CreateFileMapping () returned invalid handle. Please check memory fragmentation, privileges and UAC (and reboot if necessary).
                  starting child
Can someone help?
rainerM
- By The PIT (*) [gb] Date 2010-11-30 13:59
Interesting this option was already enabled in windows 7 64 bit. I've never done it so I just set the prog to run as administrator and then enabled the large pages and restarted.
- - By Lukas Cimiotti (Bronze) [de] Date 2012-07-14 14:39
Update for Windows 8 preview.
For Windows 8 some things have changed:
You don't have to turn off UAC.
You still have to enable "Lock Pages in Memory" for your user account in secpol.msc.
You have to run your GUI as administrator. There are 2 ways to do so:
1. right click on its icon and choose "Run as Administrator".
    you have to do this every time you start the GUI
2. right click on its icon and choose "Properties", choose "Compatibility", check "Run this program as an administrator"
   this works as a permanent setting, you only have to do it once
Parent - By keoki010 (Silver) [us] Date 2012-07-14 14:57
Thanks for the info Lukas!
Up Topic Rybka Support & Discussion / Rybka Support / Large Pages in Rybka 4
1 2 3 4 5 Previous Next  

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill