Brutus

Home * Engines * Brutus



Brutus, a FPGA based chess entity developed by Chrilly Donninger, supported by Alex Kure and Ulf Lorenz. Brutus consists of usual PCs with Xilinx Virtex FPGA boards inside, and was designed in dependence on the Belle and Deep Thought chess machines. In fact, it was Ken Thompson who initiated and supported the FPGA chess project. After the WCCC 2003, Brutus evolved to Hydra.

=How it started= In early 2000, Ken Thompson told his friend Frederic Friedel about interesting hardware developments concerning FPGAs, and asked whether he was aware of a programmer who could build such a kind of "People's Deep Blue". ChessBase, surely interested in the commercial aspects of such a machine, engaged Chrilly Donninger for the development of a FPGA based chess hardware and program. The work on Brutus started in October 2000, one year later it could calculate its first position, and in January 2002, it played its first game. Soon, programmer, chess expert and opening book author Alex Kure, and in November 2002, Ulf Lorenz, responsible for the surrounding distributed search, joined the Brutus team, with ChessBase and the Paderborn University cooperating on the project.

=Etymology= The name Brutus was chosen by Matthias Wüllenweber due to his spot on Ancient Rome. The idea was a "People's Deep Blue" to dethrone "Caesar" Garry Kasparov.

=Description= Brutus partially ran on PCs and partially on FPGA cards. Opposed to a pure move generation approach, and to diminish PCI communication overhead with the PC, the hardware was designed also to perform a kind of iterative search. Brutus’ FPGA definition was written in the Verilog hardware description language, and uses 67 out of 96 BlockRAMs, 534 of 24,576 Flip-Flops, and 18,403 of 24,576 LUTs of the Virtex board. Brutus on a Xilinx Virtex V405E FPGA development board

FPGA Search
Brutus calculates the last 3 plies of an n-ply search on the FPGA side, inclusively quiescence search and evaluations. It essentially contains a big piece of combinatorial logic, controlled by a finite state machine (FSM) with 54 states for the search. An upper bound for the number of cycles per search node is 9. The Figure below shows a simplified version of the FSM that controls the search on the FPGA card. States must not be interpreted as time points when functions are called. E.g. the move generator and the evaluation are never called in that sense. They are running all the time.

Search in Hardware: Simplified state diagram

Evaluation
The evaluation consists of many small features which are summed up by one large adder tree. All features are determined simultaneously.

Move Generation
The Belle like move generator consists of the generate aggressor module and the generate victim module, both instantiate 64 square modules, one for each square. The squares send piece-signals if any, respectively forwarding the signals of sliding pieces. Each square can output the signal ’victim found’ to indicate the ’victim’ is target square of a pseudo-legal move. The collection of all ’victim found’ signals is the input for a comparator tree, an arbiter, which selects the most attractive, not yet examined victim. The generate aggressor module takes the arbiter’s output as input and sends the signal of a super-piece from the target to find one or more origin squares. Selection criteria are the values of attacked pieces and whether or not a move is a killer move.

Distributed Search
The most sensitive and important part of Brutus search algorithm is distributed among several standard PCs, connected via a high-speed Myrienet. Based on work stealing, one processor receives the current chess position and basically begins a sequential alpha beta search, while idle processors send work requests randomly around the net. When a working processor captures such a request, it distributes part of his own (sub-) problem. Using a tricky messaging system between the processors, the work is dynamically balanced with little search overhead. After a while, all processors have something useful to do. A processor generates approximately 100,000 searches on a FPGA board per second.

=Tournament Play= A Brutus prototype had its debut at the IPCCC 2002 with an expected 50% score, but Brutus quickly improved and already played a strong WCCC 2002 in Maastricht, where it became third only loosing a spectacular game from later champion Junior. At the IPCCC 2003, Brutus became third again, then, in August 2003, it won the 11th Grandmaster Tournament in Lippstadt with 9 out of 11, and seemed dedicated to win the upcoming WCCC 2003 in Graz, but after two consecutive losses from Shredder and Deep Junior in round 5 and 6, Brutus finished disappointing fourth. As a consequence, ChessBase went out of the project, which then continued under the patronage of the Pal Group of Companies under its new name Hydra.

=Photos & Games=

IPCCC 2002
IPCCC 2002: Alex Kure, Chrilly Donninger, Mathias Feist, Brutus vs. Fritz 0 - 1 [Event "IPCCC 2002"] [Site "Paderborn GER"] [Date "2002.03.03"] [Round "07"] [White "Brutus-XPa"] [Black "Fritz"] [Result "0-1"] [ECO "E34"]

1.d4 Nf6 2.c4 e6 3.Nc3 Bb4 4.Qc2 d5 5.cxd5 Qxd5 6.Nf3 Qf5 7.Qxf5 exf5 8.a3 Be7 9.Bf4 c6 10.e3 Nbd7 11.Bc4 Nb6 12.Ba2 Be6 13.Be5 h6 14.Ke2 a5 15.Rhc1 a4 16.Kf1 O-O 17.Ne2 Ne4 18.Bxe6 fxe6 19.Nf4 Kf7 20.Bxg7 Kxg7 21.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Kc3 Ra8 57.Kd4 g6 58.hxg6 Rg8 59.c5 dxc5+ 60.bxc5 Rxg6 61.c6 Rxg4+ 62.Kc5 Ra4 63.Rd8 Rxa5+ 64.Kb6 Ra2 65.c7 Rc2 66.c8=Q+ Rxc8 67.Rxc8 Kf5 68.Rh8 Kg5 69.Kxa6 h5 70.Kb5 h4 71.Kc4 Kg4 72.Kd4 Kg3 73.Ke3 Kg4 74.Rh7 h3 75.Rh6 f5 76.Rg6+ Kh4 77.Kf4 1-0

=Namesake=
 * Brutus by Stephan Vermeire

=See also=
 * Belle
 * Hydra

=Publications=
 * Eric Hallsworth (2002). The Brutus Project. Selective Search 101, pp. 33, pdf hosted by Mike Watters
 * Wenzel Mraček (2003). Zu Besuch bei Christian „Chrilly“ Donninger. pdf (German)
 * Chrilly Donninger, Alex Kure, Ulf Lorenz (2004). Parallel Brutus: The First Distributed, FPGA Accelerated Chess Program. IPDPS’04
 * Chrilly Donninger (2007). Flugstunden mit Ken Thompson. pdf (German)

=Forum Posts=

2002

 * Any details about Brutus? by Peter McKenzie, CCC, February 27, 2002
 * Junior Verses Brutus --> Rxc4 "The best PC chess move ever?" by Dann Corbit, CCC, July 31, 2002

2003

 * Suturb - Bob by Frank Phillips, CCC, January 22, 2003
 * Re: What happens to the BRUTUS Project by Dr. Donninger ? by Chrilly Donninger, CCC, April 01, 2003
 * Status of Brutus? by O. Veli, CCC, July 26, 2003
 * Brutus has won the Lippstadt Tournament by Tomas Casanovas Martinez, CCC, August 16, 2003
 * Go Brutus!! by Pete Rihaczek, CCC, November 24, 2003

2004 ...

 * Was Brutus cancelled? by Keith Evans, CCC, January 15, 2004
 * Hydra??? by Bob Durrett, CCC, February 13, 2004

=External Links=

Chess Entity

 * Brutus' ICGA Tournaments
 * Comp Brutus chess games - 365Chess.com
 * Brutus - Was ist das denn?, ChessBase News, March 07, 2002 (German)
 * What is Brutus?, ChessBase News, March 20, 2002
 * Parallele Schachprogrammierung, ChessBase News, September, 16, 2003 (German)
 * Schach + PC - Brutus by Peter Schreiner, Schachclub Leinzell, April 2002 (German)
 * Hydra (chess) from Wikipedia (covers Brutus)

Maastricht

 * Vormärz by Chrilly Donninger, Old CSVN site (German)

Lippstadt

 * Brutus mit Auftaktsieg, ChessBase News, August 08, 2003 (German)
 * Brutus in Lippstadt mit zweitem Sieg, ChessBase News, August 09, 2003 (German)
 * Grandmasters brutalised in Lippstadt, ChessBase News, August 10, 2003
 * Spielen wie Tal, ChessBase News, August 10, 2003 (German)
 * Brutus auch nur ein Mensch, ChessBase News, August 11, 2003 (German)
 * Brutus remis, ChessBase News, August 12, 2003 (German)
 * Brutus reloaded, ChessBase News, August 13, 2003 (German)
 * Brutus: Held mit programmierter Götterdämmerung?, ChessBase News, August 14, 2003 (German)
 * Brutus vor Maiwald und Cyborski, ChessBase News, August 15, 2003 (German)
 * Brutus marschiert, ChessBase News, August 16, 2003 (German)
 * Brutus mit GM-Norm, ChessBase News, August 17, 2003 (German)

Graz

 * Brutus defeats Fritz in round four, ChessBase News, November 24, 2003
 * Computer Championship: Shredder stops Brutus, ChessBase News, November 25, 2003

Brutus

 * Brutus (disambiguation) from Wikipedia
 * Marcus Junius Brutus the Younger from Wikipedia
 * Assassination of Julius Caesar from Wikipedia
 * Et tu, Brute? from Wikipedia


 * Lucius Junius Brutus from Wikipedia
 * Brutus of Troy from Wikipedia
 * List of Arthurian characters from Wikipedia
 * Bluto from Wikipedia
 * Fifty Years With Brutus! • Animated Views
 * Brutus cluster from Wikipedia of ETH Zurich
 * Brutalist architecture from Wikipedia
 * Brutus - Mystery Machine from Behind the Mountains (2013), YouTube Video

=References= Up one Level