Slashdot Mirror


Researcher Shows How GPUs Make Terrific Network Monitors

alphadogg writes "A network researcher at the U.S. Department of Energy's Fermi National Accelerator Laboratory has found a potential new use for graphics processing units — capturing data about network traffic in real time. GPU-based network monitors could be uniquely qualified to keep pace with all the traffic flowing through networks running at 10Gbps or more, said Fermilab's Wenji Wu. Wenji presented his work as part of a poster series of new research at the SC 2013 supercomputing conference this week in Denver."

37 of 67 comments (clear)

  1. That's it? by drcheap · · Score: 4, Informative

    So in violation of /. convention, I went ahead and read TFA in hopes that were would actually be something more than "we solved yet another parallel computing problem with GPUs." Nope, nothing. Not even some useless eye candy of a graph showing two columns of before/after processing times.

    And the article just *had* to be split into two pages because it would have killed them to include that tiny boilerplate footer on page one. What a fail...at least it wasn't a blatant slashvertisement!

    1. Re:That's it? by timeOday · · Score: 5, Funny
      They said it achieves a speedup of 17x, here is the graph:

      CPU: X
      GPU: XXXXXXXXXXXXXXXXX

    2. Re:That's it? by Anonymous Coward · · Score: 1

      I don't think you understand how hyperthreading works.

      It doesn't let it do twice as many tasks simultaniously, it just lets it work on another task when it would otherwise be idle while waiting for some other hardware to do something.

    3. Re:That's it? by VTBlue · · Score: 1

      A speedup of 17x over a single core. Using an 8 core Xeon (16 threads with hyperthreading) would give a similar speedup.

      From the two-page report: "When compared to a 6-core CPU (m-cpu), the speedup ratios range from 1.54 to 3.20."

      so yeah, the 17x is misleading because what network monitoring load would run on a single core?

    4. Re:That's it? by edibobb · · Score: 1

      In defense of the researcher (and not the author of the article), it was just a poster presented at a conference, not a published paper.

    5. Re: That's it? by Anonymous Coward · · Score: 1

      lol wut? name *one* (real-world) workload where you get double the execution throughput.

    6. Re:That's it? by NothingMore · · Score: 4, Informative

      I saw this poster at the conference and I was not impressed and in fact it was one of the weaker posters that I saw at the conference (it was light on details and had some of the information on the poster when talking about GPU's in general was not entirely accurate). It is really a poster that should not have been at SC at all. While it is interesting in the network sense the amount of data they can process is not anywhere close to the amount that is actually flowing through these large scale machines (up to 10 GB/sec per node) and there was no information about scaling this data collection (which would be needed at extreme scales) to obtain meaningful information to allow for tuning of network performance.

      This poster should have been at a networking conference where the results would have been much more interesting to the crowd attending. Also of note, IIRC the author was using a traditional GPU programming model for computation that is not efficient for this style of computation. The speedup numbers would have been greatly improved by using a RPC style model of programming for the GPU (persistent kernel with tasking from pinned pages). However this is not something I totally fault the author for not using since it is a rather obscure programming technique for GPU's at this time.

    7. Re:That's it? by TeXMaster · · Score: 5, Informative

      Yeah but with this kind of applications the real bottleneck is the fact that the discrete GPU needs to access data through the high-latency, low-bandwidth PCIe bus. For this kind of application, an IGP, even with the lower core counts, is often a much better solution, unless you manage to fully cover the host-device-host transfers with computations.

      I'd be really curious to see this thing done in OpenCL on a recent AMD APU, exploting all the CPU cores and the IGP cores concurrently.

      --
      "I'm never quite so stupid as when I'm being smart" (Linus van Pelt)
    8. Re: That's it? by loufoque · · Score: 1

      A Xeon also has SIMD, which gives a speed-up of 8.

    9. Re:That's it? by solidraven · · Score: 1

      He also has no clue about ASICs, lets take a look at this line: "Nor do they offer the ability to split processing duties into parallel tasks,"
      If there is one thing you can do on an ASIC, it's parallelisation. Application specific cores are small, very small, standard multi-project wafer run technologies have a good number of metal layers so routing isn't too problematic, etc. So you can actually fit a whole lot of cores on a small silicon area in a modern technology. The main issue is the cost of the hardware designer, EEs sufficiently skilled in HDL to take on such a large project are an expensive commodity.

    10. Re:That's it? by hairyfeet · · Score: 2

      But at what cost? The power of the high end GPUs like the top Tesla units are frankly insane while the power of both AMD and Intel CPUs has been going down. Last I checked those top o the line GPUs sucked so much juice you could probably run a 32 core Intel and still use less juice and require less cooling.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    11. Re: That's it? by KingMotley · · Score: 1

      That isn't a real world workload. I typically see 10-30% increase from hyperthreading, which isn't nothing, but it's not a 100% speed bump either.

    12. Re:That's it? by gentryx · · Score: 1

      However this is not something I totally fault the author for not using since it is a rather obscure programming technique for GPU's at this time.

      Good point. I guess this will change once Kepler GPUs are widely adopted and CUDA 6.0 is published: With Kepler you can spawn Kernels from within the GPU and unified virtual addressing will make it easier to push complex data structures into the GPU (according to the poster these appears to be some preprocessing happening on the CPU).

      --
      Computer simulation made easy -- LibGeoDecomp
    13. Re:That's it? by Anonymous Coward · · Score: 1

      As a PhD in computer networking, I'll tell you, it would have been easy to publish on SC, than other reputable networking conferences. This article to me is non news.

  2. not new by postmortem · · Score: 2

    NSA already does this, how else you think they process all that data?

    1. Re:not new by Anonymous Coward · · Score: 1

      millions of gnomes!

    2. Re:not new by Anonymous Coward · · Score: 1

      Field programmable gnome arrays are going to be the next big thing in computing.

    3. Re:not new by jovius · · Score: 1

      With a pinch of salt?

    4. Re:not new by bob_super · · Score: 1

      They don't "process" it.
      "Processing" is bad, it's like "collecting".

      They don't collect or process, they just "store" it. Nothing to worry about citizen. Move along, now.

    5. Re:not new by JustOK · · Score: 2

      Fuck that. If I have to go into a field to program the gnome arrays, I'm not doing it.

      --
      rewriting history since 2109
    6. Re:not new by VortexCortex · · Score: 1

      Thus the old system was abandoned, and Gnome3 was born.

    7. Re:not new by KingMotley · · Score: 1

      Distributed cluster of lawn gnomes.

  3. wishful thinking by Anonymous Coward · · Score: 1, Insightful

    "Compared to a single core CPU-based network monitor, the GPU-based system was able to speed performance by as much as 17 times"

    Shouldn't "researchers" know better how to execute benchmarks in such a way that a comparison between a CPU and a GPU actually makes sense and is not misleading? Why didn't they compare it to a 12 or 16 core CPU to show that it is only marginally better and requires programming in OpenCL or CUDA? Why didn't they take a 2P system and show that it is actually performing worse? In that case they could have drawn the correct conclusion that it actually makes no sense to use GPUs for this purpose! It is sad that even among Fermilab researchers wishful thinking bends results.

    1. Re:wishful thinking by Anonymous Coward · · Score: 1

      Shouldn't "researchers" know better how to execute benchmarks in such a way that a comparison between a CPU and a GPU actually makes sense and is not misleading?

      If the goal is hard science, then that would make sense. But when the goal is to wow the press, grab attention, and whore in the media, then no... that would be the opposite of what you'd want.

    2. Re:wishful thinking by Guy+Harris · · Score: 1

      Why didn't they compare it to a 12 or 16 core CPU to show that it is only marginally better and requires programming in OpenCL or CUDA?

      "Compared to a six core CPU, the speed up from using a GPU was threefold." If the 12-core CPU is twice as fast, that's 1.5x, and for a 16-core, that's 1.12x.

    3. Re: wishful thinking by loufoque · · Score: 2

      In practice, most people who publish results of a new algorithm ported to GPU do not have a version well-optimized for CPU, or aren't that good at optimization in the first place. I've had several cases where I could make the CPU version faster than their GPU version, despite them having claimed a x200 speed-up with the GPU.
      If you have a fairly normal algorithm in terms of data access and your speed-up is bigger than 4, you're probably doing it wrong.

  4. Talk URL by TheSync · · Score: 1

    Here is a URL to a presentation on the issue of GPU-Based Network Monitoring.

    BTW, with PF_RING and a DMA-enabled NIC driver (PF_RING DNA), one should have no problems capturing 10 Gbps on a single CPU modern server. I can capture/playback 4.5 Gbps no problem using this with four 10kRPM HDDs - 8 drives should give you 10 Gbps rate capture/playback.

    1. Re:Talk URL by cez · · Score: 1

      I just demo'd Fluke Networks's TruView system that does 10Gb/s stream to disk, 24 TB array of 26 1TB hard drives... was very nice, not cheap though. 2 Xenon 16 Core CPUs if memory servers and a whole crap load of pretty analysis and correlations between Netflow & SNMP data... scary cool with the VOIP module.

      --
      Walk with Music;
  5. Re:GPU replaces CPU by gl4ss · · Score: 1

    yeah so you'd be buying a cpu?
    msg me when someone writes an os for it.

    pyramid3d? blast from the past?

    --
    world was created 5 seconds before this post as it is.
  6. Link to the full paper by mkaushik · · Score: 1

    http://lss.fnal.gov/archive/2013/conf/fermilab-conf-13-035-cd.pdf

    They're using M2070 (Fermi) GPUs. Kepler would perform even better, the latest one has > 6GB of memory.

  7. Sorry, but ... (wrong tool for the job) by Ihlosi · · Score: 2
    ... the main task of GPUs is floating point calculations, and I doubt you need many of those when monitoring networks. Wrong tool for the job.

    It's like saying that GPUs are "terrific" for Bitcoin mining, until you realize that they require one or more orders of magnitude more power for the same amount of processing than specialized hardware. And network monitoring is probably a common enough task that it's worthwhile to use hardware tailored to this particular job.

  8. In Soviet Russia, your TV watches YOU! by Thor+Ablestar · · Score: 1

    As I understand, there are at least 2 purposes for monitoring the network: debugging and spying. I believe that due debugging is already built-in. But spying is a concern, especially since the Russian authorities have required the ISPs to preserve ALL data traffic in their network for 12 hours for further investigation. What about NSA?

  9. Re:I'd like a regex computing device by Ihlosi · · Score: 2

    Get an FPGA development system and implement your hardware in the FPGA, then ask a chip manufacturer to turn it into an ASIC. Expect to pay bucketloads of money on the way, though. It's only feasible if either costs are not an issue or you expect the resulting device to be mass-proced (six or better yet seven digit numbers manufactured per yeat).

  10. Re:Network Processors ? by Shatrat · · Score: 1

    You can't buy a custom ASIC off the shelf at Fry's, but you can buy a CPU or a GPU. I don't think it's an apples to apples comparison if you throw in custom hardware.

    --
    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
  11. Re:Aaaand now we're buying Big Brother off-the-she by jones_supa · · Score: 1

    Not so fast, buddy-boy. We still have positive efforts like Folding@home which tap the power of GPUs.

  12. Breaking news by viperidaenz · · Score: 1

    massively parallel system is suited to massively parallel tasks.