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!"

534 comments

  1. Can you say "flamebait"? by DrPascal · · Score: 3, Troll

    I'm a fan of Slashdot, but I get a little sick of the Windows/Linux comparisons, -especially- when the post includes something like "but THIS test shows that Linux rocks!" Yay. Are we going to argue over PCs vs. Macs next?

    --
    DrPascal: Not the language, the mathematician.
    1. Re:Can you say "flamebait"? by Myko · · Score: 1

      Agreed.

      Fast pipes are also fairly insignificant. It all gets down to one less bottleneck, but there are so many more: cache, IO speed, memory and CPU utilization, etc...

      This "benchmark" is not too useful.

    2. Re:Can you say "flamebait"? by imp · · Score: 2

      Especially when other systems (like NetBSD, FreeBSD,Solaris) were omitted.

    3. Re:Can you say "flamebait"? by Rupert · · Score: 3, Interesting

      Microsoft has a well funded PR department to put out benchmarks that show Windows in a positive light. The Linux community doesn't. If we want to compare OSes in areas in which Linux excels (and admittedly there are some who don't) we have to use grassroots methods, such as posting it to Slashdot.

      --

      --
      E_NOSIG
    4. Re:Can you say "flamebait"? by linuxpng · · Score: 2

      we argue about processors, is that close enough?

    5. Re:Can you say "flamebait"? by benwb · · Score: 4, Insightful

      Especially since Pipes are basically unused for server applications on Windows. The only significant place that Microsoft still recommends their use is when your connecting to a SQL Server database that resides on the same box as you components. Other than that you're pretty much dealing with console processes. Windows has much better IPC mechanism (COM and COM+ Events and Method Calls, Local Procedure Calls, Memory Mapped Files...)

    6. Re:Can you say "flamebait"? by little+alfalfa · · Score: 5, Insightful

      The big deal about this one is that the testing is done by a real company. It's written by a senior programmer at IBM. Many of us would hesitate to dismiss what he says here. This is not some sponsored study as were many tests that have been done in the past.

    7. Re:Can you say "flamebait"? by zangdesign · · Score: 2, Insightful

      And IBM has a vested interest in the success of what operating system? Maybe ... Li-NUX?

      It all depends on who you trust - me, I don't trust any camp, MS or OS. There's just too much religious fanaticism and not enough rational discussion on either side.

      Well, at least not here anyway.

      --
      To celebrate the occasion of my 1000th post, I will post no more forever on Slashdot. Goodbye.
    8. Re:Can you say "flamebait"? by squeegee-me · · Score: 1

      I agree with DrPascal comment. I for the most part have come to the conclusion that Slashdot has become useful for two things to me.

      1. listing of new technology that I would otherwise not see or hear of, (not everything makes it here first,)
      2. a place for people to bitch about someone else's spelling/grammer erors, and a place for people to post random crap to fill in the pages forcing interested people to scan it all to look for a valid point or a serious opinion.

      I'm tired of all the shit that fills the pages in dicussions with goatsex, old war stories, ghost stories, "Taco can't read!," and general "I got past a Slashdot anti crap filter, so I will now drop my pants :P"


      Please don't waits my time or anyone elses'! Grow up, do something useful with you life, and God's sake, stop all the racial bashing! We are all Human.

      --
      Who wants Pork Chops?
    9. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0

      Hmmm... but are they not recommending pipes because windows pipes are crap, or are windows pipes crap because no-one uses them?

      This is like windows threading - it's crap, but no-one can tell anymore whether it started out crap, and thus no-one used it, or whether it's crap now because no-one used it...

      The conspiracy theorist in me says that MS are ensurting that Unix-style programming itself is more tricky on WNT, to make ports to and from unix more difficult.

      Actually, come to think of, they do that a lot, throwing in gratituous incompatibilities left right and centre.

    10. Re:Can you say "flamebait"? by SCHecklerX · · Score: 2
      Yeah, but you can't do quick/simple things like, i dunno, create a named pipe that you can print to, and it will create a PDF file instead (daemon listening to the named pipe just pipes to ps2pdf). Not a great example, but you get the point.

      I use a named pipe for the commands that control my jukebox. Simple. Elegant. Easy to code. Why use complex sockets when you don't really need them? What can be easier than dumping commands to a file and having the listening daemon act accordingly?

    11. Re:Can you say "flamebait"? by blang · · Score: 1, Troll

      Posting benchmarks results is a flamebait? Feel free to feel as sick as you want. Puke all over the place as far as I am conserned. It's well deserved. Bwhuaa.

      --
      -- Another senseless waste of fine bytes.
    12. Re:Can you say "flamebait"? by iceT · · Score: 2

      So, if someone was porting their UNIX application to Windows, you're suggesting that they completely rewrite the application for COM?

      If PIPES don't work, why do they support them?

      --
      -- You can't idiot-proof anything, because they're always coming out with better idiots.
    13. Re:Can you say "flamebait"? by junkpunch · · Score: 1

      People who read /. are already Linux users. Are there any readers who DON'T think Linux is superior to Windows? Who is this "grassroots method" targeted to?

      The only value in posting this on /. is to say "Look! We're better than Windows! They suck! Nah nah!"

    14. Re:Can you say "flamebait"? by chron · · Score: 1

      Sure you can do easy things like that in Windows. Even easier actually, all you do is click the pretty little Adobe icon in the World toolbar and boom, pdf.

      --
      Violate propriety
    15. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 1, Interesting

      "The conspiracy theorist in me says that MS are ensurting that Unix-style programming itself is more tricky on WNT"

      Just look at the marketing for MS-SQL. Per MS, it's better because it uses native NT APIs, while it's competitors have to support multiple platforms and theremore must use slower compatibility APIs on NT.

      Ever wonder why DB vendors were one of the first to jump on board with Linux?

    16. Re:Can you say "flamebait"? by drinkypoo · · Score: 3, Insightful
      Yeah, but you can't do quick/simple things like, i dunno, create a named pipe that you can print to, and it will create a PDF file instead (daemon listening to the named pipe just pipes to ps2pdf). Not a great example, but you get the point.

      You can create named pipes; The OS-supplied ones include CON:, NUL:, PRN:, and so on. It is in fact possible to create new ones.

      It's still better to have printer drivers, though. It's a feature that UNIX needs (and is getting, of course, through that new printing system whose name I forgot, and the linking of which someone else will probably get karma for.) Printer drivers are user friendly.

      Why use complex sockets when you don't really need them? Later extensibility. Of course, if you're the only one who will ever see your code, you're right, it doesn't really matter.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    17. Re:Can you say "flamebait"? by benwb · · Score: 1

      Who said they don't work? There just happen to be better ways to do things under Windows. Also, while I'm willing to forgive the use of UNIX and COM in capitol letters, there's really no reason to use them for pipes, unless you meant to be shouting.

      But to get back to your initial question, yes I would recommend that you rewrite the software. If you're fooling around with pipes, you're probably dealing with so much system level stuff that you have a major porting job anyway.

    18. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0

      Pipes? Sockets? Daemons? Go read a book published sometime after 1980. Really, Windows provides much better tools than these relics. You can use 20 year old programming techniques but why?

    19. Re:Can you say "flamebait"? by wishus · · Score: 2

      Well, the "linux rules" statement was made by the submitter, not the editors. The editors just posted a story they though some of us might be interested in. Some submitters write better stories than others, but I like the way the editors quote the submitter - it gives a little flare and sense of community to the front page.

    20. Re:Can you say "flamebait"? by yugami · · Score: 1

      both UNIX and COM are SUPPOSED to be in caps

      and just to clarify the SUPPOSED was shouting, the other two are just being used correctly

    21. Re:Can you say "flamebait"? by phossie · · Score: 1

      flare != flair
      flare is perhaps more appropriate in the "flamebait" context, imo.

      --

      [|]
    22. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0

      Err.. I'm a developer about to start a project using pipes for chucking around synch'ed audio processing streams - for me anything on performance issued of pipes is worth a read. As for the Win v. Lin issue - don't *you* think it's a bit odd that XP benchmarks slower than its predecessors?

    23. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0
      both UNIX and COM are SUPPOSED to be in caps

      He wasn't complaining about use of caps for those two, he was complaining about use of caps for "pipes". Moron.

    24. Re:Can you say "flamebait"? by benwb · · Score: 1
      Actually both usages are acceptable. AT&T would like you to use all caps and capitalization is definitely required when refering to one of their variants of unix. In the general case, especially in reference to linux I prefer mix cased or all lower case. See Dictionary.com or the excellent book A Quarter Century of Unix by Peter H. Salus who gives a very good explanation of why it's appropriate to refer to unix in lower case.

      But all that doesn't really matter- I was gently chiding iceT because I don't like being yelled at.

    25. Re:Can you say "flamebait"? by Danse · · Score: 1, Offtopic

      He wasn't complaining about use of caps for those two, he was complaining about use of caps for "pipes".


      Then why did he say this?


      Also, while I'm willing to forgive the use of UNIX and COM in capitol letters


      What was there to forgive? Those were correct. Sure, he goes on to say there was no reason to use caps for pipes, but nobody was disputing that.


      Moron.


      I think we all see the irony in that last remark now.

      --
      It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
    26. Re:Can you say "flamebait"? by kryptola · · Score: 0

      I don't know why DrPascal raised this question. Any comparision between Windows and Linux which is not about UI is ridiculous. Windows is just a bulk of shit, and will always be. It's like comparision the math talent of two person, one whose IQ is above 150 and goes to MIT, the other is below 70. We (Slashdot users) all know that Linux rules. Blaming Microsoft doesn't make Linux better or M$ worse!
      BD

      --
      "Trying is the first step towards failure" - Homer J Simpson.
    27. Re:Can you say "flamebait"? by soloport · · Score: 1

      ACK? NACK? Parity? Start bits? Stop bits? Headers? Routing addresses? Checksums?

      Because they work, stupid.

      Why re-invent the wheel unless you intend to "not play nice with others"?

    28. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0

      good sig. haven't seen any LISP humour in a long time... er, actually, i've never seen any lisp homour...

    29. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0

      Actually I did exactly this once, creating an interface between a book keeping program and email using printing to named pipes ;-) This was with NT 3.51 but I suppose it could be done with newer versions like 2000 or XP, but I have not tried since I've moved on to better systems like linux and other unix systems.

      Anyway as someone pointed out there is much better ways to do this in windows, like creating a print driver.

    30. Re:Can you say "flamebait"? by Joseppi+Blauinski · · Score: 1

      ... And you're just itching to flame. The PC/Mac reference is circumstantial evidence! Tee-hee

      *Grin*

    31. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0
      IBM has a vested interest in seeing DOS, AS400, AIX, Linux, Wincows (all flavours) to succeed.

      So I would say something like that is probably not flawed because of some company slant toward one platform or the other.

    32. Re:Can you say "flamebait"? by Telek · · Score: 5, Informative
      But this guy doesn't appear to know what he's talking about... He's comparing apples to oranges here... No, apples to watermelons... Now I'm not all that up to speed on linux pipes, but from what I can tell they are completely different from windows pipes. At least from windows named bi-directional pipes, which is what he tested them against. (And lets completely forget here for a second that he works for IBM, which has all but pronounced vendetta on Microsoft... No possible bias there.)

      Under windows, there are many things the he "neglected" to notice:

      • pipes in Windows have ACLs (access control lists).
      • There are two types of pipes: Anonymous pipes and named pipes. Anonymous pipes require less overhead than named pipes, but offer limited services. He "neglected" to test anonymous pipes on Windows platforms (which BTW are faster).
      • Windows Named pipes can be used to provide communication between processes on the same computer or between processes on different computers across a network.
      • Windows XP can provide encryption for pipes, which might explain the drastically lower rates. Since XP is based on the same kernel as Windows 2000 there's obviously some additional setting that is on by default now that is causing the decreased rates.


      Also:

      the term pipe server refers to a process that creates a named pipe, and the term pipe client refers to a process that connects to an instance of a named pipe. This is why you have one method to Create the pipe, and one to Open it. BTW -- the Opening method is a universal resource opening method on windows PCs.

      You can go here if you want to know more about pipes on windows.

      AND

      I also tried his programs, and you don't need that mystical +24 to get it to work. I don't know why he needed it. Perhaps because he was using some old or wierd cl? I'd also suggest that he try to compile it with MSVC (unless he got the cl.exe from there) as I would bet that would make it faster as well.

      So, from what I read he basically said "Well, I'm gonna compare this thingy called a 'pipe' over here on windows to this really old and simple 'pipe' thingy over here on linux" without checking to see what was actually under the hoods of the two beasts he was comparing.

      Man, /. really has turned into a tabloid lately.
      --

      If God gave us curiosity
    33. Re:Can you say "flamebait"? by ikekrull · · Score: 2

      Which tools are these that don't either rely on pipes, sockets on daemons or aren't simply pipes, sockets or daemons called something else?

      --
      I gots ta ding a ding dang my dang a long ling long
    34. Re:Can you say "flamebait"? by GooberToo · · Score: 1

      Under windows, there are many things the he "neglected" to notice:

      * pipes in Windows have ACLs (access control lists).


      That's fine, however, the overhead should be not be noticable unless the is constanly creating and destroying and/or opening/closing the handle. Unless all Win32 implementations really suck and MS is stupid, this will have no effect on the test. Point is safely ignored.

      * There are two types of pipes: Anonymous pipes [microsoft.com] and named pipes [microsoft.com]. Anonymous pipes require less overhead than named pipes, but offer limited services. He "neglected" to test anonymous pipes on Windows platforms (which BTW are faster).

      Not sure what you're basing that on as I've used both. Named pipes are built on top of anonymous pipes last I read (or the other way around) last time I checked MS's documentation. In fact, performance, last I measured, was always the same between the two. In fact, if you dig deeper, you find that local named pipes use anonymous pipe facilities. Thusly, they are one and the same when used locally. I noticed in another thread that someone else was sharp enough to point this fact out too. Point ignored.

      * Windows Named pipes can be used to provide communication between processes on the same computer or between processes on different computers across a network.

      Granted, however, since no one tested that, it has no bearing on the test or the results. Point ignored.

      * Windows XP can provide encryption for pipes, which might explain the drastically lower rates. Since XP is based on the same kernel as Windows 2000 there's obviously some additional setting that is on by default now that is causing the decreased rates.

      Actually, I didn't know that about the encryption, however, be that as it may be, it was a fair comparision. I don't think he attempted to attribute the cause of the speed issue to anything. You may be right, however, that does change the fact that Win32 pipe implementations are slow compared to Linux. I think it should be pointed out that unless encryption is actually being used, the fact that such a huge performance gap is detected indicates that MS has done an incredibly poor job. I'd guess that it's either a horrible design and/or never been optimized.

      Now then, while this is an interesting fact, I think it's safe to say that many applications don't use pipes on Win32 platforms just because there are many ways to avoid doing so. Because of this, I have no doubt that MS gave it a low priority (performance that is) when optimizing various design patterns. Let's face it, shared memory (shared files), threading and sockets are obviously where MS has been trying to get to.

    35. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0

      You two white geeks jus keep on wid dat flamin' o yours whiles I assfucks yo sisters here... Morons

    36. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0

      I don't have a sister... and get your dick out of that poor dog you fucking pervert.

    37. Re:Can you say "flamebait"? by Anonymous Coward · · Score: 0

      And since when does Linux *not* have memory mapped files?

      What about CORBA, SHM, etc, etc?

      Linux definitely has more methods of IPC than Windows...

    38. Re:Can you say "flamebait"? by Jonathan+S.+Shapiro · · Score: 1

      There are a lot of effects that could account for these results. Some are significant, some are coincidental. I agree these numbers are pretty appalling -- simple programs ought to work well -- but it is also striking that Ed's benchmarks don't seem to reflect any knowledge of standard OS microbenchmark suites. Larry McVoy put a lot of attention into measurement methods in the lmbench suite that the article could benefit from.

      Regards,

      Jonathan S. Shapiro
      (The EROS Guy)

      --
      Jonathan S. Shapiro (The EROS Guy)
  2. fast pipes? by Anonymous Coward · · Score: 0

    Slow pipes are much better. Last longer, more enjoyment.

  3. 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!
    1. Re:Written by IBM? by iceT · · Score: 2, Offtopic

      IBM's interest in LINUX is primarily on the S/390 platform, not an INTEL platform. Windows 2k/XP isn't available on the primary platform that IBM is touting LINUX for...

      IBM has every bit as much to gain or lose as any other PC/Server manufacturer does in an 386 platform.

      --
      -- You can't idiot-proof anything, because they're always coming out with better idiots.
    2. Re:Written by IBM? by ChadAmberg · · Score: 2, Insightful

      Lets see... IBM supports Linux... but guess what? They make a hell of a lot more money selling Windows systems. Both Desktop and Server. And look at IBM services? They're just going to suddenly roll over and say we don't support Windows anymore?

      Sheesh people. IBM is way too big. This guy writing the article has nothing to do with marketing, he's a programmer or in R&D. Sure he's a Linux advocate. But something this minor doesn't make it in the conspiracy business...

    3. Re:Written by IBM? by strobert · · Score: 2

      I'm a big linux fan, so I guess you could claim I'm biased, but at the time we did the tests 95% of my development was on windows, so...

      back before 2k, we did tests on loopback device performance on win95 and winNT. win95 was really bad, NT wasn't great. we ended up writing our own support using shared memory on windows to get the speed we needed. IIRC linux on a 486 beat win95 on a P-233 and I think it was on par with winNT on a PPro-200. The code to do this was in C++ and we abstaracted it behind a generic interface and on linux we used the straight OS support since it was plenty fast.

    4. Re:Written by IBM? by johnnyb · · Score: 4, Insightful

      The nice thing about the tests is that all of the information about the tests are published, as well as the scope of what the test means (it has a very small scope of applicability). So, it's easy for anyone to reproduce the tests, and mention any problems with the tests.

    5. Re:Written by IBM? by Anonymous Coward · · Score: 0

      You know, I've just noticed that there aren't enough posts on here anymore about a naked and pertrified Natalie Portman pouring hot grits down her pants. Why is that?

    6. Re:Written by IBM? by Anonymous Coward · · Score: 0

      Actually he is not so much of a Linux advocate as he is simply an impatial observer who runs benchmarks and reports them through the IBM web site. You may note that his actual title within IBM is "Microsoft Premier Support Manager". Also, you may (or may not, depending on your point of view) be a little disappointed in his future results.

    7. Re:Written by IBM? by phossie · · Score: 1
      IBM wants linux on *all* IBM platforms. S/390 is least threatening to current strategy and poses the greatest short-term gain. Long-term gain: IBM wants to displace *everyone*, and the best way to do that is...

      IBM may be doing well in the high-end market (big money), but it's still trying to gain share from Sun/Wintel at the lower end - because that's where the big market is. Tie all that together and you've got some good feeding grounds for Global Services.

      --

      [|]
    8. Re:Written by IBM? by ldopa1 · · Score: 1

      Can you name a single company or organization that would be interested in putting forth the effort to prove or disprove this if they have absolutely NO bias? Even "independent" research companies are paid by SOMEBODY.

      Okay, maybe it's not fair to imply that a research company is biased just because they're paid to investigate something. But I will stand by this: NOBODY would publish the results if the results didn't support the position they were hoping to prove.

      Can you imagine it? "Red Hat, the leading provider of Linux distributions today announced the results of a 3 year long survey which conclusively proves that 'Gnome Sucks!' and 'Windows Rulez!!'"

      Don't think so...

      --
      The Dopester
      "Yes, I'm a Karma Whore, but I'm doing it to pay my way through school."
    9. Re:Written by IBM? by bogdant · · Score: 1


      Oh, really? Then you might want to do the tests yourself, on your own laptop, and see if the figures are correct or not (proportionally). As far as I remember, the source codes were on IBM's site, and compiling/running them under Linux/Windows would not be a problem. The real question is: are you gonna believe your own results? Hm....

    10. Re:Written by IBM? by Anonymous Coward · · Score: 0

      Oh, please. IBM only wants to sell Linux to the extent that they can't sell AIX/OS400/MVS to all customers. The IBM OSes have a order of magnitude higher revenue stream (software+services) than Linux ever will.

    11. Re:Written by IBM? by Anonymous Coward · · Score: 0
      this is true - but IBM deals in packages and services. for example: if IBM can displace a sun *machine* with an IBM one running linux (because linux can be an easier sell vs. solaris or win, etc.), then IBM gets a leg in the door, hurts sun (etc.), and gains contacts and probably a service contract.

      i look at this crap all day, every day. i watch the strategies go out the door (and this one's not that complicated)... linux is a very useful crowbar to IBM.

    12. Re:Written by IBM? by electroniceric · · Score: 1
      There are no neutral parties. The best thing the author could do is a brief summary of his likes and dislikes, and those of his company.

      The test is certainly interesting, but it could use some context by the author:
      Where do Windows and Linux use pipes, and how does this affect the tasks they do well at, or poorly at?
      What does Microsoft recommend for solving a problem where you'd use pipes in Linux?

  4. PCs vs. Macs. by AltGrendel · · Score: 1, Troll

    We already did that.

    Macs "lost".

    Good hardware, bad marketing.

    --
    The simple truth is that interstellar distances will not fit into the human imagination

    - Douglas Adams

    1. Re:PCs vs. Macs. by pbrammer · · Score: 1

      What I want to know, is when did Macs get removed from the PC category? Aren't most of the Macs sold today PCs?

    2. Re:PCs vs. Macs. by Anonymous Coward · · Score: 0

      Not if you talk to the average Mac zealot. Then everything Apple makes is a Mac and everything Apple doesn't make is a "peecee".

    3. Re:PCs vs. Macs. by Anonymous Coward · · Score: 0

      No one from Apple ever showed up on my door step pal...

    4. Re:PCs vs. Macs. by Anonymous Coward · · Score: 0

      Yes, most Macs sold today are, in fact, Pieces of Crap.

    5. Re:PCs vs. Macs. by Kwikymart · · Score: 1

      Apple doesnt make anything other than supercomputers :P

      --

      Buying a Dell computer is equivalent to dropping the soap in a prison shower.
  5. yeah! by [amorphis] · · Score: 0

    Our results showed that Linux pipes are considerably faster than Windows 2000 named pipes, and Windows 2000 named pipes are much faster than Windows XP named pipes

    Put that in your pipe and smoke it!

  6. Tired by Null_Packet · · Score: 1, Troll

    Honest, this isn't a flame:

    Can we set up a mailing list of some kind to know when Slashdot is done bashing microsoft? Either way you look at it, it's getting fscking old.

    Besides the fact that XP in this article could have been the Home Edition, and could be heavily influenced by a number of factors- wow. Pipes.

    Does it take a rocket scientist to realize that this is probably the last factor that goes through people's heads when purchasing an OS/Platform?

    Maybe the motto for Linux should be 'Fastest Pipes in the business' oh wait- successfull business don't use linux. They use BSDI. Or Solaris. Or Windows.

    1. Re:Tired by MaxwellStreet · · Score: 2, Insightful

      You know, if you want to come off as being fair and circumspect about these things - and not as a flame or troll - you might want to reconsider that last paragraph.

      Successful business(sic) don't use linux?

      Please - you're as guilty of the bias you're complaining about as the story is.

    2. Re:Tired by Null_Packet · · Score: 1

      I guess I am just as guilty as the author,

      Point taken.

    3. Re:Tired by jgerman · · Score: 2

      It's not a flame, it's flame bait. Succesful businesses do use Linux, we do. In fact it out performs Solaris for our applications. I'm just happy I get to use a *nix instead of windows. Keep windows where it belongs, catering to people who don't know what they're doing.

      --
      I'm the big fish in the big pond bitch.
    4. Re:Tired by Anonymous Coward · · Score: 0

      I hope with all my heart that Slashdot doesn't stop bashing Microsoft until Microsoft is no longer a greedy, lying, unethical monster of a corporation. Since the chances of MS ever being anything else are slim to none...bash on!!

    5. Re:Tired by ThePlumber2 · · Score: 1

      Hmm.... It is a good thing that we remind people of the plain facts sometimes though....

      And btw, linux is used in MANY business's.. I don't have the time to look it up for you right now, but take a look on the internet and you'll probably find many.... OSS kinda powers the Internet ya know?

      --
      Thanks, Steve
    6. Re:Tired by debrain · · Score: 2

      In the comments it's noted that the tests were done on Win2k Advanced Server. Just a FYI. :)

    7. Re:Tired by TheBracket · · Score: 1
      In the comments it's noted that the tests were done on Win2k Advanced Server.


      I'm pretty sure that explains XP's poor showing; Advanced Server is a very different beast from Professional - I suspect that Win2k Professional would perform equally poorly. XP Advanced Server isn't even due out until next year - and will probably be Windows 2002 AS, although the naming hasn't been finalized!


      That said, I'd like to see details specs for the machines involved... quantity of RAM, CPU, what else was installed, etc.

      --
      Lead developer, http://wisptools.net
    8. Re:Tired by Anonymous Coward · · Score: 0

      Like IBM? and Transmetta? and VALinux? Have some fucking objectivity you clown.

    9. Re:Tired by James+Skarzinskas · · Score: 1

      Okay, to sum things up before I make my comment; I administrate and manage all utilities/page and data entry applications/database systems for a small business. My tests were pretty inconclusive for a range, but to sum things up fairly simply.

      For the birth of the project:
      Windows 98 Second Edition with Apache-win32 and win32 Mysqld. Don't call me a nut for using this, the employer was insistent on running it on her own home machine at this time.

      After this had been considerably slowed down to the point where she would wait literally minutes to insert information with my utility, I told her that maybe a Microsoft operating system is NOT the best server in the world, so we tested on an NT Server 5.0 (2000) box. It lasted the test of time for scalability, yet it was undoubtably slower then I knew was possible.

      Finally, where it is now, it is running on a Linux/Redhat 7.1 box with not even a tenth of the ram the Windows NT5 box had, and 350mhz slower. By far, the Linux machine is faster, and hasn't slowed down noticeably at all with ~5000 new entries the database. I have no doubts that further tests would show the NT5 machine bogging down at this point and handling poorly.

      Anyone interested in the further specifics of the ...

      NT5 machines setup:
      Windows 2000 Advanced(?) Server
      PHP/4.0.4 used as an ISAPI module
      IIS 5.0 (hey, don't flame me at all, as IIS runs in shared memory as a service, and is practically built specifically for the operating system, it out-runs Apache on this platform by far.).

      Linux machines setup:
      Redhat 7.1 with updated security patches,
      Apache 1.3.20,
      PHP/4.0.6,
      MySQL (latest stable).

      I hate to contribute to the usual trolling, but from experience, I can say that Linux outperforms Windows (all versions mentioned) to an extreme degree!

    10. Re:Tired by demon · · Score: 1

      Like it makes a difference. Microsoft ships the _same_ binaries, whether it's the Home edition, Professional edition, or Server edition - the only difference is a few registry entries and some extra utilities. IMHO that's just a ridiculous excuse - if its performance is poor, it's poor. Not that pipes (named or unnamed) are any sort of general performance indication, but that doesn't change the fact that if they're using the same binaries, they're using the same binaries. The label on the box doesn't matter.

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    11. Re:Tired by Anonymous Coward · · Score: 0

      "Can we set up a mailing list of some kind to know when Slashdot is done bashing microsoft?"

      there already is such a mailing list, just email admin@whenhellfreezesover.com & theyll let you know the minute slashdot starts being unbiased. theyll also notify you when CNN, MSNBC, & wired magazine become unbiased.

      dont hold your breath though.

    12. Re:Tired by Computer! · · Score: 1

      I'm not a zealot either way, but I can tell you right off the bat why an application resting on MySQL would be slow. MySQL, mostly. Depending on what version you're running, MySQL for Windows either sucks, or really sucks. I've never used it on any unix system, but it's performance has never impressed anyone I've ever talked to on Windows. It is free, though, so I guess that's good.

      I also notice you're using a PHP ISAPI module instead of ASP. Any reason for that, since ASP.dll comes free with IIS, and runs pretty quickly within it? It will execute nearly any scripting language know to man, so portability is not an issue.

      I could admit that Windows generally requires more resources to complete the same task, but we all already knew that. What you've proven is that several free utilities written for unix don't run your custom code (which may or may not suck) very well on Windows. Thanks.

      --
      If you fall off a building, go real limp, because maybe you'll look like a dummy and people will be like hey, free dummy
    13. Re:Tired by James+Skarzinskas · · Score: 1

      I am amazed by your grasp of the obvious (I tested with natively unix server applications. I'm sure it took some deep thought to figure this out). Would you please point me to some natively Windows DBMS/scripting languages that you actually believe may compete with any open-source systems I mentioned?

      I'm sorry, but for my purposes, and my standards, ASP will never be in my repertoire (sounding out the big words for you) of 'effective' scripting languages. See, I like to stride to use the fastest/cleanest native OS software available, and in my opinion, ASP is not better or faster in any way than PHP ISAPI.

    14. Re:Tired by James+Skarzinskas · · Score: 1

      Also, I must mention that I admit to one thing-- the native Windows tools I did use work great and the server ran fine with them. However, Linux's serving capabilities outperformed them, even then. It about tied in performance for me with MySQL as an NT service.

    15. Re:Tired by Anonymous Coward · · Score: 0

      Note that there is no Windows XP Server version shipping, and there won't be until mid-2002 (news today), or whenever the .NET stuff goes 1.0.

      So it's too early to say that the binaries are the same -- in fact they most likely won't be.

    16. Re:Tired by wiremind · · Score: 1

      Well, the NUMERO UNO reason for the windows bashing is: most people who read slashdot run linux. Microsoft is a very dominant OS, they will not let other OS's run with them. Mac's OS (a competing OS), and Corel (can you say WordPerfect, doc editor competition) , the only reason they both exist is because A: microsoft gave them LOADS OF MONEY. and you know why they gave them loads of money, so they would stay afloat, thus keeping microsoft from being an all out monopoly.
      Microsoft does not need linux. Microsoft BASHES linux on their web site. "recall '10 reasons windows is better than linux' " So with MS, either you are with them or you are against them. I agree windows has some high points, but overall, their history has been littered with MAJOR security holes, Major leaking of customer information. and worst of all, the price of that OS IS INSANE, they charge outragous amount for something that isnt even stable. if your car ran like windows you wouldnt even drive it. WINDOWS HAS PROBLEMS. and becuase they care so little about their customers, us linux users which have grown to love linux, have also grown a strong dislike/HATE for windows. years from now when windows starts to charge fairly, and starts being more secure, and starts not leaking all your personal info. maybe then we will reconsider, but until then. F*** Microsoft.

      ~Wire - Linux Geek - licensed Borland C++ builder 5 developer - gnome X apps developer.

      ~"For everything there is a time and a place, a reason and a season...."

    17. Re:Tired by Computer! · · Score: 1

      I am amazed by your grasp of the obvious

      Thanks. I got an "A" in The Obvious in Jr. High.

      (I tested with natively unix server applications. I'm sure it took some deep thought to figure this out).

      To some people it might have. My complaint is that you compared native unix services to ported services ill-suited for the platform, and led us to believe that this meant linux was faster.


      Would you please point me to some natively Windows DBMS/scripting languages that you actually believe may compete with any open-source systems I mentioned?


      Sure. The Win2K/IIS/SQL Server/ASP platform is standard on Windows for what most would consider serious web development. For server-side langauges, take your pick. ASP supports Python, Perl, C++, C#, and of course VBScript. ISAPI solutions are generally considered to be higher-performance, but if your ISAPI program is merely loading a scripting engine, then interpreting script you write, what is the difference, except for losing all of the additional functionality provided with ASP, like application events and application variables? Also session, but you shouldn't be using that anyway for scalability reasons. ISAPI solutions aren't always more scalable, however, and unless you have source code for the dll, and can understand it, you can't really be sure you're getting the kind of performance you are looking for.

      I'm sorry, but for my purposes, and my standards, ASP will never be in my repertoire (sounding out the big words for you) of 'effective' scripting languages.

      I'm ignoring your sarcastic remarks about how I'm real stupid, and moving on to how you're referring to ASP as a language when it's not. ASP is no more a language than .NET or Apache. It's a platform you can use to make dynamic web pages using the scripting language of your choice. You still haven't told me exactly why ASP is out of the question, only that it's not faster than PHP ISAPI, which is unproven, and also probably not true.

      See, I like to stride to use the fastest/cleanest native OS software available[...]

      Judging by your choices for Windows, it seems that you "stride" (I think you meant strive) to use free software that was written for unix. As you discovered, this was not a good idea. I'm glad you switched platforms, because it was either that or switch to the proper software, and you didn't seem willing to do that.

      --
      If you fall off a building, go real limp, because maybe you'll look like a dummy and people will be like hey, free dummy
    18. Re:Tired by James+Skarzinskas · · Score: 1

      Here's your prize, you've proven me wrong! ;). It would seem that I should attempt to try ASP. Yeah, ISAPI seems to be alot higher performance for me. Sorry for jumping to conclusions, and thanks for the suggestions. Hrm, maybe "stride" is a proper term ^_^.

  7. Program loading times by Anonymous Coward · · Score: 0

    How much of the bad performance in Windows is related to a poor loading time?

  8. Violation of XP license? by MaxwellStreet · · Score: 1, Interesting

    One has to wonder how long it'll be before the Microsoft army tries to quash this story.

    Isn't there some clause in the license that prevents publishing benchmarks and reviews that are somehow negative towards the product?

    'Course, this is IBM, and Billy G. might think twice about causing a dust-up over this. IBM isn't going to fold quickly nor quietly - and thereby give this story a much larger mindshare than it would get otherwise.

    It'll be interesting to watch.

    1. Re:Violation of XP license? by gazbo · · Score: 1

      Hmm. No evidence of Microsoft restricting benchmarks to submit as a story to slashdot.
      No evidence of Microsoft planning to quash the story.

      *ponders* What to do....

      Of Course! We'll speculate about Microsoft hypothetically quashing the story under an imaginary license clause, and then we can start flaming!

      Phew, thanks MaxwellStreet, for a minute I thought we'd have to do performance comparisons wrt pipes between different OSs, but thankfully you've brought us back on topic, and got a +1 Interesting for the effort.

      Sterling job.

    2. Re:Violation of XP license? by Anonymous Coward · · Score: 0

      The "no benchmarking" clause is quite real. It's probably not enforceable in a court of law without UCITA, but it's there.

      The thing is, Windows programming is "basically different" to UNIX programmning - people don't use pipes much on windows, so it's not surprising they're not up to much. People don't fork() much on windows either...

      The UNIX programming model is generally simpler, more versatile, and less clunky than windows coding (pascal conventions? CALLBACK? give me a break...), in my not-so-humble opinion, but there are systems that are better than either, such as QNX/Neutrino (a message-passing microkernel)

    3. Re:Violation of XP license? by Anonymous Coward · · Score: 0

      No they just say that everything you can do with pipes, you can do with our COM and IPC implementations which incidentally are better than their counterparts on Linux and have been since Windows NT 4 Service Pack 3. COM and IPC are also the preferred methods have been since before Windows 2000.

    4. Re:Violation of XP license? by Anonymous Coward · · Score: 0

      Just make sure the web page was not written with Front Page....

    5. Re:Violation of XP license? by Anonymous Coward · · Score: 0

      Careful, you'll upset the "Slashdotters can't say anything good about Microsoft and it hurts my feelings!" crowd.

    6. Re:Violation of XP license? by Anonymous Coward · · Score: 0

      Huh? he didn't say anything good about windows. He said Unix was better than windows, listing in parantheses some of the more braindead aspects of windows programming (pascal calling conventions, for one), and then said there are systems better than both Unix and Windows, such as QNX.

      I'd add that things like EROS have the potential to be better, and that, on the desktop, BeOS was technologically better (but, uinfortunately, Be was run by a total wanker in the form of Gassee)

    7. Re:Violation of XP license? by Dahan · · Score: 1
      The "no benchmarking" clause is quite real. It's probably not enforceable in a court of law without UCITA, but it's there.

      If it's so real, how 'bout you show us where it is? Can't, huh? You know why? Because there isn't one.

      Here's the Windows XP Professional EULA for those of you who want to look for yourselves.

    8. Re:Violation of XP license? by MaxwellStreet · · Score: 1

      Whoops.... if this really is the applicable license (I couldn't find the XP EULA anywhere on the microsoft site - maybe I'm not looking hard enough?) - then perhaps I was a little hasty.

      But the fact is that the no benchmarking clause caused a bit of a stir with (IIRC) SQL Server; and the "No saying bad things about Microsoft" clause in the Frontpage product was the subject of a story here recently.

      Forgive me for making the assumption that it was becoming a standard part of their licensing... I think you'll agree that it was a reasonable assumption to make for an off-the-cuff comment.

      I don't exactly understand why people think this site is so violently anti-Microsoft. Fact is, there are as many posts here defending them as there are bashing them.

      (Then again, perhaps we're being astroturfed. Wouldn't be the first time for that with Microsoft either, now would it? Dead people sending petitions, anyone? Hey - an opposing viewpoint adds plenty to the discussion though.)

      I don't foam at the mouth when I think about their products (as I'm sure some do) - but I find some of their business practices and licensing clauses to be quite offensive. Hence, my post.

    9. Re:Violation of XP license? by Dahan · · Score: 1
      I don't think the XP EULA is on MS's site... I haven't actually looked for it, but I suspect they want you to buy it before you can see what you're getting into :) The link I posted was to eula.txt from the XP Pro CD available as part of my MSDN subscription.

      And SQL Server is completely different from XP... I have the SQL Server CD somewhere, but it'd take too much effort to dig it up and look at the EULA. From what I've heard though, it's fairly standard practice for all DBMS vendors to restrict publishing benchmark info. I've never looked at their license agreements myself, but others have said that Oracle and Sybase have the same restrictions. Apparently, it has to do with tuning being such an important aspect of DB benchmarks that the vendors want to make sure that benchmarkers are properly tuning their systems before claiming that their engines suck.

      Anyways, I didn't have any problem with your post--what I was complaining about the AC who said, "The 'no benchmarking' clause is quite real," when it wasn't. (Unless you are said AC, in which case, I was complaining about your post :)

  9. Pipes? Phbbt. by gosand · · Score: 5, Funny
    What good are pipes anyway? Unless there is a GUI attached to them, they are worthless, right?

    Ask your local MCSE, they'll tell you.

    ROFL.

    --

    My beliefs do not require that you agree with them.

    1. Re:Pipes? Phbbt. by Anonymous Coward · · Score: 0

      i'm an mcse... what's a pipe?

    2. Re:Pipes? Phbbt. by Anonymous Coward · · Score: 0

      It's what your father is sticking in your ass junior.

    3. Re:Pipes? Phbbt. by Hertog · · Score: 5, Funny

      Any good MCSE will tell you that the windows-logo screensaver is much nicer then the pipes-screensaver..

      Gr.

      Hertog

      --
      -=- I heard rumours about an OS called "Social Life", heard of it? Is it stable? -=-
    4. Re:Pipes? Phbbt. by Loligo · · Score: 1

      >Ask your local MCSE

      Most of the MSCE's I know seem to have already spent plenty of quality time with a pipe...

      -l

  10. Loved the "Bug or Feature" part.. by cOdEgUru · · Score: 3, Funny

    From the article..

    Another distinction might the the "feature" of Windows pipes where there is no fixed buffer size. For the first test we stopped at a 4K buffer size in deference to the Linux buffer. Windows advocates might suggest that the arbitrary buffer sizes associated with Windows named pipes are a benefit. To demonstrate the arbitrary size of the Windows named pipe buffers, we can simply run the single threaded program with arbitrarily large block sizes. I did a run with pipespeed2.cpp on Windows and specified a 256 MB buffer size. Windows obliged by swelling the buffer size to hold 256 MB of data before the ReadFile() was issued. The system slowed to a crawl and I didn't wait until the operation completed. Whether this "feature" of Windows is useful or not is up to the public.

    Well, i am sure it started out as a feature..

    1. Re:Loved the "Bug or Feature" part.. by mimbleton · · Score: 1

      That is stupid.
      He should have set Windows buffer to something more reasonable like 64 or 128K and have it run against Linux 4k-blocking version ( single threaded.)
      Anyway, it does appear that Linux is generally faster when blasting stuff thru pipes.

    2. Re:Loved the "Bug or Feature" part.. by Anonymous Coward · · Score: 0

      But the testing methodology doesn't make sense.

      He's comparing the throughput of the pipes at 4K buffers. Then, just to see how the pipes perform with larger buffer sizes, he increased it to 256MB!

      What kind of retard is this guy?

      How about a throughput test at 8K, 16K, 32K, etc, etc. It's possible the limiting factor in Windows pipes is the overhead, not the transfer. So, break your data up in to larger chunks and transmit less often.

      I would imagine your throughput will approach the Linux numbers. I'm not saying it will equal or exceed it for one simple reason. Windows is in NO way designed around optimal use of pipes. They're sort of an afterthought.

      If you want interprocess communication use COM or COM+. This is the underlying technology MS wants you to use.

    3. Re:Loved the "Bug or Feature" part.. by Score+Whore · · Score: 2

      The moderation on the parent shows the breakdown in the moderation system. "Funny"? Perhaps. But not interesting at all.

      I unix admin for a living, I hold no special love for Windows. But for fucks sake... does demonstrating that an OS allows a developer to be a fucking cretin highlight a failure in the OS or a failure in the developer?

    4. Re:Loved the "Bug or Feature" part.. by Anonymous Coward · · Score: 0

      Yeah, reminds me of a program I wrote which simply made a 2GB file of random data using 2MB buffers. It slowed the system to an absolute crawl. Unfortunately, this was a Linux server.

    5. Re:Loved the "Bug or Feature" part.. by TummyX · · Score: 1

      What the %**^ are you talking about? That was the stupidest post I've ever read.

      I heard Linux has this "feature" called malloc. I tried to malloc 10GB and the system slowed to a crawl. Whether this "feature" of linux is useful or not is up to the public. Malloc should just allocate a fixed block size.

      Well, I'm sure it started out as a feature....

    6. Re:Loved the "Bug or Feature" part.. by AME · · Score: 2
      I heard Linux has this "feature" called malloc. I tried to malloc 10GB and the system slowed to a crawl.



      I doubt it. malloc(10737418240) should return null pretty quickly unless you have 10GB of virtual memory available.



      Even if it did give you a 10GB buffer and even if most of it was in swap, I doubt it would slow the system down much, but your program's buffer accesses might be a tad pokey.

      --
      "I have a good idea why it's hard to verify programs. They're usually wrong." --Manuel Blum, FOCS 94
    7. Re:Loved the "Bug or Feature" part.. by Anonymous Coward · · Score: 0

      malloc is fine but calloc will bring your system to its knees.

    8. Re:Loved the "Bug or Feature" part.. by GooberToo · · Score: 1

      Actually, assuming that you have the VM to allow it, it would not be commited until it was used. So, just malloc'ing it would not of hindered performance at all. On the other hand, calloc would be a different issue...

    9. Re:Loved the "Bug or Feature" part.. by darkonc · · Score: 2
      I did a run with pipespeed2.cpp on Windows and specified a 256 MB buffer size. Windows obliged by swelling the buffer size to hold 256 MB of data before the ReadFile() was issued.

      I think it was a troll... Funny as all get-out, but a troll nontheless. -- and I would have liked to seen the Windows performance at (say) a 64k block size.

      Oh well...

      --
      Sometimes boldness is in fashion. Sometimes only the brave will be bold.
  11. Premature by johnnyb · · Score: 4, Insightful

    This is very premature. This was only testing ONE aspect of Windows vs Linux, which is not even used very much in the Windows world. This is meant to be an overall test of Windows vs Linux in performance, but the article is going to span over several weeks/months. Only after the series is finished will a good comparison be made. To say that Linux rocks just because it's pipes are faster means jack squat. What if Windows sockets are faster? What if Windows Disk IO is faster? What about Windows Asynchronous I/O? Eventually, this article series will answer such questions. However, this article ONLY answered the question of whose pipes are faster. Nothing else should be read into it.

    1. Re:Premature by VEGETA_GT · · Score: 1

      Man rad the dam article ok
      Whre in this dose it say this is a test about which is better. It compares the pipes, and thats it. and in this case windows came lst with there newest windows release comming dead last. So please before you say anything, read th article.

    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. Re:Premature by tmark · · Score: 5, Insightful

      What if Windows sockets are faster? What if Windows Disk IO is faster? What about Windows Asynchronous I/O?

      I would expect that if any benchmarks came out favoring Windows, and if they were reported here, they would be roundly and loudly shot down with 1) criticisms of the testing protocol, and/or 2) criticisms of the bias of the testing agency. Of course, the same criticisms are just as valid in this case, but of course they are here largely ignored (one poster so far excepted).

      All of which just goes to show that the essence of the whole 'Linux-rocks/Windows-sucks' horse that is always being flogged here is that this horse is ultimately flogged by (sometimes blind) faith. Few of the Linux zealots here are going to believe any benchmark/test unless it favors Linux (in which case, they will all praise the study to high heaven) - just look at the lengths people here go to argue that GNOME/KDE provide better-than-mediocre desktops. Similarly, few Windows advocates are going to be convinced that their platform of choice is inferior.

      Since all these articles thus amount to preaching to the converted, I suggest that the Slashdot editing team hereafter mark all such articles of theirs as 'Redundant'.

      Hey, why can't we rate parent Slashdot articles, anyways ??

    4. Re:Premature by jgerman · · Score: 3, Insightful

      Uh the reason so many people will pick apart studies claiming Windows superiority is because heistory has shown us that they are usually untrue. I know Linux is technically superior to Windows I know Linux is more powerful than Windows, I don't need a study to prove it. And as far as Linux desktops being mediocre, that's entirely a matter of opinion. I love my GNOME desktop, I love the fact that it's more powerful, flexible, and customizable than Windows. And I really love the fact that my linux workstation works the way it's supposed to and doesn't constantly crash.

      --
      I'm the big fish in the big pond bitch.
    5. Re:Premature by spectecjr · · Score: 0, Troll

      Uh the reason so many people will pick apart studies claiming Windows superiority is because heistory has shown us that they are usually untrue. I know Linux is technically superior to Windows I know Linux is more powerful than Windows, I don't need a study to prove it.

      I guess you also know that the Earth goes around the Sun.

      Is it dark where you are? I mean, surely there's not much illumination when your head is stuck up your ass.

      Oh, and by the way, Windows doesn't constantly crash, unless a Linux user is running it.

      --
      Coming soon - pyrogyra
    6. Re:Premature by diamondc · · Score: 1

      oh shutup. stop going into meta-discussions about discussions on why slashdot moderation sucks and implying that all slashdot users are part of one herd and that we're all Windows bashers. If you want to rate articles there's always Kuro5hin.

      Windows 2000/XP is a great desktop OS.. and Linux/Unix is a great server OS. Each one has its strengths/weaknesses.

      --
      "I keep looking in the want-ads under 'revolutionary' but there don't seem to be any listings.. "
    7. Re:Premature by Anonymous Coward · · Score: 0

      In sufficent numbers and 4K chunks? Using a database ported from *nix?

    8. Re:Premature by Score+Whore · · Score: 4, Interesting

      Would you care to elucidate on the power, flexibility, and customizability of your GNOME desktop wrt how it stacks up against Windows in those areas. Also please expand on how linux doesn't constantly crash. You see I find that Windows as a whole is more stable than the components of linux. Just because the webserver in my workstation doesn't go down, it doesn't mean that my work isn't interrupted when my X server/web browser/email client/cd burning software/etc. crashes. So how is it better for me that some parts of the OS are still functional? Particularily parts that are almost entirely fluff for my day to day desktop use? It would probably be wise for the Unix community to stop generalizing its arguments into pointlessness. Instead we should focus on actual strengths that can be shown as real benefits.

    9. Re:Premature by sheldon · · Score: 2

      "Windows superiority is because heistory has shown us that they are usually untrue. "

      *cough* Mindcraft

      What Mindcraft proved was that there were signifigant problems with Linux and it performed horribly compared to Windows.

      Yeah, it was picked apart... but they used the pickings to solve real issues.

    10. Re:Premature by jgerman · · Score: 1, Troll
      In a forum like slashdot I only have enough space to generalize but I'll throw a couple of answers out. Let's start with the fact that I have the source to my software, if there's something I don't like about a particular piece of software I can change it, that is power, that is flexibility, that is customization and that's at the lowest level and is an inherent characteristic of OSS. Two, good linux software offers infinitely more cutomization than Windows in that I can choose what file manager to use, what window manager, and the ability to write my own very easily if that's what I wish. If I want a full featured desktop I can have one, if I want a small lightweight blazing fast window manager, I can have one of them as well. More importantly many window manages, such as Sawfish, allow unlimited customization in the form of embedded scripting.


      Three, let's look at your absolutely clueless statementL

      You see I find that Windows as a whole is more stable than the components of linux. Just because the webserver in my workstation doesn't go down, it doesn't mean that my work isn't interrupted when my X server/web browser/email client/cd burning software/etc. crashes. I personally don't have that problem, on the rare occasion when software does crach (which is certainly less often than windows) it is obvious that having only the bad process crash is preferable to having the whole system brought down by a user process. Let's look at it in detail, you and I are working on the exact same project, we both have open a web browser, an email client, and some terminals. Both of our web browsers crash at exactly the same time. IE takes down your whole machine, blue screen... reboot, I restart my browser and continue working. It's not that hard to see who is better off. Not to mention the fact that you have just lost all unsaved information in the other processes where I have not.


      Four, Linux has more power in that all desktop functionality has its equivalent in the filesystem in a format that makes intergrates the two seamlessly, unlike windows which hides the gui aspects from the user.


      Five, my desktop software doesn't store files in a binary proprietary format, which by the way is bloated to ridiculous sizes by copyright lines and privacy invading user id's.


      Six, (this is fun), My spreadsheet can handle more than 65,000 rows.


      Seven, the majority of Linux distributions come pre configured for invaluable tools like ssh, traceroute, and tcpdump.


      Eight, I didn't have to pay for my software.


      Nine, The whole concept of a GUI is fluff to your day to day desktop use, you can get everything done with just a command prompt... faster.


      Ten, I can create a professionally typset document in less time than you, without removing my hands from the keyboard. Cavemen pointed at things and grunted, it's no suprise that that's the only way that Windows users can interact with their machines.


      Eleven, I have complete control over my OS. In the extremely unlikely event that my software decides to send personal information back to the makers I can turn it off and continue to use the product. You have absolutely no control.



      I could go on forever, but like I said, space limitations. It's ridiculous for a Windows user to argue the technical superiority of windows over Linux. As of right now my work desktop Linux box has been up for over 203 days. Which coincidentally is the last time I upgraded the kernel. How long has your Windows machine been up?


      As far as Windows being more stable, that's simple laughable, Windows isn't even stable running under it's own power with no extra software. Hell 95 had a timed meltdown, if you left it running you could predict to the minute when it would go down, if it managed to make it that far.


      I didn't even have to go into the whole spectrum of tools that are available for *nix that are unheard of on Windows.

      --
      I'm the big fish in the big pond bitch.
    11. Re:Premature by Anonymous Coward · · Score: 0

      One must feel morally superior in some way. Generalizing about slashdot seems to be the Microsoft apologists way of making him/her self feel better...

    12. Re:Premature by Anthony+Boyd · · Score: 2
      I would expect that if any benchmarks came out favoring Windows, and if they were reported here, they would be roundly and loudly shot down with 1) criticisms of the testing protocol, and/or 2) criticisms of the bias of the testing agency.

      I don't agree, or at least I think you're leaving out a significant point. I think the /. community rails against Microsoft-funded tests, but otherwise takes these tests to heart. Just look at the recent ZDNet testing that showed NT could barf out static Web pages faster than Linux. There were calls of bias, to be sure, but what actually happened was a bunch of Linux users jumped up and re-did the tests, and then a few leaders in the community went to ZDNet to watch the tests being run. And guess what? The tests were right, and rather than poo-poo the results, the developers actively worked to fix the errors. This community is self-correcting. Give us real results that we can reproduce, and we'll take it not as an attack but as a springboard for improvement. Or at least, that's what recent history indicates.

    13. Re:Premature by Anonymous Coward · · Score: 0
      I know Linux is more powerful than Windows, I don't need a study to prove it

      Facts? We don't need no steenkin' facts!

      It's so nice to see that faith is still holding its own against science and empiricism, even if it is faith in different things.

    14. Re:Premature by dimator · · Score: 1

      before you say anything, read th article.

      and before you say anything, proof read!

      --
      python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
    15. Re:Premature by Anonymous Coward · · Score: 0

      Just switch all occurrences of "Linux" with "Windows" and visa-versa in the parent's post and maybe you dimwits will see what a poorly written troll it is.

    16. Re:Premature by jgerman · · Score: 2

      *cough* Midcraft was * cough bought and paid for cough * incredibly biased

      --
      I'm the big fish in the big pond bitch.
    17. Re:Premature by Anonymous Coward · · Score: 0

      You just proved the parent poster's point exactly. Congratulations...

    18. Re:Premature by Anonymous Coward · · Score: 0

      as someone who has done (and faked results) on mindcraft benchmarks i have to say that they can be biased any way you want them to be.
      trust me. all mindcraft wants is the fee to run any test you want and report results. they have no other requirement. they ignore config details and when techs setting up the environment lie to the mindcraft people they do not notice.

    19. Re:Premature by STSeer · · Score: 1

      I hope that nobody is dumb enough to hire someone with your level of cognitive abilities for any technical position.

    20. Re:Premature by TummyX · · Score: 1

      Yes. Except that Redhat was invited to come along and help do the testing. Linux still failed because it had an appaling unthreaded TCP/IP stack. It has been fixed since. But it is OBVIOUS that Linux isn't better than windows in every way. It is only better in the minds of zealots.

    21. Re:Premature by Anonymous Coward · · Score: 0

      Take your post, swap the words Linux and Windows, and read it again.

      Then you will see how much you sound like a zealot to us. You just stated yourself that you would believe one is superior to the other regardless of any studies.

    22. Re:Premature by Anonymous Coward · · Score: 0

      Yes it was, but strange how linux supporters seem to forget that the second time around linux experts from redhat I believe were allowed to fine tune the linux box, and it still got it's pants beaten off.

    23. Re:Premature by Neumann · · Score: 1

      My daddy has a saying that this post reminds me of:
      Dont confuse me with facts, my mind is made up!

    24. Re:Premature by maxpublic · · Score: 1

      Swap "Linux" and "Windows" and you get the exact same attitude that Windows users dish out whenever their precious OS suffers the slightest bit of criticism.

      Both sides of the debate have their share of idiots and fanatics. But fanatics of any stripe are still fools, morons, and goatse.cx'ers.

      Regardless of whether they drool over pictures of Linus Torvalds or Bill Gates.

      Max

      p.s. frankly, Linus is cuter, and Linux has a cooler mascot.

      --
      My god carries a hammer. Your god died nailed to a tree. Any questions?
    25. Re:Premature by DarkEdgeX · · Score: 2

      Hey, what group of morons modded this troll up?

      --
      All I know about Bush is I had a good job when Clinton was president.
    26. Re:Premature by Score+Whore · · Score: 2
      OMFG! That has got to be the epitome of self delusion. Leaving out the total non-argument of 'I can program it myself' (here's a hint buddy: you can write your own window manager, file manager, etc. for windows... if that's what you want to do with your computer.) Let's go ahead and address some of your other points. At least the ones that aren't, again, total non-arguments.

      When was the last time that I had IE crash and take down my entire machine? Um, well, let's see. How about never.

      Four, Linux has more power in that all desktop functionality has its equivalent in the filesystem in a format that makes intergrates the two seamlessly, unlike windows which hides the gui aspects from the user.
      Huh? That doesn't make any sense. Are you trying to avoid having your arguments taken apart by throwing out incoherent sentences?

      Five, my desktop software doesn't store files in a binary proprietary format, which by the way is bloated to ridiculous sizes by copyright lines and privacy invading user id's.

      Exactly what desktop software would that be?

      Six, (this is fun), My spreadsheet can handle more than 65,000 rows.

      Interesting. Do you often run over 65,000 rows? Personally I never have, but then again I prefer to have a high quality graph solution in my spreadsheet, or integration with my word processor and presentation engine. What software do you use for presentations?

      Seven, the majority of Linux distributions come pre configured for invaluable tools like ssh, traceroute, and tcpdump.

      ssh is useful. But traceroute and tcpdump are not. At least not to the vast majority (and by vast I mean something on the order of 99.99999% of computer users.) You know what my windows install came with:
      • Accessability features for people who have physical handicaps.
      • High quality multimedia players (you know, ones with basic features like synchronized audio and video)
      • A fully featured web browser.
      • Well hinted fonts (with ubiquitous anti-aliasing.)
      • A good, robust, easy to use file manager with a rather interesting array of options in the detail view.


      OK. I'll stop waving the quality flag in your face.

      Nine, The whole concept of a GUI is fluff to your day to day desktop use, you can get everything done with just a command prompt... faster.

      Perhaps a GUI is irrelevant for your day to day use... but you're in a minority there.

      Ten, I can create a professionally typset document in less time than you, without removing my hands from the keyboard. Cavemen pointed at things and grunted, it's no suprise that that's the only way that Windows users can interact with their machines.

      Can you? That'd be interesting. Add a graph to that "professionally typset document". Now include some color photos. Bring me the output color corrected. All without removing your hands from the keyboard. Oh wait! You must have one of those toe-mice doodads... That's how you do things without removing your hands from your keyboard. Or you just don't do anything overly complex.

      Eleven, I have complete control over my OS. In the extremely unlikely event that my software decides to send personal information back to the makers I can turn it off and continue to use the product. You have absolutely no control.

      Do you? Really? I run linux, solaris, freebsd, win2k, and I have total control over none of them. You must be some kind of programming god. Do you select which processes to kill when you run out of swap space? Step in and perform deadlock avoidance? Handle processor affinity? Deal with your memory management issues? I don't. Fuck I don't even want to. Could I if I had to? Sure, but ... why? I've got better things to do with my time.

      I could go on forever, but like I said, space limitations. It's ridiculous for a Windows user to argue the technical superiority of windows over Linux. As of right now my work desktop Linux box has been up for over 203 days. Which coincidentally is the last time I upgraded the kernel. How long has your Windows machine been up?

      Oddly enough my work Windows box has been up longer than my work Linux box. But also oddly enough, I figure that it makes more sense for me to save my employer some money and I turn my boxes off if I expect to be away for an extended period of time. But neither box has a tendancy to fall over randomly.

      Exactly what is the point of having a workstation stay up for 203 days? Honestly I don't see the point of it. My Win2K box has crashed two times in the last year. My linux box has crashed four times and it's obvious that most of the software and drivers is beta or pre-beta.

      I didn't even have to go into the whole spectrum of tools that are available for *nix that are unheard of on Windows.

      OMFG! You have got to be kidding.

      Oh wait. Why did I just write all that. Didn't I ask you about:

      " Would you care to elucidate on the power, flexibility, and customizability of your GNOME desktop wrt how it stacks up against Windows in those areas. "

      Pull your head out and show the group how your desktop is more powerful, flexable and customizable than Windows. Without resorting to the "I can reprogram it" non-argument. Fuck, that's like saying "my honda civic is more powerful, versatile and usable" than a HUMV, because I can recast, rebuild and retune the entire fucking thing.
    27. Re:Premature by matrix29 · · Score: 1

      Yeah! Windows ROCKS when accessing the A:\ drive.

      It sits there like a ROCK as the drive slowly chugs! How about virtual memory? Every try to defragment a floppy disk without the copy everything, format, copy back cycle? Windows COULD use the virtual memory to copy the floppy, tune it up there, then copy back the optimized disk. It COULD... but it uses the space free on the floppy as the swap file. DUMB!

      Ever have two hard drives with one almost empty and the other mostly full? If you tune the almost full one will Windows use the almost empty drive as the swap file? Never. DUMB!

      How long has Windows done these stupid things? Since Win3.1!

      This isn't standardization, this is the most laziness they can get away with. It shows in all their mediocre software. Do you honestly think they don't take the most lazy method of programming to practice? What in their past performance makes you think otherwise?

      How long was it since you didn't have to reboot in Windows to change the screen resolution?
      Windows 98 (released in 1999)

      When did Windows 3.1 release? (1990)

      http://collections.ic.gc.ca/simcoe/display.htm
      NINE YEARS OF POINTLESS REBOOTS!
      NINE YEARS!

      And this was just a MINOR ISSUE of Windows stupidity and laziness!

      --
      "Face it, a nation that maintains a 72% approval rating on George W. Bush is a nation with a very loose grip on reality.
    28. Re:Premature by GooberToo · · Score: 1

      Somehow, somewhere, I missed that part that said that Linux rocks just because of this single test. The fact is, it is a test that compared only a single aspect. Fact is, it really has no effect on anyone's perseption of the two, unless you're off the deep end. On the other hand, it does make for interesting conversation, not to mention important knowledge for anyone that attempts to port something to Win32 which uses pipes and wonders why it performs like a dog. So, the information is hardly worthless but certainly not strong enough to carry Linux any further that it already is in the minds and hearts of those that already use it.

    29. Re:Premature by Some+Dumbass... · · Score: 1

      I would expect that if any benchmarks came out favoring Windows, and if they were reported here, they would be roundly and loudly shot down with 1) criticisms of the testing protocol, and/or 2) criticisms of the bias of the testing agency. Of course, the same criticisms are just as valid in this case, but of course they are here largely ignored (one poster so far excepted).

      Likewise, we would expect people to say that we're all Linux bigots on SlashDot, and for these comments to be marked up despite their claims that such criticisms get marked down or ignored.

      In other words, it's the same old story... both chapters of it :) So don't let your horse get up too high, there. Stay in the mud with the rest of us.

    30. Re:Premature by Malcontent · · Score: 2

      All I know is that when I upgraded my IE to 5.5 it killed the scheduler in NT4.0 server. All the AT jobs silently failed leaving no trace of their failure in the event log or anyplace else. For a couple of weeks none of the routine jobs that I took for granted ran causing all kinds of troubles. I found a fix on some NT board and it involved rebooting the server.

      Any OS which disables a crucial service like scheduler when you upgrade a browser is crap. I can't believe that my company bets their business on a platform like this. On the desktops upgrading to IE5.5 rendered a significant number of office97 apps completely useless and we had to go from desktop to desktop undoing the damage that did (who wants to talk about TCO?).

      So yes maybe it great that you can embed your shiny graph in your spreadsheet in the meanwhile the corporate server hasn't been running a backup in weeks.

      To me this fiasco more then anything numda every did (and it did plenty all around the world) illustrates just exactly what kind of a heap of crap MS operating systems are.

      Go ahead and justify how installing a browser should break the server that your company is depending on, the desktop apps your employees are depending on, and require rebooting of hundreds of machines.

      I am sure for a MS cult member all of these are perfectly justifiable and reasonable side effects of upgrading a browser, just as having biweekly patches to your OS (and rebooting it), your webserver, and your browser are considered a lower TCO but to us in the real world who have this crap shoved down our throats it's no picnic.

      The only saving grace is that when I explain to my boss that upgrading IE broke his server he just shrugs and doesn't blame me for it. He understands that MS makes crappy products all too well by now and he certainly knows what the consequences of not upgrading every two weeks and rebooting are too.

      --

      War is necrophilia.

    31. Re:Premature by Anonymous Coward · · Score: 0

      Windows *advocates*? Where do you find those?

    32. Re:Premature by Anonymous Coward · · Score: 0
      Do you select which processes to kill when you run out of swap space?
      Kill 'em all. Let the memory manager sort them out.
    33. Re:Premature by Anonymous Coward · · Score: 0

      Oohh looke everyone, TUmmyX has come crawling back out of the woodwork!

      The mindcraft tests were a deeply unrealistic situation for web serving, whether on windoze or linux. And now linux is better, even in that obscure situation. Thanks Mickeysoft! When you try to kick us, we get stronger!

    34. Re:Premature by mgv · · Score: 1

      I'd have to agree.

      I have (temporarily) given up on my linux box because X doesn't really support USB. Simple little thing, but I use a USB mouse and keyboard on a switch box over several computers at home. Windows copes just fine with the mouse appearing and disappearing. Cant say the same for X. I actually had to reboot X to have it find the mouse again.

      Do I care that the pipes are faster?

      Go figure.

      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    35. Re:Premature by Score+Whore · · Score: 1

      LOL!

    36. Re:Premature by sheldon · · Score: 2

      Yes, but then the mindcraft results were verified by other third parties.

    37. Re:Premature by johnnyb · · Score: 2

      The person who posted the article said it.

  12. pipes for IPC on windows? by kangasloth · · Score: 5, Insightful

    Who you kidding? I'm no windows developer, but even I know you don't use pipes for IPC in windows, it's all COM. COM on windows versus CORBA or DCOP might be interesting.

    1. Re:pipes for IPC on windows? by maeglin · · Score: 3, Interesting

      Who you kidding? I'm no windows developer, but even I know you don't use pipes for IPC in windows, it's all COM. COM on windows versus CORBA or DCOP might be interesting.

      While I agree with most people that it's a rather silly comparison, pipes aren't quite as dead as people think. Many "enterprise" systems still use pipes on windows. Database systems in particular...

      I'm not a conspiracy kind of guy, but you could almost argue that Windows pipes are being slowed on purpose. I doubt SQL Server uses them (espescially if they're degrading this quickly) but many of MS's competitors still do (Including IBM's DB2).

    2. Re:pipes for IPC on windows? by Anonymous Coward · · Score: 0

      Some people actually write perl for windoze...
      pipes are our friend

    3. Re:pipes for IPC on windows? by Anonymous Coward · · Score: 0

      Not sure now, but i think during MS SQL Server installation it offered me (maybe even suggested) usage of named pipe.
      Maybe even outlook talks to exchange server via named pipe, but again, not sure, don't blame me if i'm wrong ;)

    4. Re:pipes for IPC on windows? by BeeShoo · · Score: 1

      SQL Server does use named pipes by default. However, even MS recommends changing over to TCP/IP (or some other method) for heavy usage as named pipes don't scale well (at least for SQL Server).

    5. Re:pipes for IPC on windows? by pi_rules · · Score: 3, Interesting

      COM and CORBA are probably 10 or so levels higher up as far as abstraction goes over pipes. Pipes are down and dirty C style IPC mechanisms, COM and CORBA most likely utilize them (or IP sockets) to actually get the job done.

      People use COM not understanding the performance hit they're getting. Sure, it's the "Right" way to do it by MS standards these days but why diddle with it when all you really need is a few functions to wrap up some pipe() calls to get your two components speaking?

    6. Re:pipes for IPC on windows? by Old+Wolf · · Score: 3, Interesting

      But then you have to design protocols and worry about blocking and aborting and so on. The good thing with COM is that they all speak the same language, and you can even find out everything you want to know about what the other end supports at runtime

    7. Re:pipes for IPC on windows? by WasterDave · · Score: 3, Insightful

      Yes and no. Sure, I never used pipes on windows but I did use the message passing mechanism some times. Interestingly enough this is the low level mechanism used by COM to do interprocess comms.

      That would have been a better test.

      BTW, The source code examples in the article did a great job of reminding me why I hate coding for windows :)

      Dave

      --
      I write a blog now, you should be afraid.
    8. Re:pipes for IPC on windows? by The+Bungi · · Score: 1

      Interestingly enough this is the low level mechanism used by COM to do interprocess comms. Eeek! Try again. COM uses the standard Windows messaging architecture.

    9. Re:pipes for IPC on windows? by jon_eaves · · Score: 1

      How do you think that COM actually communicates ?

      Magic ? Waving little hands in the air. ?

      Underneath all those spiffy RC mechanisms are
      raw sockets/pipes calls. Testing fundamental
      mechanisms like this is quite relevant as COM
      isn't going to go any faster if you've got a
      crappy underlying data shuffling mechanism.
      If the TCP/IP stack is crap, then remote comms
      is going to be crap. Nobody I know writes
      raw IP packets to the interface, but everybody
      who wants to communicate over a wire is going
      to use that stack.

      Don't CS classes teach people anything these
      days. The number of /. readers that obviously
      don't have the faintest clue about how IPC
      mechanisms work just stagger me.

      Sheesh, I wouldn't let half of you guys turn
      on my computer, let alone program it.

    10. Re:pipes for IPC on windows? by partingshot · · Score: 1

      You misunderstand what com is.

      In com, you load a binary module and get the
      offset of the vtabl then start calling
      functions. The only performance hit you take
      is with dynamically loading the module.
      But its no more of a performance hit than
      loading a 'c-style' .dll or .so

      You can do a lot more with com than you can
      with pipes. Pipes are basically limited to
      handling streams. You can communicate with
      the object any way you see fit.

      --
      Anonymous posts are filtered.
    11. Re:pipes for IPC on windows? by partingshot · · Score: 2, Informative

      > How do you think that COM actually
      > communicates ?

      One module loads another module and gets
      the offset to the vtable. The COM designers
      designed a binary standard that (not coincidentally)
      mimics the layout of the c++ vtable.
      So. COM uses function pointers to communicate.
      And that's a helluva lot faster than any network
      operation.

      --
      Anonymous posts are filtered.
    12. Re:pipes for IPC on windows? by J.+Random+Software · · Score: 1

      Remotely, DCOM uses DCERPC, apparently with some tweaks for DGC, interface negotiation, and NTLM security. Between apartments, COM uses plain old USER32 window messages (a STA thread has to pump messages or none of its objects can receive messages or responses). Within an apartment, COM permits calls right through the object's vtbl. I'm sure you could write a custom marshaller that uses NetBIOS (or more likely NetBIOS over TCP) named pipes, but AFAIK neither Microsoft nor anyone else has shipped a (D)COM object that does so by default.

    13. Re:pipes for IPC on windows? by jon_eaves · · Score: 1

      Dang, I meant DCOM, not COM. Mea culpa.

    14. Re:pipes for IPC on windows? by Anonymous Coward · · Score: 0

      Sorry, but COM is meant to be dead RSN, according to MSFT.

      It will replaced by SOAP over HTTP.

    15. Re:pipes for IPC on windows? by Anonymous Coward · · Score: 0

      I'm prettey sure that's what the previous poster meant, you dolt.

    16. Re:pipes for IPC on windows? by YoJ · · Score: 2
      I don't think it is silly to compare the speed of pipes on Windows and Linux. Yes, it's not a professionally done scientific study. It's a programmer sitting down with a stopwatch and seeing how fast a simple program runs. This is useful to someone who wants to decide how to use pipes in Windows.


      For example, Mathematica is a cross-platform application that is broken into two pieces: the kernel and the frontend. The kernel is responsible for all mathematical operations and computations, and the frontend is the GUI interface. These parts run as separate processes, to allow editing of Mathematica files without the overhead of starting the kernel, and also to allow the kernel to crash without taking all your work with it. The kernel and frontend can also run on separate machines.


      So how do the two parts of Mathematica communicate? Wolfram could make some sort of COM or CORBA interface, but this would be a lot of extra work specific to one platform. If they use pipes, then it will work on every major platform. Unix has pipes, Windows has pipes, OS X has pipes. Pipes are a good choice for IPC since they are cross-platform. This study shows the developer what to expect from Windows pipes vs. Linux pipes. The conclusion is that Linux is amazingly fast at IPC, and the various Windows are fast enough for most purposes.

    17. Re:pipes for IPC on windows? by UberLame · · Score: 1

      Is this pipe interface documented anywhere public? I have access to mathematica at school, and hacking new frontends up for it could be fun. I have a few ideas...

      --
      I'm a loser baby, so why don't you kill me.
  13. Er... by Sodakar · · Score: 1

    A test using pipes on Windows, by IBM, who pushes Linux. Heh... isn't that kinda like a test using Internet Explorer on Linux, by Microsoft?

    One must wonder what "pipe" these people were testing out...

    (yes, I'm just being facetious, for those of you humor-challenged)

  14. And yet it still sells... by MosesJones · · Score: 4, Insightful

    You'd almost think that a half-decent GUI and a huge set of tools were the most important things rather than inter-process communication.

    Amazing. Stunningly the IBM OS/390 wipes the floor with all of these entries. Great desktop machine. Linux is a good OS, its not the best, it doesn't beat Solaris for reliability, it doesn't beat Windows for usability, and it doesn't come near the Mainframe architectures for speed. But it does have its place, but petty things like this are surely pointless. If a HCI group found that Linux was _easier_ to use, then that would be something to applaud but in the days of Gigabit networks and massive processor speeds and huge RAM these sorts of performance things are less important than ever.

    The key to success is ease of use, ease of deployment, Linux is getting there, but having fast pipes won't progress it.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
    1. Re:And yet it still sells... by johnnyb · · Score: 3, Insightful

      Inter-process communication is an extremely important factor. Specifically, if your application uses a lot of it.

      It's not the only thing, but it is pretty major.

      If there's a bottleneck, that means poor scaling of applications to larger loads.

      There's a lot that's not in the article, and the article itself says so. There's no information on sockets, RPC, or other means of IPC. That is all coming in future articles. However, it is silly to say that IPC speeds are not worthwhile.

    2. Re:And yet it still sells... by geekoid · · Score: 2

      having used Linux and WIndows for years, can assure the recent Suse distro is at least as easy to use as Windows. Linux is ready for the desktop, and so is KDE2.

      2 points 1)this was the first Suse distro I have ever tried, and I'm not into any type if Distro wars.
      2)I have used both Gnome and kde, until KDE2 I found gnome to be my preference, but KDE is really easy to use. My wife figured out how to get to all the 'desktop user' stuff(spreadsheet, browser etc...) w/o any help. My wife only other computer experience consists of Windows, and the Apple ][ c.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    3. Re:And yet it still sells... by SilentChris · · Score: 2
      "having used Linux and WIndows for years, can assure the recent Suse distro is at least as easy to use as Windows."

      You just shot down your own statement. Of course an operating system is "at least as easy to use as Windows" if you've been using it for years. Heck, I thought the menu screen on the TI-99/4A was just dandy.

      I think from a "this metaphor works" standpoint, Mac OS got it right the first try (too bad the underlying code sucks -- we'll see with OS X slowly gaining popularity). Windows 95 was pretty revolutionary on a few fronts. XP is bar none the easiest Windows system to use, with the task panes on the folders saying "here you can delete, here you can write to this CD". I showed that to my mom and she instantly understood it (even though, like most of America, she still doesn't know what a "shortcut" in the Start Menu means).

      On the *NIX side, I find KDE to be my desktop of choice. But I've noticed something -- I think I like it because it's so close to Windows. You tend to like OS's you work with often enough, once you learn the underlying tricks (that's one of the reasons I installed POSIX utilities for the command line in Windows 2000/XP). :)

    4. Re:And yet it still sells... by jgerman · · Score: 5, Insightful

      , but petty things like this are surely pointless. If a HCI group found that Linux was _easier_ to use, then that would be something to applaud but in the days of Gigabit networks and massive processor speeds and huge RAM these sorts of performance things are less important than ever.


      Thus spake the virgin programmer. That bullshit about hardware invalidating the need for fast efficient code, is the bullshit rhetoric taught in college classes that brought us the blue screen of death in the first place. Speed and performance do matter as does not hogging memory and efficiency. You will always run into limits on what a machine can do, and in the case of business, writing code that allows 5 servers to do the work of ten at helf the bandwidth is a big deal.


      The key to success has already been gained by Linux, it is used by the people who matter (not matter as in personal worth but matter as in matter to the advancement of computing). I couldn't give two shits about Joe Schmoe who wants to check his email and surf for porn, let him use Windows, it's not necessary for everyone to use the same operating system. Use the right tool for the job, and for developement *nix is the best tool.

      --
      I'm the big fish in the big pond bitch.
    5. Re:And yet it still sells... by Anonymous Coward · · Score: 0

      I don't know how you can compare OS/390 with either of these. Of course it will be faster, the hardware is 1000 times the cost. It is only fair to compare things that run on the same or similar platform. And in that case my experience w/ Solaris x86 has not even been that great. I have had more stability probs w/ that than with OpenBSD or any Linux distro. THe worst part of all is what a resource hog Solaris is.

      IMHO, linux works great for my desktop. THere is no problem finding software to do whatever I need it to. OpenBSd and FreeBSD works great for firewalls and servers. THe are very efficient on use of resources and very stable. I would say they are better in both categories than linux. Finally, Windows is good for Mom & Dad. Sure, a Mandrake 8.1 install would be simple enough most of my familar could install it. But when they want to buy a new USb scanner or some other device, who is going to have to come home and work all night to get it going.

    6. Re:And yet it still sells... by grimani · · Score: 1

      best tool?

      i think you're forgetting the horrors of at&t syntax.

    7. Re:And yet it still sells... by jgerman · · Score: 2

      Yeah I gripe about that too, but only because I'm most used to the Berkeley (for the most part) syntax of Linux, had I grown up using AT&T I'd probably like that better. But I'd still prefer a Unix over a Windows any day.

      --
      I'm the big fish in the big pond bitch.
    8. Re:And yet it still sells... by tshak · · Score: 2

      Actually, I think he's talking about the fact that even if Windows was slower, if it was more usable it wouldn't matter. It's the whole "human centered computing" vs. "machine centered computing". The prior doesn't assume inefficient code, just more work for the machine to make the humans life easier (in theory).

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    9. Re:And yet it still sells... by harvardian · · Score: 2

      I think it's kind of funny how this post got modded to a 5 seeing as the second half is pure belligerence.

      My first point in response to this is to say that I have no idea where you went to school. I'm a CS student right now, and I know a lot of CS students around the country. Never once have I ever heard of ANYTHING taught except for "Elegance, elegance, elegance." I have yet to have a professor say to me "as long as it works it's fine." More like "hey, I'll give you extra credit if you can use a different algorithm that reduces computation time to n^3 instead of n^6."

      My second point is this: you say bullshit rhetoric in college classes led to the BSOD. On the wall in Maxwell Dworkin (our CS building) is pinned a program that Bill Gates wrote when he went to school here. I can assure you that the reason _he_ wrote BSODs was because he went to school in a day when there WAS NO elegant programming language. Now we have the benefit of object orientation and a large body of theory. The kind of programming they taught Bill Gates must be completely different than the computer science they teach us now. The reason the person you're responding to is saying that hardware nullifies the need for elegant programming is because they're probably an MSFT drone. Anybody who takes a modern computational theory class at any major university would never say something like that unless they slept through the class.

      The second point I have to make regards your belligerent comments about how "elite people" use Linux. Look, I don't doubt that Linux is a more powerful operating system. Your logic is completely flawed, however. Beta was "better" than VHS, but VHS won out because it won the mass market. Unfortunately for you, MASS MARKET has more sway than the elites ever will. That's the sad fact.

    10. Re:And yet it still sells... by Paul+Komarek · · Score: 2

      Sharing a computer between multiple users simultanesouly doesn't work well when every program pretends it's God's gift to the computer. This is one reason that linux has some great cost/benefit (shouldn't that be benefit/cost?) ratios over many Windows installations -- it assumes a multiuser, shared environment, in which it is impolite to be inefficient.

      -Paul Komarek

    11. Re:And yet it still sells... by aardvarkjoe · · Score: 3, Insightful
      From what I've seen, you're half right -- CS professors would never say "just make it work." But they wouldn't want you to strive for elegance, either. The job of CS professors is to churn out immeasurable numbers of the mindless Java programmers that the industry wants, solely so that the school can claim "Look! 94% of our graduates got a job!" and lure in more future drones. (Of course, this is only bad if you believe that the job of a university is to educate rather than simply sell off all its students. If you think the latter, then go ahead and skip the rest of this post/moderate accordingly.)


      Object-oriented programming and other "silver bullets" have been around for awhile. Bill Gates, while he may not be a legendary programmer, isn't the guy who's creating those BSODs now. It's the newer people, straight out of college, whose idea of important algorithms includes bubble sorting and who only have a 50-50 chance of distinguishing a pointer from a coconut. New programming methodologies won't make programs better -- only better educated programmers can do that.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    12. Re:And yet it still sells... by Anonymous Coward · · Score: 0

      I'll have you know that linux is a far superior OS for surfing for porn. Especially if you're surfing usenet.

    13. Re:And yet it still sells... by Anonymous Coward · · Score: 0

      Unfortunately, for those of us living the the REAL world, we have deadlines.

      By the time you've finished thinking about how much you're advancing computing, everyone else on Windows or Mac has completed their application and are working on the next project.

      Who's going to pay YOU?

    14. Re:And yet it still sells... by Anonymous Coward · · Score: 0

      I could not agree more.

    15. Re:And yet it still sells... by jgerman · · Score: 2
      Hmmm I never mentioned the word elite. Don't read into more than is there. I specifically went out of my way to POINT out that my statement ONLY applied to computers. As for schooling, I find it hard to believe that you've never heard a professor say that memory issues are not important because of the cheapness of RAM or that speed isn't as important since processors are so fast, but I won't call you a liar, you're lucky that you didn't have to sit through that crap. However, elegance is a nebulous term. When I go through code to speed it up the changes are not always pretty, I would call them elegant, but many college professors would not. But the truth is they work and they make for better code.


      You need to check your history, OO has been around for a long time. Elegance is not ties to a language or a method. No laguage is more elegant than another (for the most part), only the idiomatic expression of elegance is different.

      --
      I'm the big fish in the big pond bitch.
    16. Re:And yet it still sells... by error0x100 · · Score: 1

      the bullshit rhetoric taught in college classes

      Huh? What crappy college did you go to? Try a decent one next time. One gets the impression that you haven't been to college and are actually just guessing that thats what they teach.

    17. Re:And yet it still sells... by crucini · · Score: 2
      That bullshit about hardware invalidating the need for fast efficient code, is the bullshit rhetoric taught in college classes that brought us the blue screen of death in the first place.

      There may be some linkage, but I'd draw a distinction between the bullshit of academia and bullshit of Microsoft. Both can produce slow code, but for different reasons: the academic produces robust, elegant code. It's slow because it's full of error checking and levels of abstraction. Microsoft produces buggy, badly designed code. I remember reading an article describing how a relatively small Microsoft application had been made by pasting code from a larger one, resulting in insane bloat. Someone reverse engineered it and found tons of code in there that was not called by the app.

      There is a tradeoff between safety and speed. An OS with intrinsic guards against BSOD would be slower. It would probably be a microkernel with paranoid checking of inbound messages.

      There will always be a role for fast, efficient code, but for a lot of business programming robustness is more important.

      You make a good point about Linux seizing the strategic position - the people who advance computing. Two counterpoints, though: Microsoft is working hard to inject their OS into academia. Their technique consists of free and discounted stuff in conjunction with the 'elitism' ploy - they try to make people feel like special members of the MS tribe who are allowed exclusive access to source code and inside info. Not all academics are proof against such ploys. Secondly, through laws like SSSCA and crypto restrictions, Linux could become illegal or practically illegal (won't run on newer hardware).

      Microsoft isn't going to just sit there and wait for us to run them over.
    18. Re:And yet it still sells... by crucini · · Score: 2
      Never once have I ever heard of ANYTHING taught except for "Elegance, elegance, elegance."

      That is not the same as optimizing for speed. Professors generally don't want speed at the expense of elegance. For example, recursion is frequently the most elegant approach to a problem. However a simple loop can be faster for some things.
      Beta was "better" than VHS, but VHS won out because it won the mass market. Unfortunately for you, MASS MARKET has more sway than the elites ever will.

      It's not that simple. Computer technology frequently originates with researchers and hackers, and continues to be marked by its origin as it trickles down. The web brought a ton of unixisms to Windows: the '/' directory separator, which is now intermittently supported in various parts of Windows/Office, MIME types, gzip, and of course TCP/IP. Look at it another way. People who work with electricity and electronics use volts, ohms and amperes to measure electricity. This happens to be the same set of units used by electrical engineers. You could devise a different system of units that still fulfills V=IR (call it MSelectricity). If that were popular, I think it would be pushed out gradually by the 'scientific' units, because technology flows from engineers to technicians, not the other way around.

      When I was an audio/video engineer, I spec'd tons of VHS decks for surveillance, playback and other applications. If I had spec'd Beta, it would have been a very hard decision to defend because Beta is nonstandard.

      Now I work with computers, and when we have to implement a new system I push to do it on Linux. And it always is on Linux unless the software just doesn't exist.

      The difference between Windows/Linux and VHS/Beta is that the network effect simply benefited the majority in the VCR instance. In the computer instance, however, the vast majority of Windows PCs offer nothing to the world. Therefore they are a nonfactor. A linux box is more likely to be involved in software development or in serving data over a network.
    19. Re:And yet it still sells... by Anonymous Coward · · Score: 0

      "The difference between Windows/Linux and VHS/Beta is that the network effect simply benefited the majority in the VCR instance. In the computer instance, however, the vast majority of Windows PCs offer nothing to the world. Therefore they are a nonfactor."

      Hmm so a common document format (we may not like it, but that's what Word documents are), an excellent web browser platform used by the majority of users allowing developers to target for one standard and get most users with full functionality, streaming and multimedia that is quite good out of the box, a platform used by most with well defined driver documentation ect. the list goes on. Windows drives hardware developement at the moment. So your fundamental assesment is killed by the very PC you typed it on.

      "A linux box is more likely to be involved in software development or in serving data over a network."

      A linux box is more likely to be involved with software developement on the Linux platform or involve GPL. The linux platform is small and so is GPL software realitive to Windows software. As for serving data http://www.netcraft.com/survey/ (scroll down) seems to paint 50% of web servers running Windows. Linux gets 30% a big number to be sure and one to be applauded but I don't think you can say that windows servers aren't up there.

      I think the BSD folks can say they did more and their systems shape the future of computing more than the linux camp. One needs only to look at Apache and all the things both operating systems borrowed from the BSD's :-)

    20. Re:And yet it still sells... by crucini · · Score: 2

      You make good points about the office formats and the influence of IE. I was so carried away with my point that I overlooked those.

      But pointing out that linux runs 30% of web servers (for some definition of web servers) does not invalidate my point - it shows that a given Linux box is much more likely to be a web server than a given Windows box. Assumption: there are far more Windows boxes than Linux boxes.

      As for BSD vs Linux, the distinction is pretty tiny, isn't it? But whenever I read a current paper by someone researching encryption/tempest/any new scientific thing, to the extent that their platform is mentioned it's almost always Linux. BSD had a greater contribution in the past before Linux matured and gained acceptance. But nowadays, companies like SGI are trying to add cool file systems to Linux. If they did this with BSD, they'd be inviting competitors to simply swallow the code into their proprietary OS's.

  15. Re:My haunted e-mail by interi · · Score: 1

    somehow this seems entirely unrelated.

    --
    -b
  16. Programming usage by nairnr · · Score: 1

    Well, of course I always would like to see Linux come out ahead, but the real question is -- Does it really matter? While pipes are an important part of Unix programming, are they useful in Windows? I mean I have used up to 10 - 15 little utilites piped together to get a desired output on Linux. I am not sure there is a parallel under Windows. Not being a programmer under Windows I don't know what kind of IPC they prefer to use...

    So in short, nice test, but does it give us any thing useful?

    1. Re:Programming usage by spectecjr · · Score: 1

      Well, of course I always would like to see Linux come out ahead, but the real question is -- Does it really matter? While pipes are an important part of Unix programming, are they useful in Windows? I mean I have used up to 10 - 15 little utilites piped together to get a desired output on Linux. I am not sure there is a parallel under Windows. Not being a programmer under Windows I don't know what kind of IPC they prefer to use...

      Generally, not that kind. If you want to do that kind of piping, then you're using stdin/stdout/stderr from the command line in Windows. Pipes are something that - typically - most programmers never use on Windows; there just doesn't really seem to be any point, and the mechanism appears to only be there for compatibility with the NT Posix layer. COM is another solution; or mutexes with memory mapped files for interprocess communication. Or heck, even 'mailslots'.

      Simon

      --
      Coming soon - pyrogyra
    2. Re:Programming usage by Anonymous Coward · · Score: 0

      Or heck, even 'mailslots'.

      Aha... programming WNT like it is VMS - the way nature intended!

    3. Re:Programming usage by Anonymous Coward · · Score: 0

      It's not that kind of pipes, you idiot.

    4. Re:Programming usage by Old+Wolf · · Score: 2

      We're talking about named pipes here. It would be ambitious to generate a 15-long chain of named pipes :)

  17. Deja vu? by JoeShmoe · · Score: 2

    Wasn't there a similar article a couple years ago that shows conclusively that Windows NT 4.0 was faster than Windows 2000 and a wide range of tasks?

    I think Windows NT 4.0 marked Microsoft's pinnacle of acheivement. If it wasn't for the lack of USB support I would have never upgraded. Even for a server role, there are a lot of USB devices that a modern server needs to access (like DSL modems, many newer UPS's, cameras for security, additional serial/parallel devices, etc).

    Why oh why can't someone develop a third party solution? Or does one exist? DirectX and translucency I can do without...but USB is just too useful to do without.

    - JoeShmoe

    --
    -- I wonder which will go down in history as the bigger failure: the War on Drugs or the War on Filesharing
    1. Re:Deja vu? by jpostel · · Score: 2

      The NT4 to Win2k comparisons are very close to the Win2k to WinXP comparisons. The flaw in the logic is that the tests tend to take place with the Beta of the new OS or right after the release has gone gold. Either way, the apps tend to be optimized for the previous release. Once the new optimized versions of apps come out, performance starts to increase. Also, the bugginess of NT4 or Win2k without service packs is pretty well known (but then who uses the x.x.0 release of the linux kernel in production anyway?)

      NT4 is the best OS MS ever made, but Win2k is a good update to NT4. USB support is uber useful: serial and parallel are too slow and scsi and firewire are too expensive.

      --
      Ummm, Jon, aren't you supposed to be dead...? - Otter(3800)
    2. Re:Deja vu? by Matts · · Score: 3

      NT4 is the best OS MS ever made

      Maybe at it's current service pack state, but holy shit did it take them a long time and a lot of service packs to get it into that state! In fact, the original release of NT4 was a bag of shite - constantly rolling over and dying. Not until service pack 3 did it become stable. And then we had service pack 4 - what a joy that was *NOT!*.

      --

      Matt. Want XML + Apache + Stylesheets? Get AxKit.
    3. Re:Deja vu? by JoeShmoe · · Score: 2

      Oh, true, I should have qualified that. NT4:SP3 is what I install standard from my installation source. I very rarely even bother to apply SP6 (7 now?) because I don't need Access Y2K bugfixes and I refuse to touch NTFS 5.0 with a ten foot pole at the end of another ten foot pole.

      I made the mistake of copying some data to a NTFS 5.0 drive, got an error message, rebooted and found my $volume had become corrupt. Microsoft's attitude was "Shit Happens, restore from backup". That's all fine well and good, if the hard drive had physically died I would have accepted the data loss...but Microsoft's whole attitude is that it's more important to have new features than reliability. Backups should never been my first line of defense. The OS should have the smarts to recover SOME portion of the data. Given that OnTrack EasyRecovery wasn't able to find anything, I had to lose the data...but I swore I would never again touch NTFS 5.

      - JoeShmoe

      --
      -- I wonder which will go down in history as the bigger failure: the War on Drugs or the War on Filesharing
  18. In other news... by szcx · · Score: 3, Funny

    Dell announces that Windows XP outperforms Linux. Slashdot denounces study as biased.

    1. Re:In other news... by Anonymous Coward · · Score: 0

      You're a moron. You don't think IBM brings in 50 times more revenue from Windows products and services? Think about it.

    2. Re:In other news... by szcx · · Score: 2
      You don't think IBM would rather sell an OS where they don't have to kick any money back to Microsoft? You don't think they're investing a billion dollars into Linux development because they're "just like us" and believe in "the cause", do you?

      They're looking for any way they can cut Microsoft out of the picture, the same reason Oracle is investing so heavily in Linux. If IBM sell a server with a free OS, that's a few extra dollars they get to keep instead of sending to Microsoft.

      Think about it.

    3. Re:In other news... by mikera · · Score: 2

      IBM probably don't actually care much about the OS - they're much more interested in the cross-platform application servers like WebSphere, DB2 and such which is where the money is. They sell these for Windows, Linux, Solaris, whatever.

      They mainly want to make sure Microsoft can't extend it's monopoly into these areas as well. That means establishing Linux as a credible alternative and commoditising the OS space, while building additional services around it.

      Pretty sound strategy for them, Linux fans had better hope it works because right now it's the main chance Linux has ofd displacing Microsoft to any significant degree.

  19. This should come as no surprise by sting3r · · Score: 5, Interesting
    Windows pipes are much lower on the evolutionary ladder than Linux IPC mechanisms. Consider:

    • Windows pipes cannot exist in arbitrary places on the filesystem. Therefore service hijackings are easy if you can DOS the existing service into dying. On Linux, an ordinary user can't create /dev/log or /dev/printer (even if they kill syslogd/lpd), but on Windows anyone can name a pipe whatever they want (as long as it doesn't already exist).
    • Windows pipes have no access control. Hmm, didn't SANS just report on the sorry state of Windows security?
    • Windows pipes do not support ancillary data or OOB data. This makes them limited communication facilities.
    • Linux pipes use copy-on-write instead of straight out copying. Therefore the paging mechanisms enhance speed because the data is simply remapped, not manually copied.
    • Linux provides a much richer set of IPC mechanisms, such as semaphores, shm, messages, as well as the socket based facilities.
    • Linux pipes are much easier to write for. Win32 pipes are difficult to use in a C program and subtle programming errors can cause many problems in unrelated modules.

    As is often the case, Microsoft just threw something together and called it "infrastructure." Linux developers drew on 25 years of UNIX evolution and experience, and made a better product as a result.

    -sting3r

    1. Re:This should come as no surprise by mimbleton · · Score: 1

      1-4 Almost nobody uses pipes on Windows.
      5. Windows has semaphores, shm, messages and sockets.

    2. Re:This should come as no surprise by belg4mit · · Score: 1

      That are *also* incredibly poor performers.
      My former employer had a load blanacer written using such berkley things and it was a horrible performer. Apache with mod_throttle would have been better...

      --
      Were that I say, pancakes?
    3. Re:This should come as no surprise by Zen+Mastuh · · Score: 2
      Linux developers drew on 25 years of UNIX evolution and experience

      So true, so true. My experience with kernel-level *n?x programming (no MS kernel experience, call me biased...) has instilled great respect for their reliance on developing from a clean, tight model. Because an entity can only be a file or a process, access control is intrinsic, never an afterthought.

      A good analogy is the difference between the DoD TCP/IP and OSI networking layer models. The TCP/IP model was developed to accomodate an application; OSI applications are developed to fit the model. Like POSIX, the OSI model ensures clean separation between layers in applications. POSIX, etc. dictates a true multiuser multimachine system, whereas Windows (pre-2K) is a kludge built to extend DOS--a single user, single machine O/S that was actually good for its time (early 1980's).

      A valid point against the strictly layered models is the potential performance penalty from inter-layer communication. I think it's a small price to pay in this age, where the potential cost of vulnerabilities is exorbitant.

      --
      "What is the sound of one belly slapping?"
    4. Re:This should come as no surprise by sting3r · · Score: 1
      Do you have any idea what you're talking about? Read this and this, and post an apology when you're done.

      -sting3r

    5. Re:This should come as no surprise by Anonymous Coward · · Score: 2, Insightful

      First of all IPC isn't as important in Windows because Windows developers drew on many years of experience of other OS developers and wrote it to support threads from the start. Yes we still need IPC but we can also choose to have code run in the same process and avoid a lot of overhead.

      Second, pipes aren't the prefered IPC mechanism in Windows like i'm guessing they are in Linux. So you're only complaing that Windows doesn't work like Linux.

      Pipes do have access control. And it's a lot more flexible than three sets of RWX flags.

      Windows also provides semaphores, shm, messages, as well as the socket based facilities for IPC.

      OOB may be provided by sockets. Not sure here.

    6. Re:This should come as no surprise by Anonymous Coward · · Score: 0

      Linux developers drew on 25 years of UNIX evolution and experience

      Is that a euphemism for 'stole from *BSD'?

      Parp!

    7. Re:This should come as no surprise by gorilla · · Score: 2

      As someone who used the OS's that were around at the time, I can tell you that DOS was not 'actually good for its time'.

    8. Re:This should come as no surprise by Anonymous Coward · · Score: 3, Insightful
      A few points of order:

      Windows pipes aren't in the filing system, they are in the kernel namespace - which is to all intents and purposes equivalent to /dev.

      Windows kernel objects all have full access control, including pipes.

      Windows provides all those IPC mechanisms you mention, and more, including IO Completion Ports which are VERY fast [a friend just implemented a 160us turnaround on a raw socket under WinNT in user space using IO Completion Ports].

      Windows pipes are files just like Linux pipes, so they are not at all harder to program. In fact, with variable buffer sizes they can be a lot easier to manage.

    9. Re:This should come as no surprise by mimbleton · · Score: 2, Interesting

      What do you want me to apologize for?

      1. Writing debuggers is NOT what 99.99% developers do when programming for Windows.

      2. I never said nobody uses pipes on Windows. I said , compared to other IPC mechanism, pipes are not what one would call "popular technique".

    10. Re:This should come as no surprise by JFMulder · · Score: 1

      I never used it, but Out of Band (OOB) IS supported under Win2k at least, but I never had time to try it out, nor the willingness. There's more info about OOB and Windows sockets in MSDN.

    11. Re:This should come as no surprise by Nakoruru · · Score: 1

      All operating system objects in Windows NT/2k/XP can have security attached to them. Every handle, thread, process, registry key, pipe, mutex, semaphore, file, etc, etc. Hell, you say it does not even have these objects! How does such a wrong comment get modded up +5?

    12. Re:This should come as no surprise by TummyX · · Score: 5, Informative


      Windows pipes have no access control. Hmm, didn't SANS just report on the sorry state of Windows security?


      It does so. You pass the SECURITY_ATTRIBUTES to CreatePipe or CreateNamedPipe.


      Linux provides a much richer set of IPC mechanisms, such as semaphores, shm, messages, as well as the socket based facilities.


      Duh. So does Windows and every other real OS.
      Windows provides much more (like completion ports, events, mutexes etc). Also, it is MUCH easier to use them from Windows than linux. sem_init, pthread_create etc are complex to use compared to CreateSemaphore, CreateThread etc.

      And threads, semaphores, mutexes, events, processes etc in windows are all waitable. You use the SAME functions to wait on one or more of them. In linux you have to use pthread_wait, wait(), sem_wait() etc...all different functions for different types (what's worse is some certain object types don't have certain wait functions). In windows, you just use WaitForObject() or WaitForMultipleObjects() on EVERY type of handle.


      Linux pipes are much easier to write for. Win32 pipes are difficult to use in a C program and subtle programming errors can cause many problems in unrelated modules.


      Um. Like how? Why are Win32 pipes difficult to use in a C program? Huh? You just made that up didn't you?


      subtle programming errors can cause many problems in unrelated modules.


      Like? Give me an example. What do you mean by "unrelated modules" and "subtile programming errors"? What kind of crap is that? Why don't you just say: "The sky is blue therefore microsoft sucks".

      How is this hard?

      // create a pipe with 1K buffer
      CreateThread(&read, &write, NULL, 1024);
      WriteFile(write, buffer, 1024, &d, 0);

    13. Re:This should come as no surprise by dmelomed · · Score: 1

      Not everything was inherited from BSD. TCP/IP implementation in Linux is not BSD based.

    14. Re:This should come as no surprise by error0x100 · · Score: 1

      OOB may be provided by sockets

      OOB is provided by windows sockets.

    15. Re:This should come as no surprise by error0x100 · · Score: 1

      pthread_create etc are complex to use compared to CreateSemaphore, CreateThread

      I would have to disagree with this part of your post: CreateThread and pthread_create are, from a usability perspective, identical. They are extremely similar, if you know any one of them, use of the other is obvious.

      // create a pipe with 1K buffer CreateThread(&read, &write, NULL, 1024);

      I think maybe you meant "CreatePipe" here .. :)

      In windows, you just use WaitForObject() or WaitForMultipleObjects() on EVERY type of handle

      Thats cool; too bad they stuffed up sockets somewhat. In Unix/Linux, a socket is just a file handle, so all file calls (e.g. "select") work on them "automatically". In Win32 a socket is a special type of thing of its own, and "select" is specific to socket handles only; moreover, it is useless in some cases I've needed to use it because a single call to "select" has the stupid limitation that all socket handles passed to the call must belong to the same provider. So having separate sem_wait, pthread_wait etc calls is stupid on Linux, but MS also have some stuffed up similar stupidities in their implementation of sockets. Of course, the most painful thing of sockets programming on Windows is the severely crappy documentation, which tends to either be very vague, or in many cases, outright incorrect. They also neglect to mention little braindamaged details like 'sockets calls grab the win16mutex on Win9X', resulting in horrible complete-system-lock-up bugs in Direct3D programs that literally threw a few days of mine down the toilet.

      I'm afraid my own development experiences with Linux and Win32 have been pretty "mixed", e.g. all platforms seem to have their share of braindamages. Lets not even start discussing the user-interface portions of Win32 (e.g. tree controls, list controls etc) .. i.e. extremely severe lack of any thought whatsoever going into the design there :/ Or the nightmare that is MFC. Of course, I could rant about Linux too :)

    16. Re:This should come as no surprise by Anonymous Coward · · Score: 0

      Scheduling, VMM and now even ATA IDE support...

      I guess not having to write those left plenty of time to write a tcp/ip stack...

    17. Re:This should come as no surprise by Anonymous Coward · · Score: 0

      OS/2 is dead. And rightly so, because it sucked real hard.

    18. Re:This should come as no surprise by Anonymous Coward · · Score: 0

      OOB used to be supported in a rather entertaining manner in Win95...

    19. Re:This should come as no surprise by Tuck · · Score: 1
      Because an entity can only be a file or a process, access control is intrinsic, never an afterthought.

      That's not quite true. Which of those two is a network interface? How about a shared memory segment?

      --
      $ find /pub -beer "James Squire Amber Ale" -drink
  20. "New???" by wardomon · · Score: 0, Offtopic

    Who new? I gnu, how 'bout you?

    --

    - - - If the sun is a star, why can't I see it at night?
    1. Re:"New???" by Anonymous Coward · · Score: 0

      It's not off topic - whoever wrote the blurb doesn't know the difference (or didn't PROOFREAD *GASP!*) between "new" and "knew". As in "Although I new Linux..." as opposed to the correct "Although I knew Linux..."

      Who proofreads this stuff, anyway?

    2. Re:"New???" by wardomon · · Score: 1

      I don't know about you, but I always try to proofread. Nothing is more embarrasing than misspelling a second grade word. (Did I spell everthing okay?)

      --

      - - - If the sun is a star, why can't I see it at night?
  21. So what... by Yokaze · · Score: 1

    Is it just me, or is this not so impressing as it may sound.

    While being a fan of Linux, I don't find this very impressive. This only shows the practical limits of pipes in the various OSs.

    May ask for what purposes one uses pipes?
    To copy several MB/s between some processes?
    I don't think so.

    --
    "Between strong and weak, between rich and poor [...], it is freedom which oppresses and the law which sets free"
    1. Re:So what... by Anonymous Coward · · Score: 0

      It's apparent you're not a Unix user. Pipes are universally available from the shell (command
      interpreter), so may be used for gigabytes. As an example, the typical way to copy a filesystem
      would be to pipe the output of the dump program to the input of the restore program.

  22. Faster than XP? by zarathustra93 · · Score: 0, Offtopic

    What does Xp stand for anyway? Apparently 'eXtremely Pokey' , or maybe even 'Ex-Purchaser.' :-)

  23. Re:My haunted e-mail by Anonymous Coward · · Score: 0

    Um, you've got a sub-500000 uid, surely you've seen (-1, Offtopic) mods before?

  24. Spelling . by Anonymous Coward · · Score: 0

    >Although I new Linux would fare the best, the

    Dude,

    The word is "knew" not "new" duh!

    AnonAndProud.

  25. Security? by Domini · · Score: 2

    Do the tests include micro-grained security?

    Pipes are only useful for outdated programming techniques. Sure, there are prob. design patterns for it, but no large system would base it's communication on it.

    Pipe's moto: The world's a File.
    -sigh-

  26. Remember who's doing this by Illserve · · Score: 2

    IBM has alot to gain by proving Linux superiority. If this were Microsoft's test and they showed the opposite, I'm sure that the /. community would immediately write it off as a rigged test.

    Although in this case, it does like like they at least tried to find a regime in which Windows would do better, which is admirable, but there's still room for skepticism.

    1. Re:Remember who's doing this by Anonymous Coward · · Score: 0

      Gee you must be a fucking genius. You are so fucking perceptive. Are you sure your name isn't Nostradomus? Jesus fucking christ, you're dead on that IBM doesn't want any more revenue from its windows business because that's like 40% of the entire company, and they want to convert that to linux. Jesus christ! You are SO fucking perceptive.

    2. Re:Remember who's doing this by Anonymous Coward · · Score: 0

      It's not IBM who's doing this. It's a programmer who happens to work at IBM who has submitted a story to the IBM-hosted Developerworks site.

  27. ahem by Anonymous Coward · · Score: 0
    Although I new Linux would fare the best,

    Well SeaBait (or is that FlameBait?), perhaps you should spend more time studying the knew/new difference.

    Or are you trying to replace CmdrTaco with this FUD and poor grammer?

  28. This may NOT be the fastest way to do this... by Maddog_Delphi97 · · Score: 1

    Using named pipes may not be fastest way to do interprocess communication. There's lots of ways to do interprocess communication. You could use Automation (used to be called OLE Automation, but it got folded into the COM architecture). You could also set up a shared memory page file.

    There's some technique to do interprocess communications that worked pretty well in Windows 3.1 (using SendMessage, and Dynamic Data Exchange are a couple of methods that I remember).

    I imagine there's even a way to do this using the TCP/IP stack. And in a worst-case scenario, you just have one application write to a file, and another application would read that file when it's done making changes.

    So, the question is, is this REALLY the fastest way to do interprocess communication? Hmm....

    1. Re:This may NOT be the fastest way to do this... by Anonymous Coward · · Score: 0

      But how reliable or these methods? Not very would be my first thought.

    2. Re:This may NOT be the fastest way to do this... by Jeremy+Allison+-+Sam · · Score: 3, Interesting

      No it isn't.

      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.

    3. Re:This may NOT be the fastest way to do this... by Anonymous Coward · · Score: 0

      You're incorrect. If you compare mkfifo and named pipes, you get no noticeable difference.

      Unnamed pipes are implemented using named pipes. How many times do you need to be proven wrong before you shut up?

  29. Re:Windows has pipes? by DMilor · · Score: 2, Insightful

    Since when is a shell (decent or otherwise) required to use pipes?

    Pipes are for communicating between various process *including* those launched from a GUI.

    Granted the Windows shell is cack - but then the GUI is so good who needs any more than a basic shell?

  30. I new it! by Kallahar · · Score: 1

    new is spelled "knew" in this context.

    Editors: You edit the posts, I know you do. On main-page stories please make sure that such bvious errors are fixed, otherwise we look like a bunch of high-schoolers...

    Our only way to judge people online is by their words, so it is important to get those words right!

    Travis

    1. Re:I new it! by Anonymous Coward · · Score: 0

      Check your own spelling, you had an obvious mistake in your own.

    2. Re:I new it! by bowb · · Score: 1
      Editors: You edit the posts, I know you do.

      Kallahar, you misused the colon there. When addressing someone in written form, their name should be set off by commas. If the name occurs in the middle of a sentence, Kallahar, then it needs a pair of commas.

      "Editors: You edit the ..." means that it is the Editors saying "You edit ..." (take a look at a script for a play sometime).

  31. Maturity of the pipe APIs? by jeffy124 · · Score: 2

    Windows XP may have fared poorly because it's brand new and so is it's API. On the other hand, Linux and Win2K have had a few years in which their APIs have matured/improved and some of their kinks or other bottlenecks straightened out. Point being that the XP API may still have those kinks in their code, causing some slowness compared to other systems.

    Of course, MS could be simply re-using the 2K API in XP, something they should REALLY take a second look at doing given these results.

    --
    The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    1. Re:Maturity of the pipe APIs? by toast0 · · Score: 1

      windows xp is windows nt version 5.1

      a .1 change does not generally include completely rewritting the api

  32. Re:Windows has pipes? by Quasar1999 · · Score: 1

    And linux does?

    Subjective statements and reviews are pointless... I want to see objective views... This is better than that because this has 'X' would be good. It may actually prevent pointless bashing...

    --

    ---
    Programming is like sex... Make one mistake and support it the rest of your life.
  33. AHA! by Arcturax · · Score: 1

    Passing NULL to the security argument? Guess that explains IIS and Outlook.

    --

    --Won't that be grand? Computers and the programs will start thinking and the people will stop. - Dr. Walter Gibbs
    1. Re:AHA! by Anonymous Coward · · Score: 0

      Passing NULL to the security argument is just like making a pipe with 0777 permissions - you can do it just as easily in UNIX as you can in Windows. This feature doesn't explain the bugs in IIS and Outlook.

    2. Re:AHA! by Arcturax · · Score: 1

      This was a joke...

      I was saying they passed NULL for security in all their products and that is why Outlook and IIS are so full of holes. In otherwords, their security it NULL. Understand now?

      --

      --Won't that be grand? Computers and the programs will start thinking and the people will stop. - Dr. Walter Gibbs
  34. Hardware manufacturers want slow software. by Futurepower(tm) · · Score: 4, Insightful


    "... the poor performance of Windows XP was a surprise. Windows 2000 actually did better than XP!"

    This has been happening since the days of the VAX minicomputers, and probably before. Hardware manufacturers want slow, poor performing software, because that makes users buy more hardware. Most of Microsoft's sales are to hardware manufacturers, not to users.


    Secrecy destroys democracy: What should be the Response to Violence?

    --
    Bush's education improvements were
    1. Re:Hardware manufacturers want slow software. by Anonymous Coward · · Score: 0
      Interesting that you think violence is always wrong. In other words, we should have never committed violence against the Nazis, the British, the South, or any other war we have participated in.


      In my opinion, violence is largely what created this world we live in, and were it not for those who (violently) fought for their rights, we might all be non-violently living in some shithole with far less freedom and opportunity.


      You say we should respond to bin Laden, but with no violence? What other response is there? He has declared war against all Americans - you say we should do nothing about it?


      The protestors of this war are the ones who are "mentally unstable". You just don't get it. Some things are worth fighting for, and if you don't fight for them, well, you will find yourself with nothing worth finding for.

  35. These pipes... by PDHoss · · Score: 1
    Tux puts his flippers on his hips and shouts...

    These pipes are clean!

    PDHoss

    --
    ======================================
    Writers get in shape by pumping irony.
  36. Is it any wonder? by Bowie+J.+Poag · · Score: 1


    Is it really that surprising?

    Linux/UNIX and Windows come from radically different parentage. Linux/UNIX was built from the ground up over the past 30 some-odd years to be a system of fast, modular components. That philosophy of design (thankfully) has changed relatively little during that timeframe.

    Conversely, Windows was built from the ground up to be more monolithic in design, with little attention payed to streamlining and modularity. This results in less than elegant implementations of features easilly expressed in other OS'es. Unix, by design, allows for such things to be accomplished with relative ease. Windows can, but not with the same degree of ease.

    --
    Bowie J. Poag

    1. Re:Is it any wonder? by mimbleton · · Score: 1

      True, but only if you are trying to force solution using your learned Unix "tricks".
      There are ways to get Windows to do almost anything that Unix does, and do it as efficiently and elegantly as Unix, but more often than not it requires completely different approach.

    2. Re:Is it any wonder? by Anonymous Coward · · Score: 0
      I would say that Windows doesn't really have any coherent design. I'm unaware of any scholarly text which explains the design of Windows. Of course, Windows is not taught at the university.

      Windows evolved as a wart growing on top of MSDOS. Then eventually, the wart was excised and stood alone, but it's underpinnings remain a legacy of MSDOS. The fact is that no one designed Windows. It is something that just grew like some peculiar bonsai cutting.

    3. Re:Is it any wonder? by Anonymous Coward · · Score: 0

      Whoops. Someone doesn't know jack squat about NT.

    4. Re:Is it any wonder? by Anonymous Coward · · Score: 0

      Hmm... a cut down VMS massaged to look like WinDOS, so as not to upset the office drones...

      NT was alright... up until 3.5...
      Then they screwed it up.

  37. Of course it's a trustworth report... by szcx · · Score: 3, Insightful

    It's not like IBM has anything to gain from publishing a comparison of this kind.

  38. Not good Windows Code by cppgodjavademigod · · Score: 4, Informative

    Let me first say I love Linux. I have 2 Linux boxes and 2 Windows boxes here. I use Linux every day.

    But the Windows code does not use completion ports to do the I/O. If you want the best performance of Windows I/O, completion ports are the way to go. I'm Windows would do much better if the code was optimized for Windows.

    I have writen high speed data I/O applications for Win2K and it performed as well or better than the *nix boxes, when completion ports were used.

    1. Re:Not good Windows Code by belg4mit · · Score: 1

      But that's not what theses benchmarks are doing.

      They are comparing (red) apples to (green) apples.

      You are comparing (red) apples to oranges to say that oranges are better than (red) apples, because your (green) apples suck.

      --
      Were that I say, pancakes?
    2. Re:Not good Windows Code by seann · · Score: 0

      and I know the meaning of life
      but wheres the proof?

      --
      I'm a big retard who forgot to log out of Slashdot on Mike's computer! LOOK AT ME.
    3. Re:Not good Windows Code by cppgodjavademigod · · Score: 1

      They are already comparing apples to oranges. They are using different APIs already.

      For a moment, let's pretend there were a way of writing the same code (functionally the same, not API) that did the job 100 times faster on Windows. Then does it really matter that doing it the other way is slow. No, because nobody (worth their pay) would do it that way if performance mattered.

    4. Re:Not good Windows Code by Anonymous Coward · · Score: 0

      Well, if Linux users are happy to have meaningless performance comparisons, that's up to you. You can talk all you like about apples and oranges, but it's a stupid line of reasoning. You might as well compare WIN32 API implementations between Linux and Windows because they are "both apples". Only an idiot would suggest that such a measurement was meaningful.

    5. Re:Not good Windows Code by barneyfoo · · Score: 2

      You are an idiot, and idiots are mostly wrong. All of the functionality you mentioned uses windows pipes in an abstracted way. So you suggest using them (win32 specific apis) when in fact they will be worse. Completion ports a red herring. Linux has these too, and they are not a 1:1 correlation with pipes functionality. Apples and Oranges indeed.

  39. XP better than 2000 by aralin · · Score: 2
    Its no wonder that XP is performance-wise worse than anything before. Performance in today's world largely deppends on memory and thus OS who does not clutter the memory too much is usually faster in result. But..

    Now that MS has monopoly, they just "improve" their OS by adding all this fancy stuff and trying to hold the monopoly. Once they will lose it, there will be plenty of space (that they help to create now, but crippling their products) to improve their performance.

    --
    If programs would be read like poetry, most programmers would be Vogons.
  40. No wonder Windows has buggy monstrosities by Anonymous Coward · · Score: 0

    You certainly don't want to do IPC.

  41. This is good news for techies, but... by garoush · · Score: 2

    ..will it ever register on the consumers radar? How about applications in use?

    For consumers: we all know that MHz is not all that you should be looking for and yet if you ask any consumer about a PC, their mouth and eye will open wide once they hear about a faster MHz.

    For applications: well, how many applications use pipe? Even those that do use them, what % of the time do they spend in pipes?

    So, yes, this is good news for techies, but that is about it.

    And yes, I may sound like flamebeat -- but, its is time to see the bigger picture for what Linux needs to bring it to the main stream. Mr. Torvalds already recognized this some time ago. This is why he is now focusing on stuff that consumers react to, such as UI.

    --

    Karma stuck at 50? Add 2-5 inches.. err.. 2-5x Karmas Count to your pen1es.. err.. Karma all naturally and private
  42. Hmmm... Faster to type at least... by peter_gzowski · · Score: 1

    Creating a pipe in Windows:

    //
    // Create named pipe in Windows
    // nbytes -- block size from command line arguments.
    //
    int mult = 1;
    int x;
    x = mult*nbytes + 24;
    handleA = CreateNamedPipe(pipeAdult,
    PIPE_ACCESS_DUPLEX,
    PIPE_TYPE_BYTE,
    2, // two connections
    x, // input buffer size
    x, // output buffer size
    INFINITE, // timeout
    NULL); // security
    if(handleA == INVALID_HANDLE_VALUE) {
    printf("CreateNamedPipe() FAILED: err=%d
    ", GetLastError());
    return 1;
    }
    handleB = CreateFile(pipeAdult,
    GENERIC_READ|GENERIC_WRITE,
    FILE_SHARE_READ|FILE_SHARE_WRITE,
    NULL,
    OPEN_EXISTING,
    FILE_ATTRIBUTE_NORMAL,
    NULL);
    if(handleB == INVALID_HANDLE_VALUE) {
    printf("CreateFile() FAILED: err=%d
    ", GetLastError());
    return 1;
    }

    Creating a pipe in Linux:

    int fd1[2];
    if(pipe(fd1)) {
    printf("pipe() FAILED: errno=%d
    ",errno);
    return 1;
    }

    --
    "Now gluttony and exploitation serves eight!" - TV's Frank
    1. Re:Hmmm... Faster to type at least... by gazbo · · Score: 1

      Firstly, thank you so much for writing a comment consisting of entirely copy/paste text.

      Secondly, and a bit more on topic, Given that most of the code here is used to pass options, what this really means is that we have a more flexible pipe implementation. If you need these options, is there a parallel on Linux? If you don't need these options, write a convenience method that reduces the complexity to something similar to the Linux version.

      Flexibility is almost always the best option, as it is easy to later add simpler versions that just supply defaults.

    2. Re:Hmmm... Faster to type at least... by Lussarn · · Score: 1
      Not nice to cut/paste like that without giving references!



      It does show someting important though.

      Linux is more intuitive....

  43. Articles this guy writes are trite... by maroberts · · Score: 3, Insightful

    If you've read the the other article(s) (how long it takes to perform a memcpy) in this series, it seems he is trying to desparately find holes where he can say "Linux is better".

    For the record I have 4 PCs, 1 of which runs Linux permanently, the other 3 being dual boot. Desipite being in favour of Linux, these articles give benchmarking a bad name. Most rounded benchmarks show Linux about equal (with some pluses and minuses) to Windows performance, which for me is good enough, since given you can have Linux for free, why pay for an OS that is only just as good ?

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

    1. Re:Articles this guy writes are trite... by johnnyb · · Score: 3, Insightful

      No, they are stepping stones. He himself says that he hasn't written anything of use yet, but that he is building the foundation for it.

      Each article goes into depth over a single API call, and compares the systems.

      When he gets through about 10-15 articles, he will probably have something useful. Especially since he carefully explains his methodology and reasoning behind each step. This is much better than the traditional benchmarks which do 1 mammoth test and say X is better than Y. In this article series, he's going down and testing, in depth, feature by feature.

    2. Re:Articles this guy writes are trite... by ThePlumber2 · · Score: 1

      Linux IS better though, and it sounds like you are wasting 3 out of 4 of your machines. OUCH

      Seriously though, I had a really nice P120 at one time that ran Linux and E dr7?(about what? 5 years ago?) that I would hammer with process, and all it would do was forge on. 25 xscreensavers in windows on one desktop, 30 pictures using gimp on another, xeyes on another, netscape, xedit, etc, etc, etc and it ran great! I even had the lightning screensaver going over my background which was cool as hell.

      Hands down, that is performance.... It just keeps getting better though.

      The time is prime for gnu/linux. I have been running it for over five years as my desktop and people keep saying that it isn't ready for desktop yet... That's bullshit.

      Anyhoo

      --
      Thanks, Steve
    3. Re:Articles this guy writes are trite... by Anonymous Coward · · Score: 0

      Do you have any SPECIFIC criticisms of his methodology? If so, perhaps you should post them to the public forum they set up for it and let him know (he replies to nearly every post).

    4. Re:Articles this guy writes are trite... by nathanh · · Score: 2
      If you've read the the other article(s) (how long it takes to perform a memcpy) in this series, it seems he is trying to desparately find holes where he can say "Linux is better".

      I strongly disagree. I think the author is making a concerted and honest effort to appraise a specific piece of OS functionality. He meticulously details his methodology, his results, and his conclusions. He's doing this in a well-rounded and repeatable fashion. He doesn't make any grand-standing claims about the relative merits of the respective OSs based on what he finds: he just states the facts regarding the specific OS functionality he investigated.

      This strikes me as being a very useful thing to do. After he's done a whole bunch of OS calls I expect to find that Windows is superior for some, Linux for some others, and equal for the remainder. But after he has finished there will be a methodology to go back with and RECHECK the latest releases of Windows against the latest releases of Linux.

      You bitching about his results is not constructive and helps noone. If you find flaws in his methodology then you will have done something useful. But I daresay that if you do find flaws then Dr Bradford will revise and rerun his experiments.

      I look forward to reading more articles of this sort from Dr Bradford.

  44. Re:My Experience with the Linux Operational System by MindStalker · · Score: 3, Insightful

    Ok, I don't know why you bothered posting this, probably pointless flamage you post freqently, but I just thought I'd comment. First of all your VB experience doesn't mean anything in linux, I'm pretty sure there isn't a linux compiler for VB. Second of all you said you configured the system from scratch, and recompiled all the programs in what you believed to be a better compiler. Sounds to me like you built everything yourself, then blamed someone else when it didn't all work perfectly. Personally I have never (never meaning sometime after linux became well known, of course in the early days in had to be done by scratch) heard of anyone who first introduced themselves to linux without the help of a basic distribution. So either your a lier, or an idiot.
    Posting +1 cause I have karma to burn!!

  45. Of course Win2k did better than XP by WildBeast · · Score: 2, Insightful

    They compared the Win2k Advanced Server version to the WinXP Desktop version. As we all know, IBM isn't biased at all :)

    1. Re:Of course Win2k did better than XP by Anonymous Coward · · Score: 0

      Win2k advanced server is the same as Win2k professional with about 8 registry changes and access to some services. Oh, and a different splash screen. Your argument isn't very well grounded.

    2. Re:Of course Win2k did better than XP by barneyfoo · · Score: 2

      Win2k advanced server is the same as Win2k professional with about 8 registry changes and access to some services. Oh, and a different splash screen. Your argument isn't very well grounded.

    3. Re:Of course Win2k did better than XP by TummyX · · Score: 1

      No it isn't. There are other significant changes (like the period of a quanta is different - it's larger I think).

    4. Re:Of course Win2k did better than XP by syates21 · · Score: 1

      Evidence please?

    5. Re:Of course Win2k did better than XP by barneyfoo · · Score: 2

      I think what I said was common sense enough that the onus is on you to show evidence of the opposite. What you asked is like asking someone to prove the great wall of china exists and isn't staged. I mean sure, I could run off a bunch of shit, link you to some photos, but that wouldn't sway ignorant disbeleivers. So put out. why ISNT it just win2kpro with extra software added on, and some features enabled in the kernel/os that are unavailable in win2kpro?

    6. Re:Of course Win2k did better than XP by Anonymous Coward · · Score: 0

      Oh, so now it has features disabled in the kernel.

      Silly me, I thought you said registry changes.

    7. Re:Of course Win2k did better than XP by Anonymous Coward · · Score: 0

      And you surmise that registry tweaks cant effect the kernel?

    8. Re:Of course Win2k did better than XP by RandomPeon · · Score: 1

      Amazing what you can find in textbooks:

      "Like previous versions of NT, Win2K comes in several product levels, this time: Professional, Server, Advanced server, and Datacenter Server. The difference between all these versions are minor however, with the same excutable binary being used for all versions. When the system is installed, the product type is recorded in the registry..., the default parameters are tuned differently on Professonial to favor interactive work over batch work, althogh these can be changed if desired."

      -Andrew Tannebaum, Modern Operating Systems, 2000. Probably one of the smartest and most objective people in the world when it comes to OSes, and he's not too fond of Linux.

  46. geez... what a surprise. by Da_Monk · · Score: 1

    a unix like OS being better at pipes than windows? no way... that just can't be. I mean, seriously, why was this article even published. I bet OSX does better too. hmmmm. WinXP is pretty darn new, and is not aimed exclusively at pipe loving coders. unix is king of the beats when it comes to pipes. they were one of the frist things I learned when coding C for unix.
    slashdot would do better if they got over their anti-microsoft fixation and instead unified the open source masses instead of making them seem to be a bunch of zealots.

  47. file generation and removal test by tarzeau · · Score: 1

    today i tested to create 10'000+ files on the desktop
    as well as anywhere on a windows nt 4 server (ntfs)
    and a) took very much time
    b) even deleting them (shift-del, no paper-basket) took minutes

    both in the shell! btw cpu usage was heavy

    one funny thing is you can have files on desktop and attrib -h (hide them)

    all testing was done using qbasic, like this
    for a=0 to 10000
    shell "echo bla > ",$ltrim($str(a))
    next
    (i know this "forks"for each file)
    however deleting the files (at the prompt del *) took LONGER than creating them!!!!

    my god all this is so much faster on linux (ext2)

    --
    Windoze not found: (C)heer, (P)arty or (D)ance
    1. Re:file generation and removal test by Anonymous Coward · · Score: 0

      In Windows 2000 Pro, I was deleting lots of files once (over 10000) from one directory, and while it didn't take _too_ long, once it was done Windows Explorer locked up tight and I had to reboot. Well done, Microsoft!

    2. Re:file generation and removal test by Anonymous Coward · · Score: 0

      You only have to log out when that happens.

    3. Re:file generation and removal test by Anonymous Coward · · Score: 0

      Oh, is that all...

  48. MS hiding their secrets by nick_burns · · Score: 0

    Maybe Microsoft has intentionally slowed down the pipes for any developer except for Microsoft. Perhaps Microsoft has got the keys to unlock the faster IPC but won't let any other company use it for fear of losing market share in any of their monopolized software products. Therefore, any other office suite will poke along while Office moves much faster by comparison.

  49. Timmy spells as well as Taco by PygmySurfer · · Score: 0, Offtopic

    Although I new Linux would fare the best

    Welcome to /. grammar class

  50. Yes, but by Anonymous Coward · · Score: 0

    Yes, but on low performance office computing, Windows is often faster than Linux.

    Yes, this does reveal more on the apps but still.

    I have compared word processor and spreadsheet in Windows StarOffice 6.0 beta vs Linux OpenOffice 386c.

    There ARE slightly faster in the Windows version. Sorry to say, as I need these to slowly but steadily make my wife accept Linux/KDE. However, she types so slow it doesn't really matter... ;)

  51. AIX by kireK · · Score: 2, Funny

    So why didn;t IBM show the specs for AIX as well? Did AIX do even worse than XP?

  52. Pipes are VERY important in ODBC apps by Anonymous Coward · · Score: 0

    I'll tell you what pipes are good for, and I'm an MCSE too, though I now consider that to be an albatross around my neck. I do a lot of work with client-server applications that use ODBC connections to MS SQL Server databases. Of all the communication protocols available for use in an ODBC DSN, named pipes is the fastest.... and it's still too slow. One fine day, ODBC will certainly go away, but for now there's still far too much existing software that needs it.

    1. Re:Pipes are VERY important in ODBC apps by ergo98 · · Score: 1

      An MCSE has nothing to do with ODBC or named pipes (just a point of reference that in this context that note was irrelevant. BTW: The "albatross" comment is just silly -> You don't have to tell anyone that you have it).


      Anyways named pipes is being deprecated, as of SQL Server 7, in lieu of TCP/IP Sockets.

    2. Re:Pipes are VERY important in ODBC apps by Anonymous Coward · · Score: 0

      TCP/IP sockets in both SQL Server 7 and SQL Server 2000 is still SLOWER that named pipes in an ODBC connection, it's still there (not yet deprecated) in SQL 7 and 2000 with no announcement yet that support for named pipes is going to go away in SQL Server XP. Indeed the preferred connection between an instance of SQL Server's "Enterprise Manager" and the database engine when running on the same machine, is still via named pipes.

    3. Re:Pipes are VERY important in ODBC apps by konmaskisin · · Score: 1

      "Anyways named pipes is being deprecated, as of SQL Server 7, in lieu of TCP/IP Sockets".

      Wow another new invention by Microsoft!

      Of course I have no problem with MS adopting standard approaches to problems that other RDBMS makers (and MySQL and Postgresql) have had for years. But I just **know** it's gonna bug me when I hear this bumpf spewed back at me in the industry press as "innovation".

      The same stories will then get clipped and mailed to senators and legislators by lobbyists to support the argument that MS can't be touched or the economy will crumble and we won't be innovative and have MS TCP-IP any more ....

      sigh

    4. Re:Pipes are VERY important in ODBC apps by Anonymous Coward · · Score: 0

      Fuck you, you suggestive sack of shit. You're a pity litte arrogant bastard who thinks MS is the big enemy who wants your skull. You would blame them for losing the only friend you ever had. You're pathetic.

  53. Pipe speeds by jd · · Score: 5, Insightful
    The relevence of this comparison escapes me, for the moment. Hey, I'm no Windows fan, but most benchtests for ANY one parameter invariably produce a wildly misleading result.


    Some things to ponder:

    • How fast are Linux pipes, if you patch the kernel with LSM? MOSIX? A different scheduler? (eg: RTSCHED, RT-Linux, RTHAL, HP's Scheduler Plugin Architecture?)
    • How long can a given OS sustain a given data rate, under different conditions? (eg: Many processes running, non-interruptable events, miltiple processors, etc.)
    • What kind of resources are consumed, per pipe, per unit of data, per unit time? Do any of the OS' allow/use smoothing, to reduce system load?
    • What results do you get for architectures at the extreme ends of each OS? (ie: Compare ALL the OS' on the minimum suggested and maximum usable settings for Linux, Windows XP, Windows 2000. See if there is a range in which one OS has the advantage, rather than assuming that if it has the advantage at one point, it must have the advantage always.)


    This is not to diss IBM, or even to suggest Windows XP/2000 would even win in such a battle, although I suspect they would for massive SMP arrays, simply because Linux doesn't handle those as well.


    I also suspect Linux would find itself struggling, when put into a hard real-time setting, an ultra-secure setting, or a distributed setting. The overheads involved would not be huge, but if you have a huge number of processes, each with the maximum number of open pipes, the overheads are being applied a huge number of times. That adds up.


    All in all, this suggests that some really severe, rigorous benchmarking needs to be done, under a wide enough variety of conditions to be meaningful. This test just doesn't meet the kinds of conditions I'd expect from a truly determined test.


    Now, if I can only convince IBM to loan me a few dozen boxes, I'd be more than happy to do the testing for them... :)

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:Pipe speeds by ENOENT · · Score: 1

      most benchtests for ANY one parameter invariably produce a wildly misleading result.

      What's misleading about this result? The goal was to test the performance of a particular feature of the OS in a way that would isolate that feature's performance (as much as possible) from other influences.This is useful, in that it allows cross-platform developers to make informed decisions about the relative performance of different design options.

      Also, by restricting the test to simple cases, there are fewer ways that the tester can manipulate the tests to favor one OS or another. The kind of testing you favor is notoriously prone to "massaging" of the test cases. Besides, holistic testing typically doesn't give any information about which OS features should be avoided.

      In all, I would say that this study is well planned, well run, and well summarized. My only beef is that they neglected to include other Unix variants in the mix.

      --
      That's "Mr. Soulless Automaton" to you, Bub.
    2. Re:Pipe speeds by tlk+nnr · · Score: 1
      How long can a given OS sustain a given data rate, under different conditions? (eg: Many processes running, non-interruptable events, miltiple processors, etc.)

      For hours. Linux pipes are basically memcopy between processes.

      memcopy(kernel_buffer, user_buffer, len);
      <switch from writer thread to reader thread>
      memcopy(user_buffer, kernel_buffer, len);
      --- lather, rinse, repeat.
      I assume the windows implementation will be similar. What kind of resources are consumed, per pipe, per unit of data, per unit time? Do any of the OS' allow/use smoothing, to reduce system load?

      Resources are cpu time and a small buffer. The cpu time could be controlled with the normal SetThreadPriority, or with nice.

      This is not to diss IBM, or even to suggest Windows XP/2000 would even win in such a battle, although I suspect they would for massive SMP arrays, simply because Linux doesn't handle those as well.

      I must answer that in 2 parts:
      * test 1 (one thread reads/writes up to 4 kB) is perfectly threaded, I would expect linear scaling with the number of cpus. I think there isn't a single variable that's shared between different processes in the whole codepath.
      * test 2 (2 threads send each other large messages) might overload the scheduler, perhaps HP's patch helps in that case. > 150.000 thread switches/sec during bw_pipe runs :-(

      Btw, the FreeBSD pipe implementation is much faster than the current Linux implementation. They avoid overloading the scheduler, and they don't need to double buffer.

      Patches to fix for Linux that already exist, they will be included into 2.5.
    3. Re:Pipe speeds by Computer! · · Score: 1

      How about this for a decent, unbiased comparison of the two OSes?:

      Pick top professional developers from both camps, and ask them to write a system with the same functionality, since that's all the real world cares about anyway. For instance, an e-commerce site consisting of a registration page, a search page, a shopping basket, and a checkout page. Also, a set of reporting pages running queries and building web pages from the results.

      Let the developers choose the language, platforms, webservers, databases, everything. Give them both equal hardware that they can configure as they choose, and allow only MS components on the Windows machines, with only free components on the Linux boxes. Distributed front-ends, one middle-tier box, and one DB server, all equal between the two.

      Allow for 6 months to develop the system so that no-one creates low-level subsystems from scratch to suit their specific plans, but both teams have plenty of time to optimize. Present the same spec to both, and let them have at it. That should solve the problem once and for all. We could even offer several categories: ecommerce, client-server, OLAP, Data Mining, whatever.

      Otherwise, nothing is really proved.

      --
      If you fall off a building, go real limp, because maybe you'll look like a dummy and people will be like hey, free dummy
    4. Re:Pipe speeds by Anonymous Coward · · Score: 0

      I think people have done this. The problem is that you could easily win the benchmark by writing a really inflexible, unmaintainable, fast C module that runs inprocess with the webserver. Which of course has nothing to do with how people actually implement e-commerce sites.

    5. Re:Pipe speeds by darkonc · · Score: 2
      I also suspect Linux would find itself struggling, when put into a hard real-time setting, an ultra-secure setting, or a distributed setting.

      Linux might struggle when put in an ultra-secure setting. Windows, on the other hand, wouldn't make it past the background check.

      --
      Sometimes boldness is in fashion. Sometimes only the brave will be bold.
    6. Re:Pipe speeds by Computer! · · Score: 1

      Good point, so why not add a "maintainablity challenge"? Spring a suprise change on them midway through?

      --
      If you fall off a building, go real limp, because maybe you'll look like a dummy and people will be like hey, free dummy
  54. The Source Code by friday2k · · Score: 2

    Well, first I wonder why the author would do something like

    x = mult*nbytes + 24;
    when he sets mult=1
    but this only explains for one wasted instruction. On the other handside I would take a close look at the Windows ReadFile and WriteFile functions. These, IMHO, could very well account for the poor performance the author is seeing. There are too many variables mixed into his test program to tell whether this is only the named pipes performing bad ...

    1. Re:The Source Code by barneyfoo · · Score: 2

      It's only a wasted instruction if you have no idea how compilers work. Any normal compiler will optimize away that instruction even when no optimizations are specified!

    2. Re:The Source Code by Anonymous Coward · · Score: 0

      Fuck, gcc must not a normal compiler since it doesn't.

  55. Decent Windows by SilentChris · · Score: 2
    Hey, I want to see more articles where *Windows* compares more favorably than Linux at something. Seriously. It doesn't help to have totally one-sided technical reviews all the time, for either platform.

    That said, I was kind of expecting XP to perform slower than 2000. 2000 is a modicum of strong engineering -- the only example of truly great software I've ever seen come out of Microsoft. Now, they add the sheen which -- while more user-friendly -- is sure to drag everything else down.

    1. Re:Decent Windows by barneyfoo · · Score: 2

      Then visit the Microsoft web site, you troll. Microsoft is having NO trouble advocating what tenuous "performance advantages" it has. Slashdot is for nerds, not tools.

  56. pipe() not a named pipe by beej · · Score: 1

    Nitpick: pipe() doesn't create a named pipe. mkfifo() does. I don't know if that's a printo or what.

    I don't know much about the Windows code, but it looks like it's not named, either. I hope not, or else we might have a different comparison here.

    1. Re:pipe() not a named pipe by Anonymous Coward · · Score: 0

      Anonymous pipes in Windows are created with CreatePipe(). They require less overhead than named pipes but perform a limited subset of the services that named pipes can perform. The article is not comparing the same things!

    2. Re:pipe() not a named pipe by Anonymous Coward · · Score: 0

      Actually, in winXP, CreatePipe() calls CreateNamedPipe(). Why? God alone knows.

      Perhaps MS programmers are all monkeys, perhaps it's a deliberate ploy to make pipes less efficient, to enforce "There are Win32 coding skills and unix coding skills, and never the twain shall meet").

  57. Surprise? by Anonymous Coward · · Score: 0
    Although I new Linux would fare the best, the poor performance of Windows XP was a surprise. Windows 2000 actually did better than XP!

    No it wasn't a surprise, if you've followed the development of XP and its raison d'etre at all you wouldn't be surprised. XP is a dog, avoid it at all costs, if you must run it, do so only at home/office with XP Professional (leave XP Home for the kids). XP has no place on a server either.

  58. Meanwhile in an IBM Exec's office... by succotash · · Score: 2, Funny

    "tell me again why we pay this Dr. to test pipes? And howcome half of his budget goes towards delivery pizza??"

  59. Read the article first. by lcsjk · · Score: 2, Insightful

    The article mentioned is well written and informative. Based on the comments, many people comment on the substance based on the lead-in Slashdot posting. I say, before you comment on things like "Home version" or "biased", you should learn to read.

  60. What about BSD... Solaris? by isa-kuruption · · Score: 0, Flamebait

    Okay... I don't think there would be any arguement Linux is better at piping than Windows, but what about *BSD and Solaris? Why weren't they compared in the survey? I'd like to see how BSD compares to Linux, since there are plenty of Linux vs. BSD debates going around.

    As a BSD user, I'm looking for another thing to rub in the face of Linux users, because it is common knowledge BSD is better (stack is faster, and of course, FreeBSD had support for the Promise ATA100 RAID controller long before the RedHat people stole the source code w/o putting int he license agreement).

    So... can someone do a non-biased testing between Linux, BSD and Solaris?

  61. Is this some Halloween thing? by Anonymous Coward · · Score: 0


    Why all these ghost-whatever (email, translator) these days?

    Some sort of geek pagan prep for Halloween?

    1. Re:Is this some Halloween thing? by Anonymous Coward · · Score: 0

      SAVANNAH, Ga.-- Your computer may be possessed by a demon, a leading minister warns. "While the Computer Age has ushered in many advances, it has also opened yet another door through which Lucifer and his minions can enter and corrupt men's souls," said the Reverend Jim Peasboro, author of an upcoming book, The Devil in the Machine. Demons are able to possess anything with a brain, from a chicken to a human being. And today's thinking machines have enough space on their hard drives to accommodate Satan or his pals. "Any PC built after 1985 has the storage capacity to house an evil spirit," the minister confirmed. The Savannah clergyman says he became aware of the problem from counseling churchgoers. "I learned that many members of my congregation became in touch with a dark force whenever they used their computers," he said. "Decent, happily married family men were drawn irresistibly to pornographic websites and forced to witness unspeakable abominations. "Housewives who had never expressed an impure thought were entering Internet chat rooms and found themselves spewing foul, debasing language they would never use normally. "One woman wept as she confessed to me, 'I feel when I'm on the computer as if someone else or something else just takes over.'" The minister said he probed one such case, actually logging onto the parishioner's computer himself. To his surprise, an artificial intelligence program fired up -- without him clicking it on. "The program began talking directly to me, openly mocked me," he recalls. "It typed out, 'Preacher, you are a weakling and your God is a damn liar.'" Then the device went haywire and started printing out what looked like gobbledygook. "I later had an expert in dead languages examine the text," the minister said. "It turned out to be a stream of obscenities written in a 2,800-year-old Mesopotamian dialect!" Since, then, Rev. Peasboro has researched the problem further and uncovered alarming facts. "I learned most of the youths involved in school shootings like the tragedy at Columbine were computer buffs," he said. "I have no doubt that computer demons exerted an influence on them." The minister estimates that one in 10 computers in America now houses some type of evil spirit. Rev. Peasboro advises that if you suspect your computer is possessed, you consult a clergyman or, if the computer is still under warranty, take it in for servicing. He says, "Technicians can replace the hard drive and reinstall the software, getting rid of the wicked spirit permanently."

  62. Re:loudest pipes by Anonymous Coward · · Score: 0

    Dude! That was funny as hell! Too bad it got modded down

  63. This is an important victory because... by sv0f · · Score: 2

    ...it's not the size of the pipe that matters but its speed.

    1. Re:This is an important victory because... by brer_rabbit · · Score: 1

      perhaps you meant: it's not the size of the dog in the fight, it's the size of the dog.
      Or, more appropriately:

      if (! sizeof(dog_in_fight) )
      sizeof(fight_in_dog);

    2. Re:This is an important victory because... by sv0f · · Score: 2

      perhaps you meant: it's not the size of the dog in the fight, it's the size of the dog.

      Brer_rabbit, you may appreciate this variant: It's not the size of the wand that produces a rabbit in the hat, but the magic of man wielding it.

      if (! sizeof(dog_in_fight) )
      sizeof(fight_in_dog);

      As a (Common) Lisper, I'm thinking:

      (if (not (size (dog-in fight)))
      (size (fight-in dog)))

      or:

      (when (not (size (dog-in fight)))
      (size (fight-in dog)))

      or finally:

      (unless (size (dog-in fight))
      (size (fight-in dog)))


  64. New to IO and Pipes by Anonymous Coward · · Score: 0

    Hate to break up the banter with newslist-newbie-type question, but what exactly are pipes used for?

    1. Re:New to IO and Pipes by crucini · · Score: 2
      Hate to break up the banter with newslist-newbie-type question, but what exactly are pipes used for?

      Pipes are one of several IPC (interprocess communication) techniques used in Unix. Type 'perldoc perlipc' for a (perl-centric) overview. Example of where I used pipes: a program that forks, with one process handling the GUI and several handling web transactions. How can the webgetters share data with the GUI? Some kind of IPC. Why did I fork? Because I didn't want the GUI stuck while downloading data from the web.

      Named pipes are a bit special, because they sit there in the file system looking much like ordinary files, even when no process is using them.
  65. Snide, aren't you? by roystgnr · · Score: 2

    If you actually thought that there was an ounce of deceit in IBM's comparison, you would download their published source code, install Linux (I'm guessing that step isn't something you've done already - am I right?) and try the well-documented tests yourself.

    That way, you would find yourself being quoted in all sorts of national tech magazines about IBM's fraudulent benchmarks, rather than just being modded up for some dumbass insinuations on Slashdot.

    Go on. We're waiting.

    1. Re:Snide, aren't you? by TheAwfulTruth · · Score: 1

      No one has to actually try the test themselves to see that the test was completely rigged. :(

      --
      Contrary to popular belief, coding is not all free blow-jobs and beer. Those things cost MONEY!
  66. Yes by Anonymous Coward · · Score: 0

    At a previous company the system had a horrendously complicated system that used pipes.

    Just by replacing it with a version that used sockets we increased the throughput by a factor of ten (and shrunk the code size massively).

    However to get decent response times I had to disable the nagling algorithm, which apparently is a naughty thing to do according to socket gurus.

  67. No we don't by Anonymous Coward · · Score: 0

    /. has already declared that AMD rulz and Intel sucks, so that war is pretty much over now.

  68. crawling with Billys'Bugs(tm)? by Anonymous Coward · · Score: 0
    We tried to ?run? a NotToday server for awhile (buy customer request). IT was a pitiful/painful, never to be repeated, ?eXPerience?.

    Never mind that, we're running full pipes open-source now (since day 1) at ScaredCity(?tm?), &, we're anxious to part with this flashy set of URLs (including a year's free Linus hosting), due to some worthy netizens' desire to be a part of the brave gnu world of open/honest communications/commerce, & their ability to follow simple directions.

    Plus, we'll never ask any1 to take some PayPer LieSense filled ?software? mafia, blood pledge.

  69. Results unsurprising and meaningless by Florian+Weimer · · Score: 2, Informative
    'Named pipes' on Win32 and 'pipes' on POSIX do not have much in common, except the name and the fact that you can send data over it. Win32 pipes are more similar to UNIX domain sockets, and while GNU/Linux might still be faster even if UNIX domain sockets are used, it wouldn't be by that much. It would have been interesting to see how real POSIX pipes behave on Windows (for example, in the POSIX subsystem or on Interix, or even on Cygwin).

    Finally, as far as I know, the Win32 API provides other IPC mechanisms, and for transferring large amounts of data, other interfaces are usually used by Win32 programs. That's why the throughput of pipes is not so important on Win32 systems, and performance has not been optimized.

  70. This is not the fastest way to do IPC on Win32. by Jeremy+Allison+-+Sam · · Score: 5, Informative

    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.

    1. Re:This is not the fastest way to do IPC on Win32. by Anonymous Coward · · Score: 0

      Thank you for pointing out the error, on the other hand I think it's VERY interesting to compare the results of Windows 2k and XP using the same call. Why is 2K so much better. It almost looks like there is a hard limit coded into XP for some reason? It saturates WAY earlier than XP...and isn't XP suppossed to be a derivative of 2K???

      I'm wondering if XP has performance limits on given operations intentionally placed there so that XP doesn't compete with 2K??

      Inquiring minds want to know!

    2. Re:This is not the fastest way to do IPC on Win32. by funkman · · Score: 2
      Me thinks the WIN32 API has changed some rules. From MSDN page about Create Pipe:


      Windows NT/2000 and later: Anonymous pipes are implemented using a named pipe with a unique name. Therefore, you can often pass a handle to an anonymous pipe to a function that requires a handle to a named pipe.

    3. Re:This is not the fastest way to do IPC on Win32. by Anonymous Coward · · Score: 0
      Named pipes run just as fast as anonymous pipes on any Unix machine I've tried. I just tried some tests now on a Linux machine, and indeed there is no difference in speed between named or anonymous pipes.

      In other words, the test could have used named pipes on Unix and the results would have been unchanged.

    4. Re:This is not the fastest way to do IPC on Win32. by jon_c · · Score: 2

      it wasn't a final build, it's really not fair to judge it.

      that being said, I have winxp final and I find it multitasking a little strange. For example having it read from a cdrom that is badly scratched causes the machine to almost die. this doesn't happen under win2k, however I would expect it under win9x.

      I only have vague assumptions that I pulled out of my ass for why this happens though.

      -Jon

      --
      this is my sig.
    5. Re:This is not the fastest way to do IPC on Win32. by Anonymous Coward · · Score: 0

      Unless you are trying to write a Win32 app that runs on Windows 95. Windows 95 does not implement CreateNamedPipe, even though it can open Pipes created by NT.

    6. Re:This is not the fastest way to do IPC on Win32. by Paul+Komarek · · Score: 2

      No matter which linux kernel they used, it's not a final build either (says someone trying each new 2.4.x linux kernel, hoping to find one living with until 2.6.x).

      -Paul Komarek

  71. Re:rats cocks by Anonymous Coward · · Score: 0

    Where did you get that from?

  72. Re:My Experience with the Linux Operational System by powerlinekid · · Score: 1

    I don't usually follow trolls... but this guy is absolutely ridiculous. Linux does not support SMP? Then what do you call what my machine is doing right now? VB lower level than c? How??? Windows was writtin in C? Granted... this article was kind of linux FUD, but saying that 1 windows box could beat 3 linux boxes... well the only way I see that is if you installed linux on a 486 with 16 megs of ram and were too stupid to believe that it would take on a dual xeon machine with a gig of ram running win 2k advanced server. Thats shit man... absolutly shit. Look, I run a dual pIII system with a gig of ram under both linux (kernel 2.4.7, although that has some vm problems all in itself) and win2k advanced server and I'd be the first to say that there really is no noticable difference between the two (except windows does have more applications, and linux is easier to program). So my point is shut the hell up you damn troll.

    ps- How hard would it be for slashcode to start a troll filter (besides labeling trolls -1) which just wipes out this crap. As I said before... the only reason I followed this troll is because he serisously pissed me off by being such a choad.

    --

    can't sleep slashdot will eat me
  73. Read the Headline by Kaypro · · Score: 3, Insightful

    This is just saying which OS has faster pipes:

    Linux or Win2K

    (We can eliminate IBM's so called XP comparison....doesn't seem to have much basis)

    All IBM is saying is that if you have some specific app that absolutely needs to have best pipe speed/bandwidth then install LINUX damn it!

    This is not:

    Linux vs Windows
    Linux is harder/easier than Windows
    Linux Rox, Windows Sux
    Windows Rox, Linux Sux
    Tux smashes Windows, news at 11

    Grow up people: When will people realize that there is not one defacto OS standard.

    I love Linux
    I love Windows

    I use Linux for Web Server/FTP Server/IMAP server/DNS/filesharing/

    I use Windows for browsing the web, playing games, Designing web pages, etc.

    Why? Simply because I use the whatever works for whatever I need.

    Why must we have one OS that does everything?

    Seriosly.... if there is some solid reason please tell.

    Just my 2 cents...

    1. Re:Read the Headline by swordgeek · · Score: 2

      Generally agreed. However, one point:

      "Why must we have one OS that does everything?"

      Are you kidding? I'm a professional computer admin and serious geek, and I don't like switching between OSes any more than necessary. I don't like rebooting. I don't like any excess (i.e. unnecessary) work just to switch applications. You can imagine how much the average user is thrilled by the idea of needing multiple OSes just to browse the web, write memos, and play games.

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
    2. Re:Read the Headline by Kaypro · · Score: 1

      From an end user perspective... I agree. I was making that statement from the perspective of multiple machines. Most would not play Quake on their web server. But on the other hand it would be nice to browse the web with 100 % compatability (read Internet Explorer) and do a little programming with gcc at the same time without rebooting.

      So the question is: Is it viable to have a single OS that will let me play the latest LOTR trailer as well as having 200K people hitting my web page while I recompile my latest and greatest take all or nothing killer app?

      As yet to be seen....

    3. Re:Read the Headline by swordgeek · · Score: 2

      Ah well, that's a different issue.

      I agree entirely that different needs require different OSes. Furthermore, I would say (have, in fact quite often) that having different OSes in the world is inherently a good thing. Diversity leads to stability, and real competition.

      But that said, there's no reason that any given OS shouldn't be capable of doing everything. You should be able to play MP3s on your web server, if you want to install the software (although it's a fairly daft idea if you ask me!). Likewise, you should be able to run apache on your desktop box at home, for a few friends.

      But then with THAT said, I wouldn't consider benchmarks of either Quake3 or Apache to be a valid comparison of FreeBSD vs. Win98. Which is probably your original point, now that I think about it.

      I'll shut up now.

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
  74. Yes, it is off-topic... by Futurepower(tm) · · Score: 0, Troll


    Yes, it is off-topic, but here is an answer:

    XP stands for eXtra Pain.

    --
    Bush's education improvements were
  75. Relevancy? by vlad_petric · · Score: 0

    This is as irrelevant as the MIPS of a CPU. We now laugh when seeing old papers where MIPS was used as a real indication of processor speed, however when it comes to operating systems, we use fundamentally flawed benchmarks. The speed of a single feature of the operating system has very little relevancy, the only thing that really matters is the overall response time (per program of per transaction)

    The question is which is more flawed: this benchmark or Mindcraft's one

    --

    The Raven

  76. Re:rats cocks by Anonymous Coward · · Score: 0

    Probably from Trollaxor. Duh.

    // Slashdot Comment-Length Abuser Version 1.0.1
    // (C) 2001 Trollaxor
    // Please distribute freely!
    //
    // This program allows users with very little to say
    // to still post despite Slashdot 2.2's comment-length filters.
    //
    // Enjoy!

  77. The Minority View by TopShelf · · Score: 5, Interesting

    I don't use Linux - and I've been a regular /.er for years. Comparisons like this are interesting, as the previous poster noted - MS spends zillion$ to get their word out, so I see nothing wrong with posting alternative viewpoints here...

    --
    Stop by my site where I write about ERP systems & more
    1. Re:The Minority View by DarkEdgeX · · Score: 2

      Right, and I agree with what you're saying about Linux advocates providing their own numbers for consumers/decision makers to digest...

      BUT... when it's an insignificant benchmark, is it REALLY news worthy? Pipes are UNUSED in Win32 code, things like COM/COM+ and other methods of IPC have long since taken hold in Windows software development. Pipes may play a large role in Linux software, but the comparison should be between best IPC implementations, not between Linux Pipes vs. Windows Pipes. THAT'd be a worthy benchmark to read and use to make decisions...

      --
      All I know about Bush is I had a good job when Clinton was president.
  78. Re:My Experience with the Linux Operational System by powerlinekid · · Score: 1

    nevermind... you're a waste of time... i've already checked out your history... i'd say for an asshole you're a pretty good propaganda writer ;-)

    --

    can't sleep slashdot will eat me
  79. Pipes near windows by Anonymous Coward · · Score: 0

    Always insulate any pipes you have near windows.
    Leaks have been known to cause sever damage

  80. you're a homo by Anonymous Coward · · Score: 0

    bahaha steven tyler jesus christ I'm gonna pretend I didn't read that. You're still gay, but I'll have that remark stricken from the record.

  81. You don't remember Mindcraft? by roystgnr · · Score: 3, Interesting

    I would expect that if any benchmarks came out favoring Windows, and if they were reported here

    Benchmarks did come out favoring Windows. They were indeed loudly shot down with criticisms of the testing protocol, and with criticisms of the (Microsoft-funded, in this case) bias of the testing agency. And yes, both those criticisms were just as valid: e.g. not very.

    The testing protocol, just as in this case, deliberately chose an aspect of performance that didn't have much practical meaning (load balancing between many 100MB NICs rather than using one GB card; using pipes on Windows instead of sockets/COM).

    The testing agency, just as in this case, was horribly biased.

    So what was the difference? Well, first of all, the biases were a lot more real before. People pointed out hand-tuning that was applied to NT and not Linux, hardware choices that seemed to deliberately use the least supported options, and misconfigurations of the Linux software. Do you have any similar things to point out here, other than "Everybody knows you shouldn't use pipes on Windows"?

    The second difference? Even after those biases were taken into account, there was still aspects in which Linux's performance could be improved, and so it was, gradually over the next 18 months, until it now beats Windows in the same configurations. Do you think that the converse will be true, and Windows 2003 will have blazing performance in all forms of IPC? Would you like to bet money?

  82. Run on a Thinkpad? by corky6921 · · Score: 4, Insightful

    In the discussion forums, the guy who posted these results admits, "I ran the tests on a thinkpad."

    I'm sorry, but what does this prove? Linux runs better on a laptop? Is he comparing Linux, the server OS, to Windows 2000 Pro, the consumer OS? What version of Windows XP is he running?

    These tests are really subjective, not only because pipes aren't really used in Windows, but also because he used a laptop to test it (and didn't give details of the Windows OSes he was running.) If anything, I wish he would have used some bigger iron (a Xeon-based system, perhaps, or some of IBM's middle-of-the-line servers.)

    I think the best conclusion we can draw from this is that Linux may indeed be a better OS than Windows in some ways, but that this test doesn't prove it.

    1. Re:Run on a Thinkpad? by Anonymous Coward · · Score: 0

      how about not drawing any conclusion at all? Sheesh.

  83. Performance usually the least of my considerations by eyeball · · Score: 4, Interesting

    As a systems architect at a very large (non dot-com company I might add), when considering platforms and technology for adoption, speed of certain aspects of an os are usually pretty low on my list of priorities. Tops are:

    - Available human resources: do we have developers that know x technology. If not, how available are they?
    - Business: are there any benefits to adopting a certain technology, such as existing or potential partnerships? i.e.: existing support contracts, brand name recognition
    - Liability: is there someone to blame when things go wrong? (like it or not)
    - Scalability: can the adoption of a technology come with a guarantee that some aspect of performance doesn't hit a brick wall?

    Among others.

    --

    _______
    2B1ASK1
  84. Pipes in Windows -- who cares? by Hard_Code · · Score: 1

    Are pipes even significant in Windows? Are they used in any significant manner? Seems to me like comparing something one OS was designed around to something another OS just tacked on as an afterthought. Was anybody surprised that Windows pipes are not as efficient/nice/whizbang as any *nixes pipes? Next: let's compare COM+ performance between Linux and Windows!

    --

    It's 10 PM. Do you know if you're un-American?
  85. Re:rats cocks by Anonymous Coward · · Score: 0

    bearded clam

    // Slashdot Comment-Length Abuser Version 1.0.1
    // (C) 2001 Trollaxor
    // Please distribute freely!
    //
    // This program allows users with very little to say
    // to still post despite Slashdot 2.2's comment-length filters.
    //
    // Enjoy!

  86. Unix Sockets by rootmonkey · · Score: 2, Insightful

    I think an intersting comparison would be winxp's implemention of unix sockets compared against Linux's implementation.

    --

    Yes but every time I try to see it your way, I get a headache.
  87. So? by Red+Avenger · · Score: 1

    Why is that news for nerds and stuff that matters has to revolve around MS so much here lately? If I wanted Windows news I would go to Microsoft.com or ActiveWin.com, not /.

  88. Named pipes vs. unnamed pipes? by Ablar · · Score: 2, Insightful

    Anyone else bothered by the fact that the tests on Windows were using named pipes while the Linux ones were using unnamed pipes? I'm rather certain that named pipes would be slower in the first place...

    1. Re:Named pipes vs. unnamed pipes? by Anonymous Coward · · Score: 0

      Two paragraphs up from the conclusion:

      Linux also supports named pipes. An early reviewer of these numbers suggested I compare Linux named pipes with Windows named pipes to be fair. I wrote another program that used named pipes on Linux. I found the results for named and unnamed pipes on Linux indistinguishable.

    2. Re:Named pipes vs. unnamed pipes? by Anonymous Coward · · Score: 0
      pipes are just as fast whether they're named or not on Unix.

      Meanwhile, on Windows unnamed pipes are actually implemented using named pipes.

      So the bottom line is that it doesn't make a lick of difference.

    3. Re:Named pipes vs. unnamed pipes? by zerus · · Score: 1

      you're exactly right, comparing apples and oranges, at least make an honest attept to conduct fair and equal tests.

    4. Re:Named pipes vs. unnamed pipes? by Retsil+Evad · · Score: 1

      ugh... Unnamed windows pipes are named pipes with security features enabled that restrict access to unidirectional. Actually causing a slowdown in the transfer.

  89. Re:Biznatch! by Anonymous Coward · · Score: 0

    I hope to god you are joking!!! though I agree that US teenagers (and even college students are far less mature than ones in other countries (where coincidentally sex and drinking are quite commonplace for teenagers). And if sex is overrated then you aren't doing it right..

  90. grammer? by the_2nd_coming · · Score: 2, Funny

    Although I new Linux would fare the best

    I know this my sound a little.....stupid coming from me, for those that know my postings, but even I am not this bad.

    --



    I am the Alpha and the Omega-3
    1. Re:grammer? by Anonymous Coward · · Score: 0

      grammar

    2. Re:grammer? by the_2nd_coming · · Score: 1

      you see, if it is bad enough for me to see, its real bad :-)

      --



      I am the Alpha and the Omega-3
  91. This is not the fastest way to do IPC on Win32. by Jeremy+Allison+-+Sam · · Score: 2

    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.

  92. Microsoft: Many choices, but which do you use? by proton · · Score: 1

    Without comparisons like the one posted, how would any programmer know the strengths of the operating system that he/she is programming for?

    Its clear as crystal that pipes should be avoided at all costs on Windows XP, that seems like valuable information to me!

    And ofcourse Im happy that Linux comes out on top, it just shows that KISS works. Very simple pipes, very simple operations, and it does the job well.

    /proton

  93. The Question IS ... by shaunak · · Score: 1

    Which OS user has the cleanest pipes from being cleaned too often? ;)

    Just my hyperactive imagination at work.
    Nothing to see here, move along.

    --
    -Shaunak.
  94. author's job by Anonymous Coward · · Score: 0

    He's listed as a Windows NT Architect within Competitive Technical Assessment, actually. (Don't let the blue suits get me....)

  95. Isn't XP based on 2k? by pdavew · · Score: 1

    Without comparing Windows pipes to Linux pipes, if XP is supposed to be based on the NT/2K kernel, then why would such a simple benchmark program produce such vastly different results unless either the benchmark systems were not configured properly, or XP is not completely a 2K offspring.

    1. Re:Isn't XP based on 2k? by Anonymous Coward · · Score: 0

      I guess some network and kernel pieces were rewritten. For instance, I heard the IP stack is based on BSD's.

  96. Wrong, Jeremy by throx · · Score: 5, Informative

    I thought the same thing initially, but when I tried using CreatePipe() instead of CreateNamedPipe() I actually got a performance degradation of about 5%. Looking deeper into this, I found that CreatePipe() actually creates a named pipe and places security descriptors on each end which restrict it to unidirectional access (hence the slowdown).

    From the MSDN documentation:

    Windows NT/2000: Anonymous pipes are implemented using a named pipe with a unique name. Therefore, you can often pass a handle to an anonymous pipe to a function that requires a handle to a named pipe.

    --

    Fear: When you see B8 00 4C CD 21 and know what it means

  97. Hold on... by Penguinoflight · · Score: 1

    I see way too many anti-Linux comments.
    XP isn't even 1/8 as fast on this benchmark as Linux is, and 2k didn't make it to half as fast. Maybe you trolls out to look at the benchmark before you say were biased. I find it interesting that Microsoft is again getting slower... first with NT being faster than 2k on SQL, XP is likely to also be slower than 2k, considering the uses of pipes on windows suggested.

    As far as overall performance? Windows doesn't have a chance, sorry.

    --
    "And we have seen and do testify that the Father sent the Son to be the Savior of the World"
    1 John 4:14
  98. SMP Arrays by Penguinoflight · · Score: 1

    Um, I don't think you're right on that one. Linux SMP performance is quite good, and it suports more processors as well.

    --
    "And we have seen and do testify that the Father sent the Son to be the Savior of the World"
    1 John 4:14
    1. Re:SMP Arrays by Anonymous Coward · · Score: 0

      Linux can't handle more than 4 CPU's well. You can do a lot with 4 CPU's, but for things that require more Linux can't cut it.

    2. Re:SMP Arrays by Anonymous Coward · · Score: 0

      The new kernel does great up to eight. Much like windows. Over eight and you gotta get a real OS.

  99. Would Slashdot ever post if Linux lost? by exceed · · Score: 1

    First of all, in no way is this a flame towards:
    a) any operating system, or b) Slashdot itself.

    But seriously, if Linux ever lost in a benchmark or some other form of test, would it get posted on Slashdot? I highly doubt it. I run Linux and Windows myself, therefore I do not flame either. I think the Slashdot community could be a little more unbiased towards operating systems such as Windows and leave the "Linux rocks, and if you don't preach it, you suck" bandwagon. Linux does rock, but Windows has it's high points too, and it just turns out that Linux showed off it's higher point in this test.

    --

    void women (int money, time_t time);
    1. Re:Would Slashdot ever post if Linux lost? by Anonymous Coward · · Score: 0

      Actually /. does post when linux loses except it always turns into an argument of why the benchmark is flawed or people find that the research group is funded by MS.

  100. My pipes beat yours by skilletlicker · · Score: 1

    Now all Linux needs is a good set of glasspacks.

  101. I hate to say it. by Scoria · · Score: 1

    If this report had stated Windows was the more efficient platform and the report was created by a biased affiliate (see: no Unix, Windows only) of Microsoft, what would Slashdot be saying right now?

    Something like this. It's unfortunate, but true. This topic is a flamewar (wait for the first Windows zealot to post) waiting to happen, as are (moreso) those topics on Slashdot which seem to represent Windows in a positive light.

    Just a little something I noticed.

    --
    Do you like German cars?
  102. freebsd? by Anonymous Coward · · Score: 0

    where is the linux vs freebsd IPC comparisons?

  103. Amiga zealots, round 2 by Junks+Jerzey · · Score: 2

    Sigh. At one time the Amiga was the pinnacle of personal computer design, but the Amiga community degenerated into an inbred group that other people couldn't stand to be around. I kept wanting to scream "If you like your Amiga, then that's great, but if you think it's so superior then why do you have such a defensive tone?"

    So, yay, Linux fanatics can start bragging that they have faster pipes. And the rest of the world can get even more annoyed with the weird rantings of said Linux fanatics.

  104. Re:Performance usually the least of my considerati by Anonymous Coward · · Score: 0

    - Liability: is there someone to blame when things go wrong? (like it or not)

    Is that to say you typically take no responsibility for your own mistakes? Is this what they're teaching management types in school these days, or is this just what you picked up as a kid from dad when he would blame his whorechasing on the economy?
  105. Boy, oh, boy... by Anonymous Coward · · Score: 0

    Are you really that stupid? That was a complete and utter Troll, with no redeeming or intellectual value at all. If the obvious and blatant falsehoods didn't tip you off (VB a low-level language, no SMP in Linux) then the link should have.

    Did you click on the link? I suggest you do, then you'll know that this was nothing other than an absolute Troll who's only goal was to see if there was anyone moronic enough to fall for it.

    You take the cake, pal. Thanks for reducing my already low opinion of the human race in general.

    1. Re:Boy, oh, boy... by Anonymous Coward · · Score: 0

      Meet the doubletroll.

  106. Re:My Experience with the Linux Operational System by powerlinekid · · Score: 1

    i already posted a comment telling the guy that it was a good troll... i realize i was trolled, anything else would be utterly stupid. The fact that people sit around waiting for trolls is even stupider. What I wrote, I wrote quickly and without thinking... -retards

    --

    can't sleep slashdot will eat me
  107. Re:FLAMEBAIT MOD PARENT DOWN by Anonymous Coward · · Score: 0

    FLAMEBAIT MOD PARENT DOWN

    Oh, OK, just cuz you said to, though.

    dumbass....

  108. What about threads? by WMNelis · · Score: 1

    I may be wrong here, but I think the overhead of creating and using threads would be a more important measure than interprocess communication for high speed programming.

    --

    Sig free since 2/6/2002
  109. Re:What a Surprise. by TRoLLaXoR · · Score: 0, Informative

    it's running well. i never installed Classic and I haven't felt an urge to go back...

    I have three bitches about it--

    1. my 3rd party USB burner is not supported. i expect it to be at some point, as it was in Mac OS 9.

    2. the gui plays catchup. there's a slight delay between going over a menu title and having it drop down, or hitting a button and having the action begin.

    3. graphics acceleration is not as fast as it could be.

    None of those things are bad at all, and 10.1 is my primary OS.

    the ibook itseld is small, light... DVD play is great.

    anything else you wanna know?

  110. A better article.. by bperkins · · Score: 1

    A much more interesting thing to look at might be the various IPC mechanisms of both Windows and Linux and compare their performances. This would be a much more interesting and relevant article.

    FWIW, even if Linux's pipes were faster, this would not necessarily mean the Windows pipes were inferior. You also have to test scalability, i.e. how much faster one or more pipes ran on a one or more processor machine.

    If you look at Solaris pipes vs. Linux pipes, you'll see (or would have seen the last time I looked at it) that Linux pipes tended to be faster. This was mostly due to the many locks inside the Solaris kernel that were absent in Linux. The result is slighly worse performance for uniprocessor machines, and better performance for multiprocessor machines for Solaris.

    Of course, as has been pointed out, this is all fairly moot, since pipes are apparently not used that much in Windows, which goes back to my first point.

    IPC performance is a very interesting issue. Unfortunately this article doesn't really address it.

  111. Windows needs pipes by darrell.py · · Score: 1

    COM has it's place, but it's not the best solution in all case!!

    What about cross platform apps?
    What about apps that don't want to mess with the registry.
    Which is a real pain during install.

    COM is too complicated in many cases and locks you into Windows.

    1. Re:Windows needs pipes by mikera · · Score: 1

      Isn't locking people into windows kind of... er... the whole point of COM?

      Remarkably good design considering it's objectives.

  112. The real surprise by Baconator · · Score: 2, Insightful
    ...is the Win2K vs. Win XP results. As everyone (including the author of the article) has pointed out, pipes don't play a very important role in Windows -- so it's perhaps true that the Linux vs. Windows comparison isn't very meaningful.

    However, the significant performance degradation in any feature from one version of Windows to the next is a pretty damning result. It would seem to legitimize the feeling that many Windows users have that XP is a big downgrade from 2K.

    1. Re:The real surprise by be-fan · · Score: 2

      However, the significant performance degradation in any feature from one version of Windows to the next is a pretty damning result. It would seem to legitimize the feeling that many Windows users have that XP is a big downgrade from 2K.
      >>>>>
      Not necessarily. OS design consists of lots of tradeoffs. If one feature isn't used often, it is quite possible that its performance would be sacrified to make something else faster.

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:The real surprise by Anonymous Coward · · Score: 0

      "legitimize the feeling that many Windows users have that XP is a big downgrade from 2K."

      not only that but we also feel its a big downgrade from 98 even. GUI gizmo's do not make a good reason to upgrade. hell the first thing i do to a 2k box is turn all that shit off & try to make it look as much like a 9x GUI as possible.

      making it prettier = making it less usable
      IMHO anyway

    3. Re:The real surprise by peppy · · Score: 1

      I've heard that if you go to Control Panel, System, Advanced, Performance, and select, "Adjust for best performance", Windows reverts to something almost indistinguishable from Windows 98/2000. I haven't tested but worth the look.

  113. Re:Performance usually the least of my considerati by Anonymous Coward · · Score: 0

    Even with all the points you have listed, I'm still surprised that you imply Windows is a good solution. It claims unreliability, poor performance, high latency, and a resource hogging monolithic kernel. It also scales from one kitchen sink to two kitchen sinks (can't easily be tailored to suit your needs.) You should do more shopping around.

  114. Link for the uninformed? by CTho9305 · · Score: 0

    Where might the uninformed learn about what pipes are? I'd like to know what these are that suck so much on this OS I just installed and have no issues with.

    1. Re:Link for the uninformed? by be-fan · · Score: 2

      Pipes are what they used before proper IPC methods like messaging were created...

      I'm just kidding. Pipes are a mechanism to allow applications to send data to each other. An app at one end can stuff date into the pipe by pretending its writing to a file, and the app at the other end can read the pipe just like a file and get the data out. In Windows, pipes are rarely used. More often, people will use messaging or implement a COM or OLE component.

      --
      A deep unwavering belief is a sure sign you're missing something...
  115. LOL! by Anonymous Coward · · Score: 0

    Your "knowledge" of IPC is so feeble it actually made me laugh out loud! I love you Linux wannabe programmers....

  116. Pipes? by poisoneleven · · Score: 1

    Pipes? Pipes? Who the hell uses pipes? I've been a windows programmer for quite some time and have never used pipes to do anything. This is like comparing the cooling effects of rolling down the windows to in cars. Sure, the older cars get a lot more air through the car, but the new cars have AC...ok, so that's not such a good example...but I don't know anyone who uses pipes, or would even have reason to.

  117. Give me karma! Printer drivers by aulendil · · Score: 0

    http://www.cups.org/

  118. And pipes performance matters because...? by GodSpiral · · Score: 1

    Is there an application where many GBs would be piped, and where this throughput difference would then matter?

    the NT+ pipes do a little more (though the linux ones seem far more useful by their simplicity) so its natural that they'd be slightly slower. And slightly slower is what win2k is compared to linux. It hardly matters. XP did bad, but its almost obviously a bug that will be patched eventually/soonish.

    I mean, name one application or business purpose where faster linux pipe performance would win it a contract? There just aren't any.

  119. It's what's IN the pipes that matters... by SeaCrazy · · Score: 2, Informative

    Well, Linux may have better pipes, but we all know that Microsoft has lots of more money so they can afford to buy much better crack which more than makes up for the poor quality pipes.

    --
    .sig? Get your own damn .sig!
  120. MESSAGE TO ALL THOSE THAT WISH TO STUPIDIZE /. by mutzinator · · Score: 1

    Look,

    Slashdot's motto is "News for nerds. Stuff that matters." It's not "Market analyzation. What drives sales."

    This story is geek info, nothing more. It's exactly what slashdot should be posting.

    NO ONE said that IPC performace is what consumers are looking for when they purchase a machine. No one said that "a half-decent GUI and a huge set of tools" are unimportant.

    The article makes no claims to the effect of: "the high performance of pipes on linux will yield the imminent demise of microsoft". The series is titled "High-performance programming techniques on Linux and Windows." It is covering exactly what it should be.

    So, to all those /.ers who pooh-pooh this article as being unimportant, shut up. Neither this article, nor slashdot claim to be anything more than they are.

  121. CreateNamedPipe vs. CreatePipe by KidSock · · Score: 2

    The CreateNamedPipe call creates a pipe that can be connected to a pipe potentially on another host addressed by UNC name. MS admits that this is slow and that sockets should be used instead if raw performace is desired. The benifits are that they are authenticated and mediated by the CIFS networking layer (thus the slow down).

    To more accurately compare pipes as IPC mechanisms they should have used the CreatePipe call which creates an anonymous named pipe that only goes through the Kernel and back. These should be quite fast by comparison. Of course a much more interesting comparison would be to compare shared memory -- a much more critical IPC mechanism used by high performace appclications like databases.

    BTW if you want to access NamedPipes and TransactNamedPipes in 100% Java the http://jcifs.samba.org project has implemented everything necessary to interoperate with MS NamedPipe servers.

  122. Pipes have a place by alienmole · · Score: 2
    Pipes are still used in server applications on Windows, and none of the IPC mechanisms you mention are a complete replacement for what pipes are good at: streaming data from one machine to another, where there's a reason to maintain a connection over a period of time. You can also use sockets for this purpose. Although sockets are often used instead of pipes, that's simply because it's more in line with most Internet applications - using sockets requires a bit more work.

    Also, there's a performance issue: Windows' high-level IPC stuff is slower, and if you don't need all that functionality, you can be better off with a lower-level mechanism.

  123. BSD Pipes. by funwithBSD · · Score: 1

    My ... pipes ... are ... CLEAN!

    --
    Never answer an anonymous letter. - Yogi Berra
  124. Nice Going King Dork Moderator by Anonymous Coward · · Score: 0

    Here the guy was trying to be funny. Just because you can't take the time to read the original post to spot the typo doesn't mean that this wonderful fellow should be screwed out of hard-won karma. He even managed to work an "Open Source" reference into the comment. I, for one, am very impressed. His creativity and wit are sorely needed in these dire times. I vote that this "wardomon" guy should be given bonus points for remaining silent throughout this deep and prolonged harrassment.

  125. Excel for the graphs! by Anonymous Coward · · Score: 0

    I just cannot stop laughing.....

    They do this story telling you how Linux rules,
    but write the whole article using the Office suite.

    I cannot think of a better way to illustrate the paradox..... Linux rules, Windows sux, we use windows because it's easier!

  126. XP performs better than 2000! - Not Quite by EvilShade · · Score: 1

    The windows 2000 machine was running Advanced Server. The windows xp machine was running Professional. Those are different and not worth comparing.

  127. MicroSoft outperforms again! by Whatever+Fits · · Score: 1

    "According to recent pipe throughput tests, MicroSoft Windows XP has yet again proven to be better than Linux as it has a considerably lower performance degradation due to increases in pipe block size!"

    Just check the numbers! ;) Linux drops off considerably after 100,000 while Windows XP just flatlines.

    --
    My name fits again.
  128. Memory Mapped Files by bored · · Score: 1

    Ah, don't try to use Memory mapped files under W2k either. I don't know about XP but I have a little memory mapped file application that runs about 10x faster under linux than windows. I jumped though a bunch of hoops to get it up to only about 3x slower by setting my process quota, messing with a bunch of system cache settings, etc. I don't know what the current recomendations are for IPC on w2k but long ago I started to design all my applications for a threaded model and use TCP for any real interprocess/machine communication. This gives me realitivly easy portability off of M$ productions (unlike COM).

  129. Re:Windows has pipes? by Anonymous Coward · · Score: 0

    Come on.

    No one, not even MS themselves, would seriously assert that cmd.exe was comparable in power and ease of use to bash or even (shudder) csh.

    Linux ships with a powerful shell by default. On Windoze, you tend to have to install cygwin for a decent CLI environment. Even MS recommend you install Perl or something for scripting.

    Obviously, windows CAN have a powerful shell - it's just not installed by default.

    When people say "CLI sux, GUI rulez!" etc, it's generally because their only CLI experience is the hideous braindeadness of command.com or cmd.exe

  130. Which version? by 11+platter+hard+driv · · Score: 1

    Which version of xp? Which build? Which version of 2000, meaning which service pack? Which build of that? What version of the linux kernel, and what version of linux itself? Was linux using gnome or a windows type of gui, or was it command line?

    Oh, and what was the speed of the network?

  131. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  132. No it doesn't by ergo98 · · Score: 1

    Pipes are old school. Apps that are really cross-platform use sockets over TCP or UDP.

    1. Re:No it doesn't by Anonymous Coward · · Score: 0

      Scokets are, in some ways, a step backaward, though. BSD Sockets broke the "everything is file" "UNIX way" of doing things, and don't really fit in with the rest of the system.

  133. Other IPC mechanisms by Anonymous Coward · · Score: 0

    I hope ./ runs his future comparisons of other IPC mechanisms. I especially hope he looks at Solaris and Linux Doors.

  134. Re:Windows has pipes? by Anonymous Coward · · Score: 0

    OK, how many Windows GUI applications rely on pipes?

    This isn't Linux, where some freshmeat d00d is writing fragile gtk frontends for commandline tools.

  135. So you're as bad as a frothing linux user by rhinoX · · Score: 1

    Feeling superior because of your OS is pretty lame, regardless of system.

    --
    The copper bosses killed you, Joe. 'I never died', said he.
    1. Re:So you're as bad as a frothing linux user by Anonymous Coward · · Score: 0

      He never said anything about feeling superior. Although it never hurts to hear more technical reasons why bsd spanks linux, aside from the obvious license advantages.

    2. Re:So you're as bad as a frothing linux user by Shanep · · Score: 1

      Recently, while trying to find out why Linux 2.4.x software RAID-0 device performance was about 18% SLOWER than the /dev/hd# devices that make up the stripe, I decided to do a simple little test from single user mode that I thought might show the maximum read speed I could expect from my Linux kernel (2.4.10 at the moment, as tested).

      So I did a (probably very unscientific) # dd if=/dev/zero of=/dev/null with a count= of 1Gb, timed it and worked out the transfer rate... ~34M bytes/sec. WTF?!?!

      I then did the same in FreeBSD 4.4 Release.................... 250M bytes/sec!

      I'm now off to wipe some adjacent /dev/hda and /dev/hdc partitions to set up FreeBSD software RAID-0 to see if I should move my desktop #1 from Linux to FreeBSD.

      PS, I have a PII-300 (100MHz FSB) with 256Mb PC100 SDRAM for comparison.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  136. BSDi by TrollMaster3000 · · Score: 0

    BSDI must be %40 of that %6.1 I keep hearing about on Netcraft.

    --


    I'm no punk bitch !!!
  137. this is a surprise? by Anonymous Coward · · Score: 0

    "Windows 2000 actually did better than XP!"

    XP has been out for, what, 2 months? in microsoft terms thats still beta.

    besides isnt XP still 9x based partly?

    1. Re:this is a surprise? by Graymalkin · · Score: 2

      WindowsXP == WindowsNT 5.1. For the personal edition they only provide a uniprocessor kernel and put some Millennium-like toys like the personal video editor and shit. It's memory management is also detuned similarly to the way memory is tuned differently between WinNT Pro and Server.

      --
      I'm a loner Dottie, a Rebel.
  138. I knew it!!! by hhe_hee · · Score: 1

    "The number 24 in the first executable line of code above was determined experimentally. I found no mention of it anywhere in the Platform SDK. If it is not present, the program doesn't work. Apparently, the pipe facility requires a 24-byte header on each write to the pipe."

    I think this says alot why I don't wanna work with windows pipes... :)
    Oh wait I forgot to site this: "Our results showed that Linux pipes are considerably faster than Windows 2000 named pipes, and Windows 2000 named pipes are much faster than Windows XP named pipes."
    Anyone who wants to know alot more about pipes in UNIX/Linux should read Richard W. Stevens bible "Advanced Programming in the Unix Environment", any respectable programmer should have read that book at least one time in his/her life.
    And finally it would be really interesting to see this experiment done with sockets too. Atleast Im gonna try it out.

    And btw, I wouldn't want to be around when Billy G gets his hands on those guys who made this test...

    --
    2 reptiles beneath your current threshold.
  139. Re:My Experience with the Linux Operational System by MindStalker · · Score: 2

    I know I'm waisting my breath, I'm just in a silly mood today.
    I expect to be able to configure Linux as I configure Windows2000. You can, you just have to know what your doing, its not like someone who spent their entire lives working on a Mac could just sit down and expect to be able to configure a full Windows2000 enterprise solution without any problems, so why should be expected to be able to sit down at linux and be able to run it without any learning.
    Convert to VB? VB is a programming language nothing more, I'm sure if someone really wanted to they could write a VB compiler in linux,
    (working around the obvious hooks to windows api) but why?
    There is absolutly nothing slow about C, though I personally prefer C++, slowness is in the coding method and the complier, there is nothing "slow" about C anymore than any other language. Anyways it all comes down to the classic vi/emacs war, you can produce the same results with both of them, its just a matter of what your comfortable with.

  140. Re:Performance usually the least of my considerati by be-fan · · Score: 1

    Performance usually the least of my considerations
    >>>>>>>
    You must be a KDE-2 developer!

    --
    A deep unwavering belief is a sure sign you're missing something...
  141. Re:Windows has pipes? by DMilor · · Score: 1

    That'll be any client app communicating with a database using an ODBC pipe for starters.

    I think are probably one or two of those out there.

  142. We Need A new Section for Slashdot Called... by Deathlizard · · Score: 0, Offtopic

    MS Vs Linux.

    You can use An Icon of Tux with boxing Gloves punching a Windows Logo.

    1. Re:We Need A new Section for Slashdot Called... by Anonymous Coward · · Score: 0

      I think we need a section called burn the homosexuals... You first!.

  143. goatse link by jrockway · · Score: 1

    You did a terrible, terrible job of linking to goatse. Slashdot puts the hostnames in brackets next to the link now, so you fooled noone. Oh, and the colon's fine. You know why? Because we got the idea! That's what writing is about! (especially in a friggin' slashdot post! it's not an essay or book!)

    --
    My other car is first.
    1. Re:goatse link by Anonymous Coward · · Score: 0
      You did a terrible, terrible job of linking to goatse. Slashdot puts the hostnames in brackets next to the link now, so you fooled noone.

      Yes, I counted on that. It was a pun on colon.

      Oh, and the colon's fine. You know why? Because we got the idea! That's what writing is about! (especially in a friggin' slashdot post! it's not an essay or book!)

      I agree, but again you misunderstand my intent. The proper response to a grammar flame is a counter grammar-flame -- that's all my post was.

      BTW, noone should be spelled as two words ;)

  144. Misleasing benchamarks - so easy to do by Anonymous Coward · · Score: 0

    The fastest method of interprocess communication under Windows is shared memory files, if you are transfering large amounts of data (all the others involve an extra copy of the data).
    My question is why did he use pipes in particular rather than the fastest method of communication (don't know what that would be under Linux)
    I suspect a bit of impartiality, maybe this guy just noticed that pipes were much slower Windows and then decided to run some benchmarks on this particular thing - conveniently ignoring things that would be faster on Windows than Linux.
    It's very easy to present benchmarks in a misleading way. Remember the Mindaware Linux - Windows bencharks, where they picked the one hardware configuration were a Windows NT server would be faster than a Linux one (and conveniently ignoring all the other configuratios where Linux was faster). I'm not pro Windows nor pro Linux, just interested in establishing the truth.

  145. Pipes by mentin · · Score: 1
    Completely stupid comparison.

    On NT he creates a buffer with size equal to the total size of transmission data (up to hunderds Megs). He is actually mesuring the speed of paging to swap file, not speed of pipes.

    What he had to do is create small buffer, like 64 Kbytes, or just like Linux's 4 Kb buffer, and work with it. This comparision has nothing to do with pipes, just with stupidity of some people.

    What a shame for IBM, I've read some very good articles there, but this one is total crap.

    --
    MSDOS: 20+ years without remote hole in the default install
    1. Re:Pipes by Anonymous Coward · · Score: 0

      umm the author did more than one test.. and that included one where he used the linux 4k boundary
      guess what.. linux still won so shut up.

  146. OS X by Anonymous Coward · · Score: 0

    has the biggest cock though! we win!

  147. what use, these pipes? by Sebastopol · · Score: 2


    how often are pipes used in important server applications? yes, they are ubiquitous on the command line, but how frequently would a pipe be used over an API call? i can't imaging sticking a "system("app1 | app2 | app3");" call inside of a major server application stack. or would this be done in real life?

    windows is built around API calls, not pipes, so it doesn't surprise me that pipe communications blow.

    somebody fill me in...

    --
    https://www.accountkiller.com/removal-requested
    1. Re:what use, these pipes? by Webmonger · · Score: 2

      Pipes are actually quite nifty. To grep a string in your own program,
      Create a pair of pipes, and assign them to stdin and stdout
      Fork
      In one branch, execute grep with stdin (i.e. a pioe) as the input and stdout(i.e. a pipe) as the output. In the other, feed the input into one pipe, and read it out the other pipe.

  148. 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."

    1. Re:Samba's Jeremy Allison says "apples to oranges" by Anonymous Coward · · Score: 0

      Actaully, in XP, CreatePipe() calls CreateNamedPipe().

      Why? Conspiracy theory: MS make pipes more inefficient, because want to make sure people don't use pipes, thereby increasing the rift between windows coding skills and unix skills

      Realistic Theory : MS programmers are idiots.

  149. Whats more interesting is why so many by Anonymous Coward · · Score: 0

    people have negative feelings about MS.
    It's almost unprecedented for a company to be
    so despised by so many knolwedgeable users.
    I guess they must have done something to earn that
    scorn.
    Conversely, Linux is loved by legions.
    So in conclusion many loathe MS and many love Linux.
    As ye sew, so shall ye reap.

  150. Re:file generation and removal test - be careful! by Anonymous Coward · · Score: 0

    I really, really would not advise you to create many small files on NTFS volumes. Each new file causes the MFT (Master File Table) to grow by 1KB, even if the file itself is 0 bytes in size. 10000 files would expand it by 10MB. The problem is, once you delete the files, the MFT does not shrink back! Taken to the extreme, the MFT can be forced to occupy roughly 80% of the disk and fragment heavily in the process, and the only way to fix it is to backup, reformat, and restore.

  151. 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)
  152. They need to start to think bigger! by Zero__Kelvin · · Score: 2


    Forget pipes, they need to start implementing Bongs and even Hookahs! 8^}

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  153. XP by Dermot+the+Forg · · Score: 1

    Of course XP runs like a dog. Have you seen it?

  154. Uh? by Thatman311 · · Score: 1

    Maybe the bash script just ran faster under linux than windows. why not create a program that is compiled that does the pipe work instead of a bash script. There are still apples and oranges being compared here.

    --
    Silly Rabbit...Sig's are for kids.
  155. I have to know... by rice_burners_suck · · Score: 2

    What does B8 00 4C CD 21 mean?

    1. Re:I have to know... by Anonymous Coward · · Score: 0

      Get outta here! :)

    2. Re:I have to know... by throx · · Score: 2

      It's x86 machine code for:

      MOV AX,4C00 (note little endian)
      INT 21

      or, in terms of the old DOS days, exit(0). The fear comes in when you see it, know what it means and realize just how full your brain is of stuff you are never likely to use again...

      --

      Fear: When you see B8 00 4C CD 21 and know what it means

    3. Re:I have to know... by Anonymous Coward · · Score: 0

      The fear should come when you look at it in debug and pretend you recognized it from the hex codes.

    4. Re:I have to know... by DarkEdgeX · · Score: 2

      It's really sad, but I figured that out quickly... [sigh]

      --
      All I know about Bush is I had a good job when Clinton was president.
    5. Re:I have to know... by rice_burners_suck · · Score: 2

      Well it's a big relief that I didn't recognize it before. Thanks. :-)

  156. Moderate this up! by Anonymous Coward · · Score: 0

    No shit. Thanks for saying it first! Not only is this a stupid test, but Dr. Edward Bradford doesn't even know the differance between createpipe and createnamedpipe. Laughable...Oh well he fooled most people.

  157. Hmmm... by xjeff · · Score: 1

    s/new/knew . I may only be a sophmore in high school, but even I know a spelling mistake when I see one. But it's OK--just try to pick up mistakes next time. :)

  158. [PATCH] pipespeed2t-sh.sh by Anonymous Coward · · Score: 0

    --- pipespeed2t-sh.sh Wed Oct 3 15:37:33 2001
    +++ pipespeed2t-sh.sh.new Wed Oct 3 16:43:44 2001
    @@ -20,6 +20,6 @@
    ??????) count=1k;;
    * ) count=200k;;
    esac
    - echo pipespeed2t $count $bytes
    + pipespeed2t $count $bytes
    done
    done

  159. Way off topic, but here is a reply. by Anonymous Coward · · Score: 0


    Way off topic, but here is a reply.

    The referenced article says, but does not adequately support, that non-violence is MORE powerful than violence. But, as the article says, it is necessary to start early. The CIA trained bin Laden to be violent. The U.S. is the largest arms dealer in the world, selling arms to both the Israelis and the Arabs. Once there have been decades of intense preparation for violence, it is difficult to find methods that cause non-violent ways of relating.

    The entire point of the article is that non-violence gives us MORE security against violence. Violence only causes more violence.

    Interestingly, one part of the present effort is to apply investigative methods and the law as a way of solving the problem of terrorism. So, these methods are being used.

  160. Re:My Experience with the Linux Operational System by Anonymous Coward · · Score: 0

    Your troll would have been much more successful if gcc had anything whatsoever in relation to VB.

    Since you troll only as a VB programmer, and gcc has nothing whatsoever to do with VB (infact, I believe there isn't a line of any type of Basic code that can compile using it, and I know for a fact there are no basic instructions within gcc), I give your troll a (drumroll):

    C-

    - Good english and linux technobabble make up for your lack of intelligence and could possibly dupe really stupid PHBs and the occasional sleeping slashdotter into believing you. Because of that you didn't receive an F.

    If you choose to troll a site as large as slashdot in the future, please try harder next time; Include fewer gaping holes in your arguments.

  161. Absolutely by extrasolar · · Score: 2

    I agree with your statement that they shouldn't focus on the "average user" who just wants to check email, write documents, and browse the web. If that was all users wanted to do, they could make GNU/Linux extremely simple to use. But for some reason the powers that be wanted a general purpose operating system rather than an expensive gameboy and so that implies more complexity. There is no way you can get away with a dirt-easy general purpose OS.

    This is my offtopic rant of the day.

  162. even faster pipes by Anonymous Coward · · Score: 0

    I bet a guy whose just downed a whole bottle of laxatives has even faster pipes!

    Anyone wanna benchmark that?

  163. God Damnit! by Anonymous Coward · · Score: 0

    I use Windows 2000 and Windows 2000 Advanced Server and I dont see what the hell everyones problem with windows is! it is fast despite what you linux lovers think. I used to use linux, also but what really pisses me off is when you people have consant battles about who's OS is better. well I tell you that I would rather double click a file and have it install and run RIGHT without haveing to compile it or worry about not having the right dependencies installed. whoops there goes a whole afternoon.. Aww damn my sound and USB mouse dont work OHH YAH! look now I get to recompile my kerel but thats no problem because I am supposed to have no life and it is fun and 31337 (hehe) to do that. Last time I restarted windows was and I say this without lying over a week ago!. and I just restarted to add more ram. I never have had windows crash as much as you say it is unstable and crappy. and when it does it comes out of it just fine. I would rather wait the extra 10th of a second for programs to load and the crash once and a long while then to deal with linux again!.

    1. Re:God Damnit! by Anonymous Coward · · Score: 0

      W00.. Tell it like it is Brotha!.

    2. Re:God Damnit! by Anonymous Coward · · Score: 0

      I crashed W2K twice today. Once it was a hard reboot, the second time it went to "The system is locked" screen and gave me a permanent hourglass. I've crashed it many times at work, too (C++ development). My friend crashed it the other day when he cancelled an install and then immediately tried to uninstall.

      Anyone who says W2K is solid is an idiot.

      Note: the above crashes happened on a variety of platforms and chips, from a PIII 800 to a 1.7 GHz P4.

      I do a lot of work with Linux, and I've never had a kernel crash. I've had X crash twice, but of course the OS stays up.

      You're right about Linux software installs, though. InstallShield needs to get something out for the KDE.

  164. meaningless by mrm677 · · Score: 1

    This is like saying "Joe Blow's toilet flushes faster than Joe Fish's toilet"

  165. Missing the point? by Futurepower(tm) · · Score: 2


    MODERATORS: I suggest you moderate the parent comment UP.

    Microsoft probably slowed pipes in Windows XP (eXtra Pain) to accomplish some purpose. Here are some quotes from the parent comment:

    'Many "enterprise" systems still use pipes on windows. Database systems in particular...'

    "I doubt SQL Server uses them (especially if they're degrading this quickly) but many of MS's competitors still do (Including IBM's DB2)."

    Of course, long-time Slashdot readers will find it hard to believe that Microsoft would do something against the common good. *grin*

    Also, the point is not that this test shows the overall superiority of Linux. It shows an example of the code quality of Linux.


    Secrecy destroys democracy: What should be the Response to Violence?

    --
    Bush's education improvements were
  166. Re:Windows has pipes? by c_g_hills · · Score: 0

    You can always download the z shell for windows at ftp://ftp.blarg.net/users/amol/zsh/zsh.exe.gz. I also have the GNU tools for windows, as well as some self-compiled extras such as dig and whois. Cygwin sucks.

  167. Re:YHBT by Anonymous Coward · · Score: 0

    You mean to tell me you CAN'T do kernel-level programming in LINUX using VB? *shock* *gasp* the whorror of it all!

  168. Read Again by crucini · · Score: 2

    He did test with a 4k buffer on NT. It was slow, so he tried the huge buffer.

  169. I'd do a windows version of slashdot, but: by darkonc · · Score: 0, Offtopic
    novody would remember the domain name.

    CColonBackSlashDot.org

    --
    Sometimes boldness is in fashion. Sometimes only the brave will be bold.
  170. Re:Performance usually the least of my considerati by eyeball · · Score: 1

    that's what they teach the stockholders.

    --

    _______
    2B1ASK1
  171. Re:Performance usually the least of my considerati by eyeball · · Score: 2

    Interesting that you automatically assumed that I was implying windows. I actually work with Solaris 60% of the time, 20% windows and 20% linux. Regardless, it would be pointless and retarded for me to argue performance, latency and resource hogging since all comparisons are subjective to individual projects. Which was exactly my point to begin with -- that often you have to look well beyond performance to the point of even making sacrifices in a business environment.

    i.e.: I would like to use the linux RPM system for software deployment, but need to make a rational decision to go with the standard Solaris Package system since my 20 system admins refuse to learn anything new. Again, these are real world realities beyond the academic/hobbyist/startup environment.

    --

    _______
    2B1ASK1
  172. Joe Schmoe Speaks Out! by Cirrocco · · Score: 1
    I couldn't give two shits about Joe Schmoe who wants to check his email and surf for porn, let him use Windows, it's not necessary for everyone to use the same operating system. Use the right tool for the job, and for developement *nix is the best tool.

    I'll take exception to that statement. It is true that I use this machine in front of me to check simple text messages and get porn much of the time.

    But it STILL beats the living dogshit out of using Windows!! Why, you ask? Because when ONE piece of the code breaks it doesn't bring down the whole fucking thing!! I can kill PIDs and get on with my day.

    I've learned a lot about computers since I started with a Compaq 5610 with Win98. I've learned how to code in Pascal and HTML (laugh at Pascal if you must but I like it!) I've come to expect GCC to be there when I need it. I like the idea of being able (and free) to screw things up as I see fit. I am proud to say that I *AM* Joe Schmoe and I use Linux! Don't tell me that it can't be used by amateurs because I know for a fact that they CAN!

    1. Re:Joe Schmoe Speaks Out! by Anonymous Coward · · Score: 0

      "Because when ONE piece of the code breaks it doesn't bring down the whole fucking thing!! I can kill PIDs and get on with my day."

      I can say the same for my copy of Windows 2000. Maybe my system is just run by an admin that bothers to tweak and make sure that their system is as stable and feature rich as they can make it.

      If my desktop crashes (and come on Gnome and KDE sometimes do too) my apps keep chugging and ussually I don't have to do anything but wait for my shell (explorer) to come back.

      If I can do it you can too. The question is do you care to? If not don't please don't blame the system for your laziness.

    2. Re:Joe Schmoe Speaks Out! by Cirrocco · · Score: 1
      Yes, Win2K Professional has some good points...most of them coming from the fact that it took from BSD code. {This sentence may also be read as: Mundie and Gates are hypocrites for using open-source code and simultaneously bad-mouthing it}

      You seem to have missed something here: my system doesn't have an admin other than myself. I use Linux at home. And, no, killing the PIDs under Win2K does not work NEARLY as well as it does under *nix.

      Yes, Gnome and KDE crash on occasion. Hell, in the year and a half I've been running KDE it's crashed 3 times!

      Sure, I can deal with Win2K. Why not? I deal with Win95 at work every day. If you want to buy a copy of Win2K for me I'd be happy to install it on my 233 MhZ PII with 96 MB RAM on an 8 GB HD. I'll be happy as a pig in shit to give up such useful tools for networking as PING and TRACEROUTE, tools for graphics such as the GIMP, tools for Usenet browsing such as Pan, tools for development such as GCC, and pay thousands to Microsoft and Adobe instead to get buggy bloated code from hypocrites.

      In a pigs ass. I'll give up my Linux box when they pry my cold dead hands from it!

      Win2K is a good operating system. Linux is better. So don't simultaneously hand me statements saying, "Linux isn't user friendly" AND"Don't blame the system for your laziness" Maybe you think you stand to make a profit from saying all this but it won't be from me.

  173. Re:Performance usually the least of my considerati by tom's+a-cold · · Score: 1
    I'm an architect too, though for a smaller company (also a not-dot-com, and still growing).
    - Available human resources: do we have developers that know x technology. If not, how available are they?

    This is a good one, well worth considering. But following your policy without looking ahead would mean that we'd all still be doing COBOL or 360 assembler. So you also need to make strategic choices about your technical direction, not just follow the pack.
    - Business: are there any benefits to adopting a certain technology, such as existing or potential partnerships? i.e.: existing support contracts, brand name recognition

    Sounds unlikely that brand name recognition has any place in product selection. Existing contracts might matter if those contracts were entered as the result of architectural choices rather than golf-course deals. Otherwise you're throwing good money after bad by expanding existing relationships with suppliers who aren't meeting your requirements.
    - Liability: is there someone to blame when things go wrong? (like it or not)

    Most legal departments will inform you that software licenses are constructed so that suits of this nature are very hard to win. Not a good consideration. Anyway, the net result of this policy is to exclude open-source software, some of which is technically superior and better-supported than commercial competitors, and with demonstrably better ROI.
    - Scalability: can the adoption of a technology come with a guarantee that some aspect of performance doesn't hit a brick wall?

    This matters in instances where the application might need to scale. But there are a number of instances within a business where that might not happen, and in those cases, scalability is less important.

    I think there's a simpler rule: if there's a business need for performance, implement a system that delivers that performance and will continue to do so within anticipated system growth. If you follow this rule, there will be instances where performance certainly will matter. Benchmarks like these are important for those instances.

    --
    Get your teeth into a small slice: the cake of liberty
  174. Oh you are one of those? by Malcontent · · Score: 2

    "- Liability: is there someone to blame when things go wrong? (like it or not) "

    I am sure there exists in some business school or some corporate brainwashing seminar or maybe a crack den someplace where people are told that they can hold software manufacturers responsible for crappy code. What frightens me more then anything else of course are CIOs (or perhaps some middle level drones such as yourself) actually make decisions based on this premise. One presumes of course that they are not only willing to bet the company on such a shaky understanding of reality but are also willing to go to court and sue MS because the server crashed.

    So do me and all the other slashdot readers a favor and tell us the company you work for. I for one want to make sure I don't own any stock in a company that has such stupid management. I certainly want to avoid investing in companies that are willing to waste their shareholders money trying to sue Microsoft or Oracle. Besides it will be awfully embarrassing when the court documents show that not one person in the IT dept ever read a EULA.

    --

    War is necrophilia.

  175. Yes, but with braindead limitations by jtra · · Score: 1
    you just use WaitForObject() or WaitForMultipleObjects() on EVERY type of handle.

    Oh, don't forget that WainForMultipleObject have hard limit of 64 maximum objects to be wait at once. So it is useless for web servers, you need then to use the threads anyway to be able to work with multiple clients. Linux's select is better for this.

    --
    -- Wanna textmode user interface for ruby? http://freshmeat.net/projects/jttui/
  176. Re:Performance usually the least of my considerati by RandomPeon · · Score: 2

    i.e.: I would like to use the linux RPM system for software deployment, but need to make a rational decision to go with the standard Solaris Package system since my 20 system admins refuse to learn anything new. Again, these are real world realities beyond the academic/hobbyist/startup environment.


    Then you're not doing a good job explaining the benefits of RPM to them, or you have people who will fossilize when their preffered solution for a particular task becomes obsolete. I'm always amazed at people who let these considerations completely outweigh technical issues. At the point where solely internal politics forces you to choice something you believe is inferior, you have a problem.

  177. I actually find this study useful... by Tord · · Score: 3, Insightful

    I see a lot of comments here bashing the article for not giving the whole picture and you're right, it doesn't give the whole picture, but neither was it intended to.

    As a programmer doing cross-platform software development I find it interesting and useful. What I want to know is that if I use pipes for IPC, how does it affect performance on the different platforms? I'm not interested in any additional features of Microsoft's implementation of it, because in my project I just want an easy, simple and fast way for cross-program communication that works very similarly on all platforms.

    When I wrote BladeEnc I envisioned that the pipe-support I included in around 0.80 would be useful for using BladeEnc in for example realtime recording applications. Now I know that solution would give quite some performance penalty on WinXP systems and thanks to the detailed graphs I also know better how to tweak the size of the chunks I send/receive to gain some performance.

    Take this article for what it is, a guiding light for software developers that helps them to write better and more efficient applications. It was written by a programmer for programmers (it's on developerWorks) and doesn't make any claims to be a valid benchmark between the platforms in general. It just shows what performance you can expect on different platforms if you use pipes in the most simple way for IPC, combined with different chunksizes.

    1. Re:I actually find this study useful... by Jage · · Score: 1
      I hate to write a "me too" post, but I couldn't agree more. Moderators, above post is worth +5 Insightful.

      We need more articles like this, they give insight for both application programmers *and* kernel developers.

  178. What school are you from? by Weasel+Boy · · Score: 1

    CS professors would never say "just make it work." But they wouldn't want you to strive for elegance, either. The job of CS professors is to churn out immeasurable numbers of the mindless Java programmers that the industry wants, solely so that the school can claim "Look! 94% of our graduates got a job!" and lure in more future drones.

    No university I ever went to did that. In my CS classes, elegance was highly valued. Students were taught problem-solving techniques that could be applied to any language. Students were encouraged to develop a deep understanding of algorithms and data structures and orders of complexity. Projects were implemented in languages with greater pedagogical than commercial value. Many students bitched about this, but it pays off big when someone wants to hire them to program in a language nobody has ever heard of before.

    I don't know where you draw your examples from; the hypothetical recent grad you described never would have passed any of my CS classes, and would never have been hired by any of my employers.

    1. Re:What school are you from? by Anonymous Coward · · Score: 0

      That's crap and you know it. In school the only thing that matters is wheter you pass or not. Even teachers are valued this way...

  179. Re:Biznatch! by Anonymous Coward · · Score: 0

    the problem is there are lots of people who are attracted to those who won't ever have sex with them, and who are unwilling to settle for less attractive partners. for these people sex is a nervous, scary endeavor where they are very vulnerable and sensitive. this kind of sex is indeed overrated. "doing it right" is beyond these peoples' reach, sadly.

  180. My New Paper by Anonymous Coward · · Score: 0

    I'll be comparing which is cheaper, Linux or Windows...Oops...I'm done...Linux.

  181. My gripe with him is.... by maroberts · · Score: 1

    Afetr thinking about this I decided my gripe is that he's a "bottom up" benchmarker rather than a "top down" benchmarker. I personally like to see comparisons of how good a system is performing a specific task, and if the performance of that task is substantially below or above the run of the mill standard, some follow-up analysis to determine where it makes its gains/losses.

    Say what you will about the MindCraft benchmarks, one result of them was a hefty rewrite of the Linux TCP/IP stack for 2.4 'cos this was revealed as a major system bottleneck. I'm not sure that the Bradford benchmarks are going to achieve the same thing, unless he follows up his simplistic benchmarking with better analysis of his results.

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

  182. Pipes are a bad form of interprocess communication by Animats · · Score: 2
    There's a basic problem in the interprocess communication business. What you usually want is a subroutine call, but what the OS usually gives you is an I/O operation. Mapping one to the other ("marshalling" and "unmarshalling") is inefficient.

    What's needed is the ability to call a method of an object in another address space. CORBA (and DCOM) support this, but it's inefficient, because the mechanism in the middle is a pipe or socket. (Or protection is bypassed entirely, which is a common non-solution.)

    Specifically, what's needed in the OS and hardware is the ability to call across a protection boundary. Every system call does this. The mechanism behind system calls needs to be generalized to support arbitrary inter-object calls.

    This has been implemented a few times, most notably in Multics protection rings, but there's usually a hierarchy involved. The call system supports safely calling objects with more privileges than yours, but doesn't generalize.

    QNX, the most successful commercial microkernel, works a lot like this. There's more copying involved than one might like, but it works fine. With better hardware (some minor mods to Pentium call gates would do it), such calls could be very low cost.

    What would this all mean? CORBA without the overhead. Fewer monolithic systems. Collections of components more reliable than the individual components, like clusters. Stuff that worked.

  183. Those who can count and those who can't... by Superkind · · Score: 1

    The posting says "both Windows and Linux and UNIX". Both?

    --
    (In desperate search for a cool /. sig.)