Anyone with a quad and a few minutes of CPU time?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Alessandro Scotti

Anyone with a quad and a few minutes of CPU time?

Post by Alessandro Scotti »

Hi,
during the holidays I've finally convinced my hamsters that they can be stronger if they work as a team, therefore they would like to show the world and come out with a Team of Hamsters engine.
They need your help though! They have only two exercise wheels in their little homes and would definitely need some help from someone who's got four wheels or more.
So if you've got four wheels, a few minutes and are willing to help here's how! :-)

First go here:

http://www.ascotti.org/programming/chess/hamsters.htm

and download the Hamsters SMP beta. For now, I just need to know:
1) whether it works at all or not with 4 processors/cores;
2) if it works, how many NPS gets on 4 processors/cores with respect to the single thread version. I don't need an exact ratio, just an approximate figure is enough.
3) it it does not work please let me know what happens, I will then start cursing like a buccaneer, open the code and see if I can fix it!

Thanks in advance for your help!

P.S. Instructions are in the archived readme but anyway you just have to run "hamsters -threads 4". If you run the program from a command prompt it will really take no more than a minute:
- run "hamsters"
- type "a" and press enter (program starts analysis);
- wait 10-15 seconds and note NPS;
- press "q" and enter (program quits);
- run "hamsters -threads 4" and repeat the above steps.
User avatar
Ross Boyd
Posts: 114
Joined: Wed Mar 08, 2006 9:52 pm
Location: Wollongong, Australia

Re: Anyone with a quad and a few minutes of CPU time?

Post by Ross Boyd »

Hi Alessandro,
All hamsters present and accounted for (four) :-D
All hamsters were firing on all 4 cylinders....

Q6600 @ 2.4Ghz
NPS on 1 thread: 568Knps
NPS on 4 threads: 2001Knps

Sorry to brief... work beckons....

PV is a little inconsistent but its not crashing!!

1 thread...

Code: Select all

Hamsters 0.7.2 dev 1 / SMP by Alessandro Scotti
a
 2/ 3 0:00.00 16 48 Nf3 Nf6
 3/ 4 0:00.00 20 196 Nf3 Nf6 Nc3
 4/ 5 0:00.00 16 449 Nf3 Nf6 Nc3 Nc6
 5/ 8 0:00.00 7 1214 Nf3 Nf6 Nc3 Nc6 e3
 5/10 0:00.00 9 1967 e3 Nf6 Bd3 Nc6 Nc3
 6/10 0:00.00 18 3178 e3 Nf6 Bd3 Nc6 Nc3 d6
 7/14 0:00.00 18 8604 e3 d6 Nc3 Be6 Bd3 Nf6 Nf3
 8/19 0:00.03 16 22702 e3 d6 Nc3 Nf6 Bd3 Nc6 Nf3 Be6
 9/19 0:00.06 15 48772 e3 d6 Nc3 Nf6 Bd3 Nc6 Nf3 Be6 O-O
10/19 0:00.14 16 96745 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 O-O O-O
11/21 0:00.23 14 155245 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 Nb5 Bc5 O-O
12/24 0:00.92 15 570068 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 Nb5 Bc5 O-O O-O
13/24 0:01.96 3 1189046 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 O-O O-O Nb5 Bb4 Ng5
13/27 0:03.07 17 1823759 e4 e5 Nc3 Nc6 Nf3 Nf6 Bb5 Bd6 O-O O-O d4 exd4 Nxd4 Re8
14/30 0:04.95 12 2909484 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 O-O d6 d3 O-O Be3 Bxe3 fx
e3
15/46 0:14.57 14 8328125 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 O-O d6 d3 O-O Be3 Bxe3 fx
e3 Be6 Bxe6 fxe6
  0:24.35 13828k (567 knps))

4 threads....

Code: Select all

C:\hamsters>hamsters -threads 4
Threads set to: 4
Hamsters 0.7.2 dev 1 / SMP by Alessandro Scotti
a
 2/ 3 0:00.00 16 48 Nf3 Nf6
 3/ 4 0:00.00 20 196 Nf3 Nf6 Nc3
 4/ 5 0:00.00 16 513 Nf3 Nf6 Nc3 Nc6
 5/ 9 0:00.00 7 1872 Nf3 Nf6 Nc3 Nc6 e3
 5/10 0:00.00 9 3807 e3 Nf6 Nc3 Nc6 Bd3
 6/10 0:00.01 18 6380 e3 Nf6 Nc3 Nc6 Bd3 d6
 7/12 0:00.01 18 13733 e3 d6 Nc3 Be6 Nf3 Nf6 Bd3
 8/16 0:00.03 16 33469 e3 d6 Nc3 Nc6 Nf3 Nf6 Bd3 Be6
 8/16 0:00.04 19 58448 e4 Nc6 Nf3 d6 Bc4 Nf6 Nc3 Be6
 9/19 0:00.07 12 95082 e4 Nc6 Nf3 e6 Nc3 Bd6 Bc4 Nf6 O-O
 9/19 0:00.09 15 118598 e3 d6 Nc3 Nc6 Nf3 Nf6 Bd3 Be6 O-O
10/20 0:00.14 16 209323 e3 Nc6 Nc3 Nf6 Nf3 e6 Bd3 Bd6 O-O O-O
11/22 0:00.21 2 338416 e3 Nc6 Nc3 Nf6 Nf3 e6 Bd3 Bc5 O-O O-O Ng5
11/25 0:00.60 16 1108433 d4 Nf6 Nf3 d5 Nc3 Bf5 Bf4 Nc6 e3 e6 Bd3
12/25 0:00.84 13 1528062 d4 Nf6 Nf3 d5 Nc3 Nc6 Bf4 Bf5 e3 Nh5 Bg5 Nf6
13/26 0:01.53 13 2864931 d4 Nf6 Nf3 d5 Nc3 Nc6 Bf4 Bf5 e3 Nh5 Bg5 Nf6 Bd3
14/29 0:03.03 13 5845683 d4 Nf6 Nf3 d5 Nc3 Nc6 Bf4 Nh5 Be3 Bf5 Nh4 Be6 g3 Nf6
15/31 0:06.00 9 11781964 d4 Nf6 Nf3 d5 Nc3 Nc6 e3 Bf5 Bd3 Bxd3 Qxd3 a6 a3 e6 O-O
 Bd6
16/36 0:14.37 16 28607635 d4 Nf6 Nf3 d5 Nc3 Nc6 Bf4 Nh5 Be3 Bf5 Nh4 Be6 g3 g6 Bg
2 Bg7
16/39 0:22.98 20 46008671 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 d3 O-O O-O b6 a3 d6 Bg5
Be6
q  0:29.89 59834k (2001 knps)

Cheers,

Ross
Alessandro Scotti

Re: Anyone with a quad and a few minutes of CPU time?

Post by Alessandro Scotti »

Hi Gabor and Ross,
thanks a lot for your replies, I am very happy that it works! :D
F. Bluemers
Posts: 868
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: Anyone with a quad and a few minutes of CPU time?

Post by F. Bluemers »


2/ 3 0:00.00 16 48 Nf3 Nf6
3/ 4 0:00.00 20 196 Nf3 Nf6 Nc3
4/ 5 0:00.00 16 449 Nf3 Nf6 Nc3 Nc6
5/ 8 0:00.00 7 1214 Nf3 Nf6 Nc3 Nc6 e3
5/10 0:00.00 9 1967 e3 Nf6 Bd3 Nc6 Nc3
6/10 0:00.01 18 3178 e3 Nf6 Bd3 Nc6 Nc3 d6
7/14 0:00.01 18 8604 e3 d6 Nc3 Be6 Bd3 Nf6 Nf3
8/19 0:00.04 16 22702 e3 d6 Nc3 Nf6 Bd3 Nc6 Nf3 Be6
9/19 0:00.10 15 48772 e3 d6 Nc3 Nf6 Bd3 Nc6 Nf3 Be6 O-O
10/19 0:00.23 16 96745 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 O-O O-O
11/21 0:00.35 14 155245 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 Nb5 Bc5 O-O
12/24 0:01.26 15 570068 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 Nb5 Bc5 O-O O-O
13/24 0:02.59 3 1189046 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 O-O O-O Nb5 Bb4 Ng5
13/27 0:04.01 17 1823759 e4 e5 Nc3 Nc6 Nf3 Nf6 Bb5 Bd6 O-O O-O d4 exd4 Nxd4 Re8
14/30 0:06.39 12 2909484 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 O-O d6 d3 O-O Be3 Bxe3 fx
e3
15/46 0:18.50 14 8328125 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 O-O d6 d3 O-O Be3 Bxe3 fx
e3 Be6 Bxe6 fxe6
16/46 0:35.01 18 15754684 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 a3 a5 O-O O-O d3 d6 Be3
Bxe3 fxe3
17/46 0:59.26 19 26591053 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 a3 a5 O-O O-O d3 d6 Na4
Ba7 Bd2
q 1:00.79 27262k (448 knps)
q 1:02.81 28180k (448 knps)

C:\Documents and Settings\Fonzy\Mijn documenten\Hamsters072dev1>hamsters -thread
s 4
Threads set to: 4
Hamsters 0.7.2 dev 1 / SMP by Alessandro Scotti
a
2/ 3 0:00.00 16 48 Nf3 Nf6
3/ 4 0:00.01 20 196 Nf3 Nf6 Nc3
4/ 5 0:00.07 16 507 Nf3 Nf6 Nc3 Nc6
5/ 9 0:00.15 9 2245 Nf3 Nf6 d3 Nc6 Be3
6/10 0:00.40 18 5213 Nf3 Nf6 d3 Nc6 Be3 d6
7/13 0:00.70 18 12002 Nf3 e6 d3 Bd6 Be3 Nc6 Nc3
8/15 0:01.11 16 33075 Nf3 e6 Nc3 Nc6 e3 Bd6 Bd3 Nf6
9/17 0:01.42 15 66815 Nf3 e6 Nc3 Nc6 e3 Nf6 Bd3 Bd6 O-O
10/17 0:02.11 16 121570 Nf3 e6 Nc3 Nc6 e3 Nf6 Bd3 Bd6 O-O O-O
11/21 0:03.64 8 280733 Nf3 e6 Nc3 Nc6 d4 Nf6 Bf4 Bd6 Bxd6 cxd6 e3 O-O
11/24 0:04.50 15 605535 d4 e6 e4 Nc6 d5 Ne5 Be3 Bd6 Nc3 Nf6 Nf3
12/26 0:06.54 8 1720501 d4 d5 Nc3 Nc6 Nf3 Nf6 Bf4 Nh5 Be3 Bf5 g3 Nf6
12/27 0:08.15 10 2939960 e4 Nc6 Nc3 Nf6 Nf3 e5 a3 Bd6 Bc4 Na5 Bb5 O-O
13/27 0:10.53 19 3971446 e4 Nc6 Nc3 Nf6 Nf3 e5 d4 exd4 Nxd4 Bb4 Bg5 O-O Be2 Nxd4
Qxd4
14/30 0:13.75 12 5610550 e4 Nc6 Nc3 Nf6 Nf3 e5 Bc4 Bc5 O-O d6 d3 O-O Be3 Bxe3 fx
e3
14/31 0:16.39 13 8350047 d4 d5 Bf4 Nf6 e3 Nc6 Nc3 Bg4 Be2 Bxe2 Ngxe2 e6 O-O Bd6
Bxd6 Qxd6
15/31 0:23.14 11 14668643 d4 d5 Bf4 Nf6 e3 Nc6 Nc3 Bf5 Bd3 e6 Nf3 Bb4 O-O Bxc3 b
xc3 Bxd3 Qxd3
15/34 0:26.12 14 18480998 e4 Nc6 Nc3 Nf6 Nf3 e5 Bc4 Bc5 d3 O-O O-O d6 Be3 Bxe3 f
xe3 Be6 Bxe6 fxe6
16/44 0:33.37 14 26703028 e4 Nc6 Nc3 Nf6 Nf3 e5 Bc4 Bc5 d3 O-O O-O d6 Na4 Bb4 Be
3 Be6 Bxe6 fxe6
0:46.29 43283k (934 knps)s)
qq 0:47.32 44014k (929 knps)
2*dualcore 275 2.2Ghz
Best
Fonzy
Martin Thoresen
Posts: 1833
Joined: Thu Jun 22, 2006 12:07 am

Re: Anyone with a quad and a few minutes of CPU time?

Post by Martin Thoresen »

Hello Alessandro, I am a big fan of Hamsters!!!!

I just ran it on my computer, a Q6600 running at 3402 MHz with a CPU/RAM ratio 1:1. The latency of the RAM is 3-3-3-8 if this means anything to you.

After 15 seconds the node count is:

1 Thread: 805 kn/s
4 Threads: 2672 kn/s

Which to me implies an approximate 3.3 speedup which is not bad!

Best regards,
Martin

PS: When will this mutated Hamster be released to the public!?
Last edited by Martin Thoresen on Wed Jan 02, 2008 10:59 pm, edited 1 time in total.
Spock

Re: Anyone with a quad and a few minutes of CPU time?

Post by Spock »

I also get approx:

1 thread - 710
4 threads - 2420

Intel quad

My quad Opteron is busy at the moment, I'll run at some point
F. Bluemers
Posts: 868
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: Anyone with a quad and a few minutes of CPU time?

Post by F. Bluemers »

it seems to do well here upto 3 threads
total cpu usage in 4 threads "mode"varies wildy between 70 and 90%.
C:\Documents and Settings\Fonzy\Mijn documenten\Hamsters072dev1>hamsters -thread
s 1
Threads set to: 1
Hamsters 0.7.2 dev 1 / SMP by Alessandro Scotti
a
2/ 3 0:00.00 16 48 Nf3 Nf6
3/ 4 0:00.01 20 196 Nf3 Nf6 Nc3
4/ 5 0:00.03 16 449 Nf3 Nf6 Nc3 Nc6
5/ 8 0:00.06 7 1214 Nf3 Nf6 Nc3 Nc6 e3
5/10 0:00.07 9 1967 e3 Nf6 Bd3 Nc6 Nc3
6/10 0:00.09 18 3178 e3 Nf6 Bd3 Nc6 Nc3 d6
7/14 0:00.12 18 8604 e3 d6 Nc3 Be6 Bd3 Nf6 Nf3
8/19 0:00.17 16 22702 e3 d6 Nc3 Nf6 Bd3 Nc6 Nf3 Be6
9/19 0:00.23 15 48772 e3 d6 Nc3 Nf6 Bd3 Nc6 Nf3 Be6 O-O
10/19 0:00.34 16 96745 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 O-O O-O
11/21 0:00.48 14 155245 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 Nb5 Bc5 O-O
12/24 0:01.39 15 570068 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 Nb5 Bc5 O-O O-O
13/24 0:02.73 3 1189046 e3 Nf6 Nc3 Nc6 Nf3 e6 Bd3 Bd6 O-O O-O Nb5 Bb4 Ng5
13/27 0:04.14 17 1823759 e4 e5 Nc3 Nc6 Nf3 Nf6 Bb5 Bd6 O-O O-O d4 exd4 Nxd4 Re8
14/30 0:06.53 12 2909484 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 O-O d6 d3 O-O Be3 Bxe3 fx
e3
15/46 0:18.67 14 8328125 e4 e5 Nc3 Nc6 Nf3 Nf6 Bc4 Bc5 O-O d6 d3 O-O Be3 Bxe3 fx
e3 Be6 Bxe6 fxe6
q 0:19.56 8716k (445 knps)

C:\Documents and Settings\Fonzy\Mijn documenten\Hamsters072dev1>hamsters -thread
s 2
Threads set to: 2
Hamsters 0.7.2 dev 1 / SMP by Alessandro Scotti
a
2/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 Nf6 Nf3 Bf5
14/33 0:06.57 12 7615839 e4 e5 Nc3 Nc6 Bc4 Nf6 Nf3 Bc5 d3 O-O O-O d6 Be3 Bxe3 fx
e3
15/35 0:10.35 14 12148386 e4 e5 Nc3 Nc6 Bc4 Nf6 Nf3 Bc5 d3 O-O O-O d6 Be3 Bxe3 f
xe3 Be6 Bxe6 fxe6
16/35 0:18.71 14 22304019 e4 e5 Nc3 Nc6 Bc4 Nf6 Nf3 Bc5 d3 O-O O-O d6 Be3 Bxe3 f
xe3 Be6 Bxe6 fxe6
q 0:20.48 24411k (1191 knps)

C:\Documents and Settings\Fonzy\Mijn documenten\Hamsters072dev1>hamsters -thread
s 4
Threads set to: 4
Hamsters 0.7.2 dev 1 / SMP by Alessandro Scotti
a
2/ 3 0:00.00 16 48 Nf3 Nf6
3/ 4 0:00.09 20 196 Nf3 Nf6 Nc3
4/ 5 0:00.10 16 510 Nf3 Nf6 Nc3 Nc6
5/ 9 0:00.15 7 1822 Nf3 Nf6 Nc3 Nc6 e3
5/10 0:00.26 9 3025 e3 Nc6 Bd3 Nf6 Nc3
6/10 0:00.57 18 6968 e3 Nc6 Nc3 d6 Bd3 Nf6
7/12 0:00.81 18 15862 e3 d6 Nc3 Be6 Bd3 Nf6 Nf3
8/14 0:01.23 16 34731 e3 d6 Nc3 Nc6 Nf3 Nf6 Bd3 Be6
9/18 0:01.73 15 78207 e3 d6 Nc3 Nc6 Nf3 Nf6 Bd3 Be6 O-O
10/21 0:02.48 16 179706 e3 Nf6 Nf3 e6 Nc3 Nc6 Bd3 Bd6 O-O O-O
11/21 0:03.71 2 347225 e3 Nf6 Nf3 e6 Nc3 Nc6 Bd3 Bc5 O-O O-O Ng5
11/23 0:04.06 8 442526 Nf3 Nf6 Nc3 Nc6 d4 e6 Bf4 Bd6 Bxd6 cxd6 e3 O-O
11/25 0:04.54 14 716390 d4 Nf6 Nc3 e6 e4 Nc6 h4 g6 e5 Nd5 Nxd5 exd5
12/26 0:06.45 16 1558677 d4 Nf6 Nc3 d5 Bf4 Nh5 Bd2 g6 Nf3 Nc6 Nb5 Bf5
13/28 0:08.31 19 2673755 d4 Nf6 Nc3 d5 Bf4 Bf5 e3 Nc6 Bd3 e6 Bxf5 exf5 Nf3 Bd6
14/29 0:11.37 16 4895947 d4 Nf6 Nc3 d5 Bf4 Bf5 e3 Nc6 Bd3 e6 Bxf5 exf5 Nf3 Bd6 O
-O Bxf4 exf4
15/39 0:19.39 19 12722707 d4 Nf6 Nc3 d5 Bf4 Bf5 h3 Nh5 Be3 Nf6 Nf3 h5 Nh4 Bd7 Bf
4
q 0:22.01 15389k (699 knps)
Best
Fonzy
Alessandro Scotti

Re: Anyone with a quad and a few minutes of CPU time?

Post by Alessandro Scotti »

F. Bluemers wrote:it seems to do well here upto 3 threads
total cpu usage in 4 threads "mode"varies wildy between 70 and 90%.
Hi Fonzy,
thanks for the info. This problem could be related to Hamsters making a bad use of the cache lines. Could you run the test again on a version I compiled for you? If so, you can download the new version on the same Hamsters page (refreshed) or from here:

http://www.ascotti.org/programming/ches ... _Fonzy.zip

Note: this doesn't change anything for the quads!

Thanks again!
Alessandro Scotti

Re: Anyone with a quad and a few minutes of CPU time?

Post by Alessandro Scotti »

Martin T wrote:Hello Alessandro, I am a big fan of Hamsters!!!!

I just ran it on my computer, a Q6600 running at 3402 MHz with a CPU/RAM ratio 1:1. The latency of the RAM is 3-3-3-8 if this means anything to you.

After 15 seconds the node count is:

1 Thread: 805 kn/s
4 Threads: 2672 kn/s

Which to me implies an approximate 3.3 speedup which is not bad!

Best regards,
Martin

PS: When will this mutated Hamster be released to the public!?
Thanks Martin,
my hamsters told me they like you too! :-)

I think this version will have to wait a bit before going public. On top of the list is solving the problem found by Fonzy, where adding the 4th thread slows things down.
After that I would like to address some of the evaluation problems pointed at by Swaminathan and Graham, with the goal of adding maybe 20-30 elo to the single CPU version.
Finally, I've had to rewrite some parts of the engine and that has broken the search algorithm used for the "easy" levels, this has to be fixed too.
So... lots of things and with the holidays over not much time anymore! :?
Alessandro Scotti

Re: Anyone with a quad and a few minutes of CPU time?

Post by Alessandro Scotti »

Thanks Ray,
it seems the program does quite well on Intel quads! :)