Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting hash size? #87

Closed
SzotsGabor opened this issue Sep 24, 2021 · 3 comments
Closed

Setting hash size? #87

SzotsGabor opened this issue Sep 24, 2021 · 3 comments

Comments

@SzotsGabor
Copy link

Hi Vincent,

How do I set hash size in WB/UCI mode respectively?

@vinc
Copy link
Owner

vinc commented Sep 24, 2021

Hi Gabor, for WB I implemented the memory command: https://github.com/vinc/littlewing/blob/v0.7.0/src/protocols/xboard.rs#L145 but there's nothing on my limited support of UCI.

Last week an issue has been reported on UCI so I can also add this to my TODO list. It'd be a good thing to support UCI more fully.

In the meantime it's also possible to run the binary with the option -t 32 or --tt 32 that would set the TT size to 32MB for example at launch: https://github.com/vinc/littlewing/blob/v0.7.0/src/main.rs#L49

@SzotsGabor
Copy link
Author

Thanks Vincent. I tried -t 256 and the displayed memory size under Arena was 520 MB. When I tried -t 128 it was 205 MB. But it works.

@vinc
Copy link
Owner

vinc commented Sep 24, 2021

It's strange I have much less overhead when I do the test in the console with the top command:

$ littlewing -st 128
> play # 129MB used here
< move e4
> hash 64
> play # 65MB used here
< move e5
> xboard

memory 256
level 40 60 0
new
go # 256MB used here
move e2e4

@vinc vinc closed this as completed Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants