Slashdot Mirror


Building A Homemade Chess Supercomputer

nado writes "There's a new article on Chessbase.com which has GM John Nunn showing you his chess-orientated PC upgrade to a double Xeon system, with some Fritz benchmarks." Elsewhere in the article, John Nunn discusses the unique computer needs for chess computation: "One of the problems with currently available processors is that they are not particularly well suited to the integer calculations used for chess. A Pentium 4 will be slower at chess than a Pentium 3 of an equivalent clock speed."

19 of 282 comments (clear)

  1. fp about Go in a chess article! by Thinkit3 · · Score: 0, Insightful

    I think. W00T! Anyway, Go is actually a much more interesting and elegant game, for both playing and programming. A neural network program is active in the computer Go scene. Dedicated hardware would be interesting for Go, as it is essentially a simple matrix--maybe a very elegant computer player could be made.

    --
    -Libertarian secular transhumanist
  2. P3 faster then P4 at same clock speed? by S.+Traaken · · Score: 4, Insightful

    Does this actually surprise anyone? The P4 was only an exercise in marketing by Intel - redesign the chipset so it can be clocked nice and high (so it appeals to the average consumer) and to hell with the performance...

    1. Re:P3 faster then P4 at same clock speed? by Eyston · · Score: 1, Insightful

      Nice to see the AMD fanboys get to use FUD now.

      Marketing excersize, to hell with performance. Exactly. Just imagine what would of happened if Intel had let engineers design the chip with performance in mind. Instead of a P4 that beats the top of the line Athlon, we'd have a P4 that beats the top of the line Athlon.

      Oh wait...

      -Eyston

    2. Re:P3 faster then P4 at same clock speed? by JebusIsLord · · Score: 4, Insightful

      Total and complete bullshit!

      Japanese sports cars have small engines, which rev really high. These are hightech, powerful and sought-after technologies. The P4 is analagous. American and European sportscars have large, slow-reving, high-torque monster engines which are also powerful and sought-after. This is analagous to the Athlon. They have been leapfroging eachother for years now in performance - each has a different but equally valid way to get there.

      It is true though, that the customer only sees clockspeed (RPMs in my analogy) - which tends to help Intel. This does NOT however make it an inferiour method of acheiving performance.

      --
      Jeremy
    3. Re:P3 faster then P4 at same clock speed? by harlows_monkeys · · Score: 2, Insightful
      The P4 was only an exercise in marketing by Intel - redesign the chipset so it can be clocked nice and high (so it appeals to the average consumer) and to hell with the performance

      The P4 handily outperforms the P3. It is irrelevant that it does so partly by running at a higher clockrate.

    4. Re:P3 faster then P4 at same clock speed? by hawkbug · · Score: 4, Insightful

      Ooh, ooh, call on me! Is price a good enough reason??

    5. Re:P3 faster then P4 at same clock speed? by laird · · Score: 2, Insightful

      Actually, it's pretty relevant -- if a processor requires higher clock speed to reach the same performance as another chip, it'll require more power, require a more expensive supporting chipset, require more expensive RAM, generate more heat, etc.

    6. Re:P3 faster then P4 at same clock speed? by akuma(x86) · · Score: 3, Insightful

      Does this actually surprise anyone? The P4 was only an exercise in marketing by Intel - redesign the chipset so it can be clocked nice and high (so it appeals to the average consumer) and to hell with the performance...

      Let me use the converse of your argument. AMD redesigned their chipset to make their IPC too high and to hell with performance.

      Why do people insist that high frequency automatically means low performance? I'd say the P4 is pretty damn fast.

      It does not matter if the frequency is high or low. If you get the performance, who cares if the frequency is 1GHz or 4GHz? There are lots of ways to go for performance - 2 extremes are "narrow-and-fast" and "wide-and-slow".

      Nobody complained when Alpha went for low-ipc/high-frequency designs. Students of computer architecture will remember the days in the early 90s when there was a contest between the "speed-demons" and the "brainiacs". HP built the 'brainiac' machine (which was lower in frequency but had a wider issue) and Dec (Alpha) went for the 'speed-demon' (faster clock, lower-ipc). History shows that Alpha won that particular battle (performance-wise, not market-wise).

      Getting higher IPC is hard. In fact, making a superscalar, out-of-order machine wider is really hard. The hardware cost and power grow as the square of the width. Getting higher frequency is hard too, but some believe it is not as hard as getting higher IPC. The cost of the hardware and power of a higher frequency machine grows linearly with frequency.

      Yes, the P4 is designed to clock higher than an Athlon. They use fewer gates-per-clock and therefore, necessarily do less work per clock. Unfortunately, performance is not measured in work-done-per-clock. It's measured in absolute time. So if you can get the same amount of work done in the same amount of time, but use more clocks to do it, why should you as a user care? You still got the performance.

  3. Should this have been said? by Anonymous Coward · · Score: 3, Insightful

    I'm not sure this should have been said:

    "A Pentium 4 will be slower at chess than a Pentium 3 of an equivalent clock speed."

    That's too easy to be distorted

    I'm sure a marketing group or some such, for intel competitors or even PPC, will say

    "A Pentium 4 will be slower ... than a Pentium 3 of an equivalent clock speed."

    And then use it to justify their own means.

    Hmmm?

  4. FritzMark by sn00ker · · Score: 3, Insightful
    How old is this software that it's not multi-threaded?
    Software to examine chess games would be a perfect example of the major performance improvements to be had with multi-threading. A new thread per processor, with each thread examining different possible move paths, would give dramatic speed gains.

    --
    "God, root, what is difference?" - Pitr, userfriendly
  5. Re:That CPU comment looks stupid. by gantrep · · Score: 2, Insightful

    It's pretty simple really, the guy is not a computer nerd like us. Note that from the article he says his brother is really the one that built it, and that putting a chip on a motherboard is tricky.

  6. And, in other news ... by pz · · Score: 5, Insightful

    So this Brit (who's REALLY good at chess) put together a machine that overall isn't all that stunning, specifically to play chess.

    Let me get this straight: he didn't select a purpose-designed processor, he didn't even do a survey of available processors (forget including non-Intel architecures) to see which would give him the best integer performance for the task, he doesn't consider chipset, he doesn't consider memory architecture, he's willing to accept one hardware-caused crash per month, he seems to think that configuring a machine and having his brother put it together is "building" one, and thinks that a purpose-built machine should be able to accept the OS and data (read: disk contents) from a previous machine without hiccough. While perhaps interesting to the chess afficionados, I fail to see the relevance on Slashdot.

    Why are we seeing this article instead of something on any one of the serious chess machines? Why is this article more newsworthy than, say, Anandtech or SharkyExtreme or Tom's Hardware's pick for the baddest machine you can currently build? Just because a Grand Master did it?

    To be fair, I have great respect for anyone who can attain the Grand Master level -- that's something I'll never do in my lifetime. He's clearly shown tremendous talent and devotion to chess, and my hat is off to John Nunn for that. But he's a computer harware expert? A supercomputer architect? Are we at the start of a new series of Slashdot articles on computers of the Rich and Famous? What's next, diet tips from RMS? Health advice from Linus? The EFF Cookbook?

    --

    Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    1. Re:And, in other news ... by GrodinTierce · · Score: 2, Insightful

      Just to echo the parent, the gut basically had his brother build a dual Xeon system, which is really nothing special by itself, and certainly doesn't justify the title, Building A Homemade Chess Supercomputer.

      Tierce

      --


      Tierce
      Who sponsors your feelings?
  7. Price, specific apps and current platform. by eddy · · Score: 2, Insightful

    Price (as mentioned) and performance in specific applications, if applicable.

    "Current platform" is of course also a big reason to stick with one or the other when upgrading, though that might be a little bit more relevant for people upgrading on the Athlon-line, since AMD stuck with SocketA for a long time while Intel enjoyed going from Slot-1/whatever to SocketX/Y/Z forcing motherboard replacement between processors.

    --
    Belief is the currency of delusion.
  8. Re:why is it? by jericho4.0 · · Score: 3, Insightful
    I'm guessing you mean the G4 line of Macs. These boxes exel at certain types of calculations, with the help of the Altivec, but would suffer from the same disadvantage the P4 does, namely lousy integer performance.

    I expect this might be a different picture tomorow, with the much rumored anouncment of the G5@2GHz.

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  9. Re:So why didn't he get ECC memory? by User+956 · · Score: 2, Insightful

    If he's concerned about reliability and is having problems convincing his vendor that he's getting hardware errors, he should get ECC memory.

    While he's got him on the phone, he should ask the vendor where he can get one of these "equivalent" Pentium III's. I didn't know PIII's came in 3Ghz these days.

    The whole point of the differing Pentium 4 architecture is that it scales well with clockspeed; and with the introduction of Hyperthreading on the newer chips, The P4 has really come into its own as far as performance.

    Comparing nonexistent chips with existing chips is kind of a pointless exercise.

    --
    The theory of relativity doesn't work right in Arkansas.
  10. Re:special purpose hardware by MechaStreisand · · Score: 2, Insightful

    That is true.

    But if you can include special purpose chips (ASICs) in any comaparison, then general purpose processors won't be the best at any single task. An ASIC can be made for any program that can be written, and it'll run that program faster than any CPU made by the same process.

    For instance: want to know what is the best CPU for performing matrix multiplication? An ASIC. What's the best CPU for rendering 3D images? An ASIC (like the ones used in modern video cards - they're ASICs of a sort). What's the best CPU for playing Quake III - Arena? An ASIC with the Quake III program encoded in its logic gates... You see how comparisons like this can be silly.

    The only thing general-purpose processors are best at is running many different programs.

    --
    Disclaimer: IANAL. This post is, however, legal advice, and creates an attorney-client relationship.
  11. It's too bad... by NerveGas · · Score: 4, Insightful


    That the software doesn't (seem) to exist to use a cluster instead.

    No, really, this isn't one of the "imagine a Beowolf of these..." posts. Here's my point: For the cost of just one of the *processers* that he bought, you can build an *entire machine*, happily running an AthlonXP 2700+. An ENTIRE MACHINE. So, for the cost of the two processers, you've got two machines. For the cost of the SuperMicro motherboard and chassis, you can build two MORE machines. With the cost for the rest of the stuff, there's a fifth machine thrown in to boot.

    So, what will be faster - a dual 2.8 GHz Xeon, or 5 AthlonXP 2700+ machines? My money's on the cluster, for this particular application. The Xeon machine has 533 MHz of total memory bandwidth, split between two processers, effectively 266 MHz each. The AthlonMP systems, with 333 MHz each, would have a combined bandwidth of 1,665 MHz - about three times that of the Xeon system.

    To make it better, the Athlon is MUCH better than the P3 OR the P4 for integer work, which makes me wonder why he would choose the P4 in the first place. Furthermore, not only does the Athlon do much more in a clock cycle than a P4, you'd have a combined clock speed of 10.8 GHz with the Athlons instead of the 5.6 GHz of the Xeons. Twice the clock speed, AND more work per cycle!

    Now, of course, being able to actually USE that clock speed would be dependent upon actually transmitting the messages back and forth, and efficiently dividing the work between the machines. In this sort of situation, where for any one point in time, there would be a great deal of possibilities to compute, it would seem like it would divide up very well.

    steve

    --
    Oh, you're not stuck, you're just unable to let go of the onion rings.
  12. Definately Marketing Hype! by Anonymous Coward · · Score: 1, Insightful

    People have always associated clockspeed with performance, even though we got our first taste of the higher performance at lower clock speed with the Pentium 60/66 which stomped on the 486/100.

    That first Pentium was a flop (the table look up bug didn't help either). AMD were selling a 486 at 133Mhz, so they can't claim they weren't in the Mhz war themselves.

    The Pentium 4 in my opinion is a piece of crap. Thankfully they have increased the frontside bus to 800Mhz, but that is still far behind the 3Ghz clock speed. I prefer SMP systems, so (with Intel Xeon) it only gets worse!

    On the other hand the "Banias" cpu for mobiles is very interesting, and I wouldn't mind two in SMP configuration running at 2Ghz, now that would rock! Funny how Intel back peddled with the Mhz issue with this CPU.