Slashdot Mirror


Data Sorting World Record — 1 Terabyte, 1 Minute

An anonymous reader writes "Computer scientists from the University of California, San Diego have broken the 'terabyte barrier' — and a world record — when they sorted more than a trillion bytes of data in 60 seconds. During this 2010 'Sort Benchmark' competition, a sort of 'World Cup of data sorting,' the UCSD team also tied a world record for fastest data sorting rate, sifting through one trillion data records in 172 minutes — and did so using just a quarter of the computing resources of the other record holder."

19 of 129 comments (clear)

  1. Doesn't sound so hard... by Minwee · · Score: 5, Funny

    As long as you use Intelligent Design Sort.

  2. I used to think it was great by MichaelSmith · · Score: 4, Interesting

    I had a 6502 system with BASIC in ROM and a machine code monitor. The idea is to copy a page (256 bytes) from the BASIC ROM to the video card address space. This puts random characters into one quarter of the screen. Then bubble sort the 256 bytes. It took about one second.

    For extra difficulty do it again with the full 1K of video. Thats harder with the 6502 because you have to use vectors in RAM for the addresses. So reads and writes are a two step operation, as is incrementing the address. You have to test for carry. But the result was spectacular.

  3. Great to see sorting research advance by SuperKendall · · Score: 3, Insightful

    You almost think at this point that with super fast systems attention to algorithmic complexity hardly matters, it's good to see research still advancing and that there are areas where carefully designed algorithms make a huge difference. I look forward to seeing how they fare against the Daytona set.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  4. World Cup of data sorting by the_other_one · · Score: 3, Funny

    How many parallel predicting octopuses were required to predict their victory?

    --
    134340: I am not a number. I am a free planet!
  5. Re:1-byte records? by mike260 · · Score: 4, Informative

    Ah, my mistake - the "trillion data records" refers to a different benchmark. In the 1TB benchmark, records are 100 bytes long.

  6. Only 52 nodes by Gr8Apes · · Score: 4, Interesting

    You've got to be kidding me. Each node was only 2 quad core processors, with 16 500GB drives (big potential disk IO per node) but this system doesn't even begin to scratch the very bottom of the top 500 list.

    I just can't image that if even the bottom rung of the top 500 was even slightly interested in this record, that they wouldn't blow this team out of the water.

    --
    The cesspool just got a check and balance.
    1. Re:Only 52 nodes by rm999 · · Score: 3, Informative

      I don't know much about them, but perhaps most supercomputers break this rule: "The hardware used should be commercially available (off-the-shelf), and unmodified (e.g. no processor over or under clocking)"

    2. Re:Only 52 nodes by straponego · · Score: 4, Informative

      No, most Top500 machines are composed of commercially available, unmodified parts. More than half use GigE interconnects, though Infiniband has nearly caught up. I'm not sure if you'd count Infiniband as COTS-- at least a couple of years ago, it was fairly involved to configure, and it's not cheap. But anybody who has the money can buy it.

    3. Re:Only 52 nodes by Anonymous Coward · · Score: 3, Insightful

      You say that in a way where someone could misinterpret the interconnect as not being a big deal. Poor interconnects are why EC2 wasn't useful for HPC (their new option sounds somewhat better, but is limited to 16 nodes, IIRC) and why iPod Touches or similar devices have very few possible applications for clustering. If good interconnects weren't important, then clustering portable systems would be inevitable -- e.g., if you wanted more computing power for your laptop, you could just plug in your phone or mp3 player or iPad.

  7. Amendments to the Geek Heirarchy by Lord_of_the_nerf · · Score: 5, Funny

    LARPers > Fan-fiction writers > Professional Data Sorting Competitors > Furries

  8. Been doing this for years... by HockeyPuck · · Score: 3, Funny

    Why is sorting 1TB so hard?

    I can just instruct my tape library to put the tapes in the library in alphabetical order in the slots... Y'know AA0000 AA0001 AA0002... moves a hell of a lot more than 1TB.

  9. Re:good choice by draconx · · Score: 4, Insightful

    No, a sort of 'world cup of data sorting' ends in 'cup data of sorting world'.

  10. 1 Trillion Records Sorted by amirulbahr · · Score: 4, Informative

    When I read the summary I thought what's the big deal if the 1 TB of data only contained two records 0.5 TB each. Then I saw that kdawson wrote the summary. So I browsed over here and saw that the impressive thing is that they sorted 1,000,000,000,000 records of 100 bytes each with 10 byte keys.

  11. Important Details.... by pdxp · · Score: 5, Interesting
    ... to make it clear that you won't be doing it (TritonSort, thanks for leaving that out kdawson) on your desktop at home:
    • 10Gbps Networking
    • 52 servers x 8 cores each = 416 CPUs
    • 24 GB RAM per server = 1,248 GB
    • ext4 filesystem on each, presumably with hardware raid

    I think this is cool, but.... how fast is it in a more practical situation?

    source

  12. What makes it a barrier? by Patch86 · · Score: 5, Insightful

    Impressive and all, but I take umbrage at calling it a "1 TB barrier". Is it disproportionately more difficult than sorting 0.99 TB?

    Breaking "the sound barrier" was hard because of the inherent difficulty of going faster that sound in an atmosphere (sonic booms and whatnot). It was harder than simply travelling that fast would have been.

    If this is just further evolution of sorting speed, it makes it a milestone, not a barrier.

    1. Re:What makes it a barrier? by maxwell+demon · · Score: 5, Funny

      Impressive and all, but I take umbrage at calling it a "1 TB barrier". Is it disproportionately more difficult than sorting 0.99 TB?

      At 1TB the attraction of the 1-bits gets so large that if you are not careful, your data collapses into a black hole.

      --
      The Tao of math: The numbers you can count are not the real numbers.
  13. Pretty close to theoretical max by melted · · Score: 3, Interesting

    Let's consider 100TB in 172 minute thing they also did. 52 nodes, 16 spindles per node is 832 spindles total and 120GB of data per spindle. 120GB of data can be read in 20 minutes and transfered in another 15 to the target spindles (assuming uniform distribution of keys). You can then break it down into 2GB chunks locally (again by key) as you reduce. Then you spend another hour and a half reading individual chunks, sorting them in memory, concatenating and writing.

    Of course this only works well if the keys are uniformly distributed (which they often are) and if data is already on the spindles (which it often isn't).

  14. Re:Oh brother.. by Dunbal · · Score: 3, Funny

    Please don't tell my girlfriend, she'll realize I've been faking being a semi-normal cool guy for years, and leave me.

          Nah, she'll realize that you're more turned on by a new processor than by a pair of tits, and stay with you forever knowing you'll never cheat on her (except when you go to that site to download algorithms). You might have to give in and move out of the basement though. But not to worry - a good set of blackout curtains and it's almost the same. Plus as you get older the lack of dampness is easier on your rheumatism...

    --
    Seven puppies were harmed during the making of this post.
  15. ((Triton)|(Gray)|(Minute))Sort by Lord+Grey · · Score: 4, Informative

    A paper describing the test is here. TritonSort is the abstract method; GraySort and MinuteSort are concrete/benchmarked variations of TritonSort.

    As TFA states, this is more about balancing system resources than anything else. The actual sort method used was "a variant of radix sort" (page two of the linked PDF). Everything else was an exercise in how to break up the data into manageable chunks (850MB), distribute the chunks to workers, then merge the results. That was the real breakthrough, I think. But I wonder how much is truly a breakthrough and how much was just taking advantage of modern hardware, since one of the major changes in MinuteSort is simply avoiding a couple of disk writes by keeping everything in RAM (a feat possible because that much RAM is readily available to a single worker).

    Regardless, this kind of work is very cool. If web framework developers (for example) paid greater attention to balancing data flow and work performed, we could probably get away with half the hardware footprint in our data centers. As it stands now, too many COTS -- and hence, often-used -- frameworks are out of balance. They read too much data for the task, don't allow processing until it's all read in, etc.. This causes implementors to add hardware to scale up.

    --
    // Beyond Here Lie Dragons