There is something strange going on when I load the engine in Arena with 1GB hash.
If I use 4 threads, then the hash is correctly set at 1GB. If I use 2 threads, no extra hash is set, same with 1 thread.
I loaded 1.6.2 JA and tried the same, this works like it should with 1GB hash for both 1, 2 and 4 threads.
Any idea?
Martin, I probably misunderstand but how exactly do you mean "extra hash"? Is there some default value Stockfish resorts to? The 1 gigabyte should be shared by all the threads so what does extra hash mean in this context?
Regards, Eelco
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
There is something strange going on when I load the engine in Arena with 1GB hash.
If I use 4 threads, then the hash is correctly set at 1GB. If I use 2 threads, no extra hash is set, same with 1 thread.
I loaded 1.6.2 JA and tried the same, this works like it should with 1GB hash for both 1, 2 and 4 threads.
Any idea?
Martin, I probably misunderstand but how exactly do you mean "extra hash"? Is there some default value Stockfish resorts to? The 1 gigabyte should be shared by all the threads so what does extra hash mean in this context?
Regards, Eelco
I believe the default value is 32M, which is set in ucioptions.cpp. I'm not understanding Martin's post.
There is something strange going on when I load the engine in Arena with 1GB hash.
If I use 4 threads, then the hash is correctly set at 1GB. If I use 2 threads, no extra hash is set, same with 1 thread.
I loaded 1.6.2 JA and tried the same, this works like it should with 1GB hash for both 1, 2 and 4 threads.
Any idea?
Martin, I probably misunderstand but how exactly do you mean "extra hash"? Is there some default value Stockfish resorts to? The 1 gigabyte should be shared by all the threads so what does extra hash mean in this context?
Regards, Eelco
I believe the default value is 32M, which is set in ucioptions.cpp. I'm not understanding Martin's post.
Yes, that is correct.
When I specify 1GB hash I get this in task manager:
Yes, 32 Mb is the default value see the Stockfish 1.5 code above, 4 minimum and 4096 maximum settings in the parameter window but the maximum is now set higher, to 8192 I presume in Stockfish 1.6.3. It could be a problem in Arena?
Regards Eelco
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
There is something strange going on when I load the engine in Arena with 1GB hash.
If I use 4 threads, then the hash is correctly set at 1GB. If I use 2 threads, no extra hash is set, same with 1 thread.
I loaded 1.6.2 JA and tried the same, this works like it should with 1GB hash for both 1, 2 and 4 threads.
Any idea?
Martin, I probably misunderstand but how exactly do you mean "extra hash"? Is there some default value Stockfish resorts to? The 1 gigabyte should be shared by all the threads so what does extra hash mean in this context?
Regards, Eelco
I believe the default value is 32M, which is set in ucioptions.cpp. I'm not understanding Martin's post.
Yes, that is correct.
When I specify 1GB hash I get this in task manager:
With 1.6.2 JA it's this:
1 thread ~ 1 GB
2 threads ~ 1 GB
4 threads ~ 1 GB
Any clearer?
Doesn't make any sense to me why I can't run 1 or 2 threads with anything else than the default 32MB hash.
Yes, very clear now. Thanks.
This problem does not exist for me with 1.6.3. I just tested various settings for Threads and Hash, and amount of memory requested was reserved no matter how many threads I used.
I'm running my own build of Stockfish on a Mac, and I'm testing from the command line. So this might be a Windows or Linux issue, a problem with the compile, or a problem with Arena (though not likely Arena if 1.6.2 works correctly under Arena).
There is something strange going on when I load the engine in Arena with 1GB hash.
If I use 4 threads, then the hash is correctly set at 1GB. If I use 2 threads, no extra hash is set, same with 1 thread.
I loaded 1.6.2 JA and tried the same, this works like it should with 1GB hash for both 1, 2 and 4 threads.
Any idea?
Martin, I probably misunderstand but how exactly do you mean "extra hash"? Is there some default value Stockfish resorts to? The 1 gigabyte should be shared by all the threads so what does extra hash mean in this context?
Regards, Eelco
I believe the default value is 32M, which is set in ucioptions.cpp. I'm not understanding Martin's post.
Yes, that is correct.
When I specify 1GB hash I get this in task manager:
With 1.6.2 JA it's this:
1 thread ~ 1 GB
2 threads ~ 1 GB
4 threads ~ 1 GB
Any clearer?
Doesn't make any sense to me why I can't run 1 or 2 threads with anything else than the default 32MB hash.
Very strange, thanks for the explanation Martin. I have no idea what could be the problem I don't have Arena installed. In case you have 64 bits you could try Dann's 1.6.3(dc)s compile.
Regards Eelco
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
Eelco de Groot wrote:
Very strange, thanks for the explanation Martin. I have no idea what could be the problem I don't have Arena installed. In case you have 64 bits you could try Dann's 1.6.3(dc)s compile.
Regards Eelco
Yes, I'm on a 64-bit system.
I just installed the 1.6.3 DC compile and here are the results:
I read in the readme file that hashtables over 2GB( upto 8GB) should work now . But I cant get more than 2 GB
Sytem: i7 950, os Win7 ultimate 64bit, 6GB RAM.
Any suggestions wellcome.
Clemens
Hi Clemens,
Could you state the knps figures of SF163x64 for 2, 4, 6, 8 cores?
Hi Harun
sorry, I cant. Think it makes no sense, because this machine is overclocked(4,232MHz) and has only 4 cores, HT is off and btw. HT threads cannot be counted as cores . Search speed is arround 8500Kns.
I read in the readme file that hashtables over 2GB( upto 8GB) should work now . But I cant get more than 2 GB
Sytem: i7 950, os Win7 ultimate 64bit, 6GB RAM.
Any suggestions wellcome.
Clemens
Hi Clemens,
Could you state the knps figures of SF163x64 for 2, 4, 6, 8 cores?
Hi Harun
sorry, I cant. Think it makes no sense, because this machine is overclocked(4,232MHz) and has only 4 cores, HT is off and btw. HT threads cannot be counted as cores . Search speed is arround 8500Kns.
Regards, Clemens
No problem, Clemens. This is not the end of the world. 8500 kNpS on
4 threads would definitely make 10625 kNpS on 8 threads.