Slashdot Mirror


Who Has Faster Pipes? Linux, Win2000, WinXP Compared

SeaBait writes: "This revealing article about the High-performance programming techniques on Linux and Windows shows that Linux rules. The performance testing was on Pipes(interprocess communication mechanism available on both Windows and Linux and UNIX). Although I new Linux would fare the best, the poor performance of Windows XP was a surprise. Windows 2000 actually did better than XP!"

4 of 534 comments (clear)

  1. Written by IBM? by FortKnox · · Score: 2, Redundant

    Tests written by IBM (who just put more investment in Linux) shows that Linux is best?

    Are they a little biased?

    I'd prefer a neutral party to do the test and the results placed on a neutral site, personally...

    --
    Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
  2. Re:Premature by geekoid · · Score: 1, Redundant

    This was only testing ONE aspect of Windows vs Linux, which is not even used very much in the Windows world

    it really depends on what your doing. I use windows pipes al the time.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  3. Samba's Jeremy Allison says "apples to oranges" by AlanSmitheeX · · Score: 0, Redundant

    "...
    Unfortunately this article is
    comparing apples and oranges.

    The Win32 call you need to use is

    CreatePipe(), not CreateNamedPipe().

    CreatePipe is exactly equivalent to
    the UNIX pipe() call. CreateNamedPipe
    with the \\pipe prefix is equivalent
    to mkfifo on UNIX.

    No wonder Win32 is much slower, you're
    going through many more layers in the
    kernel.

    Regards,

    Jeremy Allison,
    Samba Team."

  4. You don't use pipes on Windows by rabtech · · Score: 1, Redundant

    Pipes are in Windows solely for compatibility with other systems and legacy stuff. If you are going to do interprocess (distributed or not) these days, you do it with COM.

    The benchmark posted is meaningless.

    --
    Natural != (nontoxic || beneficial)