Rybka 4, large pages?

Polyglot here
Post Reply
User avatar
zappa79
Senior Member
Senior Member
Posts: 44
Joined: 13 Jun 2009 03:53

Rybka 4, large pages?

Post by zappa79 »

I have set up my computer so it can use large pages, but how do I enable it in polygot?

Thanks in advance!

User avatar
Waldemar
Co-Admin
Co-Admin
Posts: 2482
Joined: 24 Jan 2008 23:50
Location: Brazil
Contact:

Re: Rybka 4, large pages?

Post by Waldemar »

Add this line in polyglot.ini under [Engine]:

UseLargePages=true
4ut0 ch355 m3mb3r WALDEMAR...g00d g4m3 f0r 4ll...y4h000000! :ok

User avatar
zappa79
Senior Member
Senior Member
Posts: 44
Joined: 13 Jun 2009 03:53

Re: Rybka 4, large pages?

Post by zappa79 »

Thanks that worked!

Do you know what the Ultraoptimistic playing stile is?
I have the following line in my polygot.ini:

Playing Style = ultraoptimistic

And I dont know what it means!

Thanks!

User avatar
Waldemar
Co-Admin
Co-Admin
Posts: 2482
Joined: 24 Jan 2008 23:50
Location: Brazil
Contact:

Re: Rybka 4, large pages?

Post by Waldemar »

This line doesnt belong to Rybka 4, must be a line to an old rybka version.

More info about Rybka 4 and its parameters here:

http://rybkaforum.net/cgi-bin/rybkaforu ... 16985;pg=2
4ut0 ch355 m3mb3r WALDEMAR...g00d g4m3 f0r 4ll...y4h000000! :ok

User avatar
zappa79
Senior Member
Senior Member
Posts: 44
Joined: 13 Jun 2009 03:53

Re: Rybka 4, large pages?

Post by zappa79 »

How do I know that the "large pages" are really active and working?
I cant find anything that indicates it!

Thanks!

User avatar
matematiko
Co-Admin
Co-Admin
Posts: 1511
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: Rybka 4, large pages?

Post by matematiko »

Read this pdf file:
http://rybkaforum.net/mwf/rybkaattach/2 ... aftFAQ.pdf

At the end says:
How do I know if my Rybka is using the Large pages?
The way I do this is to enable the Rybka log (not the xlog), load the Rybka engine and
look in the log. The log is in the same directory as the Rybka executable and has the
name uci.<data>.<number>.txt.
A successful allocation of a hash table of 2GB with large pages looks like this in the
log:
-->> setoption name Use Large Pages value true
Use large pages enabled.
-- shared synchronization file: RybkaSync13744
-- shared exchange file: RybkaEx23744
Using large pages, size = 2147483648
Using large pages, size = 2147483648
A failure when trying to obtain large pages looks something like this in the log:
-->> setoption name Hash value 256
-- shared synchronization file: RybkaSync14432
-- shared exchange file: RybkaEx24432
<<-- ERROR: API = CreateFileMapping
<<-- error code = 1450
<<-- message = Insufficient system resources exist to
complete the requested service.
Large pages not used - CreateFileMapping () returned invalid handle.
Please check memory fragmentation, privileges and UAC (and reboot if
necessary)
Cheers,
Using engines to cheat:
- It is not ethical,
- It is useless, nothing is gained (how can one be proud of a score earn with dishonesty?)
- You will be baned, sooner or later,
- It gives us (the true chess engine players) a bad reputation.

Post Reply