Slashdot Mirror


PPC Linux vs. Mac OS X Server: Linux Edges Out

Spencerian writes "Mac OS X is a very promising new BSD variant, but how does it rate as a server? Byte.com writer Moshe Bar has made an extensively balanced performance comparison of Mac OS X Server 10.1.5 versus SuSE Linux PPC with the 2.4.19 kernel. Both operating systems ran on the same hardware: an Xserve 1U rack mount server from Apple. While /.ers may guess (correctly) at his results, Mac OS X Server 10.1.5 wasn't as far behind the curve as you might think. Performance might've been better if Moshe had Mac OS X Server 10.2, with its faster GUI and other enhancements, but still, it appears that Mac OS X Server 10.1 was doing pretty good for a 1-year old."

376 comments

  1. OSX vs Linux by Anonymous Coward · · Score: 0

    I think they are comparable in speed.
    Personally, I would go for FreeBSD and Solaris, but anyway.

  2. Wouldn't it make more sense... by Anonymous Coward · · Score: 3, Interesting

    to compare, say FreeBSD vs. OS X?

    1. Re:Wouldn't it make more sense... by Anonymous Coward · · Score: 1, Funny

      because its like comparing a red apple with a green apple so when compared with linux, linux is more like a watermelon; Big, Sweet, and is red and green already.

      oh okay so I'm hungry, oh well

      -5q33z

    2. Re:Wouldn't it make more sense... by enigmiac · · Score: 1

      wouldn't it make more sense to test OS X vs. Linux on Intel, on which it was originally developed?

    3. Re:Wouldn't it make more sense... by benedict · · Score: 3, Interesting

      It depends what you're trying to measure. If
      you're looking to see which overall solution has
      more bang for the buck, then sure. But the author
      was probably aiming to compare operating systems,
      in which case using different hardware would
      introduce a raft of unrelated variables.

      --
      Ben "You have your mind on computers, it seems."
    4. Re:Wouldn't it make more sense... by enigmiac · · Score: 1

      well, then shouldn't they have used yellow dog, which is tweaked to run specifically on Mac's?

      I could be wrong, tho

    5. Re:Wouldn't it make more sense... by benedict · · Score: 2

      Yeah, that would make sense.

      --
      Ben "You have your mind on computers, it seems."
    6. Re:Wouldn't it make more sense... by baptiste · · Score: 2
      What would have made sense was to compare the latest Mac OS X offering (10.2 Jaguar) with 2.4.19 which is the latest Linux kernel. Using 10.1.5 put the Mac at a disadvantage. Significant changes were made performance wise for Jaguar. As someone who deals with both Linux and Mac OS X, this review is useless because 10.2 is significantly changed from 10.1.5.

      Redo the review using the latest released OS for BOTH platforms and I'll find it worth my time.

    7. Re:Wouldn't it make more sense... by neuroticia · · Score: 1

      Because, then Mac fanatics would freak out, start running around in circles, and chanting "Mhz is just a myth, just a myth.." then, upon realizing that they're both running on the same hardware with the same chip, and all that's different is the OS, they'd spontaneously combust, because Apple can do no evil.

      Or not.

      Yellowdog would have made much more sense. Hey- they're Apple resellers. Somehow I think you're more likely to encounter Yellowdog Linux on a XServe than SuSE. I don't know anyone who uses SuSE on a PPC. Yellowdog seems to be the champ, followed by Mandrake, etc.

      -Sara

    8. Re:Wouldn't it make more sense... by enigmiac · · Score: 1

      wouldn't it be cool to watch? people's heads exploding and such.

      mmmm, Mandrake. I would love it if I didn't hate it so much.

  3. Grammar by Anonymous Coward · · Score: 3, Funny
    Mac OS X Server 10.1 was doing pretty good for a 1-year old


    And "was doing pretty good" is written pretty well for a ten-year-old.
    1. Re:Grammar by jericho4.0 · · Score: 1, Troll
      And posting to correct grammer or spelling (as an AC or not) is for those 8-year olds that think they have something to add.

      What do you call a white guy who only speaks one language? American.

      Not everyone has gone got an english education.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    2. Re:Grammar by Anonymous Coward · · Score: 0

      Shit, man, it's an obvious troll. I (the author) am as surprised as anyone to see it modded up. Hell, that's more mod points than any of my legitimate comments have received. Combined. I wish I'd taken credit for it, now.

    3. Re:Grammar by rseuhs · · Score: 3, Insightful
      Apart from grammar mistakes, the conclusion is also completely wrong.

      MacOSX is over 10% slower in most test, that sure as hell is not pretty good. That's bad, very bad.

      Especially if you realize that PPC is MacOSX' major (in fact the only) platform, while for Linux it's just a minor platform that receives not nearly as much attention as for example x86.

      And I guess you could still squeeze out some performance gain if you use a source-based distro like Gentoo.

    4. Re:Grammar by Grahf666 · · Score: 1

      It's really too bad that the test didn't use Mac OS 10.2, instead of 10.1.5. Sounds minor, but the performance increase in 10.2 may have closed that 10% gap pretty well.

    5. Re:Grammar by wealthychef · · Score: 1

      To my knowledge, and someone WILL correct me I'm sure, OS X 10.2 did not include any improvements in I/O, networking, or virtual memory, which were the major issues raised by the original article. So it probably wouldn't have made much difference to the article which version he used. I say, Apple, get off your ass. You want to be taken seriously as a server? Make this kind of issue a priority.

      --
      Currently hooked on AMP
    6. Re:Grammar by khuber · · Score: 1
      I think that is excellent performance at this point. There's a lot more complexity having Mach, BSD, and I assume still significant parts of NextStep, than having one monolithic kernel.

      -Kevin

    7. Re:Grammar by swv3752 · · Score: 3, Informative

      Also too bad that he compiled everything with gcc 2.95 and not 3.2.

      --
      Just a Tuna in the Sea of Life
    8. Re:Grammar by Anonymous Coward · · Score: 0

      What sort of self important, sad, little git jumps on someones arguement because of a grammatical error? If you couldn't think of a point related to the story, shut your mouth. Did you actually think people wanted to hear from you so badly that you had to say something, even if it was utterly pointless - kind of like you.

    9. Re:Grammar by jneemidge · · Score: 2, Informative
      You're right -- someone will correct you. 10.2 does in fact contain major changes to the kernel, including updated I/O, networking, and VM. 10.2.1 includes further performance improvements (to the level that 10.2.1 is visably, noticably faster than 10.2, which is in turn faster than 10.1.5).


      One part of the improvement in 10.2(.1), though not all of it, is that the majority of the system is built with gcc 3.1 instead of 2.9.5. According to most sources (including the gcc team themselves), 3.1-generated code is roughly 6% or so faster than 2.9.5-generated code. Apple has made quite a number of performance improvements in gcc as well, which fold into code built for 10.2.

  4. 403 Forbidden by Ed+Avis · · Score: 5, Funny

    'You have requested data that the server has decided not to provide to you. Your request was understood and denied.'

    Wow, a self-aware server that _understands_ the Slashdot effect. I wonder if it is part of their mythology.

    --
    -- Ed Avis ed@membled.com
    1. Re:403 Forbidden by Anonymous Coward · · Score: 0

      nice use of the '_' char

    2. Re:403 Forbidden by inputsprocket · · Score: 2, Funny

      What, you mean like Marvin? :D

    3. Re:403 Forbidden by Anonymous Coward · · Score: 0

      The article is no longer down.

    4. Re:403 Forbidden by Anonymous Coward · · Score: 1, Informative

      [ posted anonymously to avoid karma whoring ]
      Comparing Apples and Penguins
      (Comparing Apples and Penguins: Page 1 of 1 )
      By Moshe Bar

      Last month, I described my romance with Mac OS X as a near-perfect environment for the desktop, and/or laptop. The harmonious combination of Apple GUI know-how with Unix (FreeBSD) for stability, security and efficiency are too sweet for geeks from all walks of life. I continue to use Apple laptops (I now have both the iBook and the Apple G4) for my writing, teaching and speaking activity. We received tons of reader's email here at Byte.com in response to that column. Too many to be named here rightly corrected me: Contrary to my first impression, there is indeed a package manager for OS X. It's called Fink and you can find it on www.sf.net/projects/fink. It also turned out that the Jaguar version I had received was a pre-release CD which contained only the 2.95 gcc compiler, though many reported that the 3.1 version of the same compiler was installed by default, as well. Apple quickly reacted by sending me the released version of Jaguar and, in fact, both compilers are present.
      As good as Mac OS X is for desktops and laptops, one wonders if the FreeBSD inside is not too restricted by the Apple jacket around it to also make for an efficient, secure and fast server OS. Apple is now busy convincing the world that Apples make also for excellent server appliances in the handy U1 format, thanks to OS X. That new product is called Apple Xserve. Many potential buyers are, however, asking themselves if OS X--given its recent introduction--is ready today to handle their critical apps.
      That's why I decided to take one of these sleek Xserve boxes and test run it both under OS X and under Linux. I was loaned an Xserve for a week by a geek friend of mine over at a very large ISP. That machine came with Dual 1Ghz PowerPC G4 and 1 GB of Ram. I installed OS X from scratch on it using the CDs that come along with the product. The resulting OS after the install has version 10.1.5. The included AGP 4X card with 64 MB of dedicated graphics RAM is a screamer. The dual CPUs in the system push out an impressive 15Gflops floating point power. Alas, apart from High Performance Clustering applications, relatively few people are going to take full advantage of it. The integer and memory bandwidth performance, however, is at least up to par with the latest IA32-based U1 servers out there. Obviously, I was not going to make use of the graphics card. I didn't bother trying to configure it under Linux because, after all, I tested this machine for server performance.
      I used the SuSE PowerPC Linux distribution for the second part of the test under Linux. Linux installed effortlessly and was happy to use all of the hardware found in the Xserve.
      The Test Environment Next to the obvious Apple Xserve, I set up 4 clients on the same 100mbit network, switched by the excellent Linksys 24port 1000/100/10 switch that powers most of my network in my home lab (for the LinkSys EF24G2M-10/100 EtherFast Dual Gigabit Switch 2-port 1000BaseTX see www.linksys.com).
      The 4 clients are all IBM Netfinity 5100 or 3000 machines running Linux 2.4.19 with my openMosix clustering extensions to automatically load-balance the requests thrown at the Xserve server. The four machines can easily saturate a fast server on a good switched network.
      Next, I set up exactly the same server environment both under Mac OS X and under Linux with the 2.4.19 kernel. I always made sure to use the same version of the server software both under OS X and Linux, each time re-compiling the binaries from source locally with the 2.95 gcc compiler, which is available on both platforms. The compiler itself was also locally re-compiled, taking all reasonable optimizations into consideration.
      Since for the life of me I couldn't figure out how to shut down the GUI environment of OS X, I configured a simple VGA X server for Linux and started KDE, just to have a fair basis for comparison.
      I ran tests against networking (Sendmail and MySQL tests), process build-up and tear-down (the cgi tests) and against the VMs (all tests combined, under memory shortage).
      For the static html benchmark, I wrote a simple html page just displaying "hello, world." For the dynamic pages, I wrote the CGI handler in Perl. The Perl used was 5.8.0 for both environments. Here is the sample cgi handler:
      package Apache::Bench;
      sub handler {
      my($r) = shift;
      $r->content_type('text/html');
      $r->send_http_header();
      $r->print('Hello, world ');
      200;
      }

      For the MySQL part, I set up a MySQL database with 30 million addresses generated by a simple filler Perl script before the benchmark. Then, I repeatedly let the clients run a series of transactions against it. I downloaded MySQL 3.23.52, skipping the harder-to-compile 4.0.x series, recompiled it locally under both OSes, then configured it with the following parameters:
      [mysqld]
      big-tables
      skip-locking
      skip-name-resolve
      skip-networking
      set-variable = max_allowed_packet=1M
      set-variable = thread_stack=128K
      set-variable = back_log=256
      set-variable = key_buffer=30M
      set-variable = table_cache=64
      set-variable = sort_buffer=5M
      set-variable = record_buffer=5M
      set-variable = max_connections=4000
      set-variable = join_buffer=5M
      skip-thread-priority

      For the mail handler, finally, all involved clients in the LAN were sending MIME-encoded attachments (I chose a small size of 8.5 KB to stress the MTA more than the network) to a 4.9 KB message. Sendmail was the standard 8.12.6 version available from the sendmail.org site, rebuilt for each OS. No special tuning was done and no anti-spamming measures were enabled. There was just one mail queue under both OS X and Linux, and the Sendmail-typical load-adaptive throttles were disabled to make use of the full bandwidth and system power. There is an excellent howto on enabling the native Sendmail 8.12.2 of OS X 10.1.5 here. I did however, as mentioned previously, compile my own Sendmail 8.12.6.
      Needless to say, setting up the server environment was considerably easier and faster. Linux, with all required sub servers, was ready in about 3 hours of work, whereas a long day passed before I had my OS X ready to go.
      For the web server tests, I downloaded Apache 2.0.39 and recompiled locally with the proper libraries. Just to avoid unnecessary lstat() system calls, I turned on FollowSymLinks and turned off SymLinksIfOwnerMatch. The SendBufferSize was increased to the size of the static page I used for this test. To make sure the page size is bigger than a TCP packet and also bigger than a virtual memory page, I made it 4050 bytes. Both OS X and Linux use 4 KB VM page sizes.
      I ran the following Perl program on the four clients each getting a different file, while I placed the virtual memory of the server under stress to cause the cache contents to be deleted as much as possible. Here is the Perl stress test program:
      #!/usr/bin/perl

      $counter = 0;
      $seconds = 2;
      $html = " ";
      $args =
      ("wget", "http://192.168.1.1/index1.html");
      $time1 = time;
      $check = $time1+$seconds;
      print "strtd at", time, "\n";
      while (time != $check) {
      $html = system(@args) or die "wget failed hard with $?";
      $counter = $counter +1;
      }
      $time2 = time;
      print "ended at", $time2, "\n";
      print "for ", $seconds, " seconds. \n\n";
      print "got ", $counter, " pages from server \n";
      [root@moshe1 temp]#

      In the end, I was quite pleased with the set-up. Again, all this is far easier and faster to do under Linux than under Mac OS X, but it can be done on both platforms given enough time.
      The Results
      Since this is not a scientific benchmark, I am quite sure your results will wary from mine. Also, note that this benchmark was done without prior consultations with either Apple or SuSE, so surely there are tons of tuning parameters for both operating systems that I simply didn't know about. Also, one should consider that the FreeBSD used in OS X is quite an old version (version 3.2, while FreeBSD just released 4.7), and that the Linux kernel has experienced a fantastic growth in performance over the last year, especially in the VM area.
      The results should therefore be understood as a general indication of the behavior of a particular OS when checked against the other, and not as a quality rating. All tests were run 10 times and I then averaged the results.
      Having said that, let's look the Apache results:

      URL OS X 10.1.5 Linux 2.4.19 http://server/index.html 6127.2 reqs/second 7283.7 reqs/second http://server/cgi-bin/perl.cgi 624.1 reqs/second 703.5 reqs/second
      From these results one can assume the VM and network stack of Linux to be superior to OS X. It could also be that the page reclaiming algorithm is simply smarter in Linux than in OS X.
      For MySQL, I did much the same thing, with a Perl script running heavy SQL statements against the database. Here are the results:
      OS X Execution Times
      Operation Seconds
      alter_table_add 212
      alter_table_drop 118
      connect 2
      count 39
      count_on_key 721
      create+drop 4
      create_index 31
      insert 12
      order_by 187
      order_by_key 65
      select_distinct 38
      update_with_key 119
      Totals 1648

      Linux Execution Times
      Operation Seconds
      alter_table_add 197
      alter_table_drop 108
      connect 2
      count 15
      count_on_key 607
      create+drop 6
      create_index 22
      insert 8
      order_by 89
      order_by_key 91
      select_distinct 32
      update_with_key 76
      Totals 1253

      These results really surprised me. It seems OS X has a poor I/O subsystem as compared to the Linux subsystem.
      For the Sendmail results it is important to state that Procmail was unused on both systems. In order to let Sendmail wait less for I/Os, I also deleted the fsync() system call, which forces the full writing of each message on the file system. By deleting that system call from the sources, I let Sendmail defer the actual writing of the inode of each message to a later point in time. This is, obviously, against the RFC and should not be done in production-grade MTAs. Once you eliminate the fsync() call, more RAM will nicely scale up the number of emails being handled, which in turn better reflects the performance of I/O caching in the OS.
      OS X Linux
      Incoming Emails 816 mails/second 941 mails/second Mail Relaying 581 mails/second 609 mails/second
      Here again, Linux seems clearly superior to OS X for all VM-intensive operations.
      To go that extra mile, I then ran all these tests combined. Obviously all values were much lower and it is not the issue here to actually measure them. What, however, was much more interesting were values like load level, interrupts handled per seconds and context switches per second. For this final benchmark, I ran the Apache/MySQL/Sendmail tests at the same time, waited about 20 minutes after starting, recorded the results over a 2 hour period, and finally calculated the average:
      OS X Linux
      Average User-Land Runnable Processes 263 272
      Average Idle Percentage 0.3% 1.1%
      Average Context Switches (per second) NA 10212
      Average Free Pages NA 890
      Average Interrupts (per second) NA 9281
      Average Blocks Out (per second) NA 2008
      Average Load Level 27.1 26.2
      Average Swapped Set Size 421 MB 102 MB

      Sadly, I couldn't find any way to get decent system information from OS X. Things like interrupts or context switches per seconds are important indicators for a sysadmin. If there is no easy access to them (I am sure the kernel itself maintains these counters) how is the sysadmin supposed to see if the server is under- or over-utilized? This is a real shortcoming and Apple better introduce some way to monitor the system if they are serious about being in the server market.
      Conclusions Well, for a newcomer to the Unix market, I am actually surprised at the very decent results and stability of OS X. I experienced no crashes under both operating systems, which comes as no surprise to Linux users. For Mac users, however, this is by itself already a big improvement over previous operating systems for the Apple. The fact that OS X needs to improve in VM and I/O handling is understandable given its relatively young age. After all, Linux has had more than ten years to get where it is today, and even that is not much by OS standards.
      The Xserve's floating point performance is superior to many other solutions out there, and that alone makes it an excellent choice for clustering environments. But if all you are looking for is a server for your standard Internet or Intranet applications, then I see a problem in justifying the high price tag of the Xserve ($4000 for the configuration used in this test) for something that you can do faster, easier and cheaper on one of the many different products in the IA32 space.

      Moshe Bar is a systems administrator and OS researcher who started learning UNIX on a PDP-11 with AT&T UNIX Release 6, back in 1981. Moshe has a M.Sc and a Ph.D. in computer science and writes UNIX-related books.

  5. It's a good thing (and not just because Linux won) by GreatDave · · Score: 5, Interesting

    This goes to show that Mac OS X Server does compare very well to other Unices (okay, Unix-LIKE systems) in terms of performance. With its preeeety GUI anemeties, OS X Server could be just the stepping stone we need to get more admins to switch over from M$.

    Now let's see OS X Server kill, er, compared to Windows 2000/.NET... Run, Bill, run! :P

    --
    "I am root. Bow before me." To this I say, "You are root, and you bear the sins of the world upon your shoulders."
  6. Why? by chrisseaton · · Score: 1

    Why would you want to run MacOS X as a server? Why not simply run the Darwin core on it's own. As I understand all MacOS X does is add a GUI to this core, so what does that add in a server enviroment? It's not even as if you could use the GUI remotely, like with X.

    1. Re:Why? by Halo1 · · Score: 4, Informative

      Mac OS X adds both local and remote GUI admin tools, which are quite good.

      --
      Donate free food here
    2. Re:Why? by Anonymous Coward · · Score: 3, Funny

      because the server adds some very nice remote configuration and management tools. and dammit, i like pretty.

    3. Re:Why? by GreatDave · · Score: 2, Interesting

      Because "paper MCSEs" are trained to admin with a mouse, and need to be shown the light.

      OS X can be a stepping stone either to Darwin alone, BSD in general, or Unix in general (NB: That includes Linux.)

      --
      "I am root. Bow before me." To this I say, "You are root, and you bear the sins of the world upon your shoulders."
    4. Re:Why? by zaren · · Score: 2, Insightful

      One word comes to mind:

      NetInfo.

      --
      Come to the University of Mars! Classes starting soon!
    5. Re:Why? by Penguinoflight · · Score: 2

      No dude, for remote GUI stuff Xwindows is much better than Aqua, and everything else.

      --
      "And we have seen and do testify that the Father sent the Son to be the Savior of the World"
      1 John 4:14
    6. Re:Why? by Anonymous Coward · · Score: 0

      If someone knows how to run a remote X session from or to OSX I would like to know how. Been stuck with an OSX box the boss bought, not been impressed with it yet. (running the network on redhat 7.3 (RH 8.0 not doing much for us either))

    7. Re:Why? by akac · · Score: 1

      He's not saying that OS X adds Aqua that makes it better...it has nothing to do with XWindows or Aqua. What he's saying is that the GUI tools that come with OS X server ROCK. It doesn't matter what GUI it uses, just that the tool itself rocks.

    8. Re:Why? by Halo1 · · Score: 1
      To run a remote X session on the OS X box:
      1. Install Mac OS X version of Xfree86 4.2.x
      2. Start it (start the application XDarwin from the Applications folder)
      3. Do one of the following
        • ssh -X login@remote_box from within one of the opened XTerms
        • setenv DISPLAY :0; ssh -X login@remote_box from within Terminal
      4. start the X application remotely
      Now what's so different with regards to any other *nix box?

      I don't know the exact steps you have to take to remotely run an X session on the OS X box, but at least one thing you may have to do is to enable X11Forwarding explicitly in /etc/sshd_config.

      Finally, kep in mind that you *cannot* run Aqua apps remotely using X11.

      --
      Donate free food here
  7. Still wondering... by csnydermvpsoft · · Score: 3, Interesting

    Why do you need a GUI on the server anyways? All it does is waste cycles.

    1. Re:Still wondering... by Anonymous Coward · · Score: 4, Informative

      You are not required to run the GUI in Mac OS X.

    2. Re:Still wondering... by Jobe_br · · Score: 5, Informative

      Not really. As in most Unices, if the GUI is not being interacted with, it isn't eating up any cycles, either. The scheduler just puts it to sleep, awaiting an event (interaction).

      Having a GUI on the server allows for simpler administration. Many folks that I know, that don't have a GUI on their server, also don't have a disply. Yet, they use VNC to more easily administer the server - or something like webmin or linuxconf in HTTP mode. Either way, you're still running a GUI.

      Of course, console based administration is fine, too - but, Apple is about making things simple, even if you weren't raised a systems administrator. And contrary to Microsoft, their definition of "easy" doesn't correlate with the level of insecurity the system has.

      Cheers.

    3. Re:Still wondering... by poot_rootbeer · · Score: 2

      Man, true.

      I also wonder why a 'faster GUI' would have any impact on server performance.

    4. Re:Still wondering... by dhovis · · Score: 5, Informative
      Yeah, I know. I just checked top on my iBook and it told me that the WindowManager has consumed 2 minutes of processor time since my last reboot 6 days ago. SystemUIServices has used another 2.5 minutes.

      I mean, thats like .04% wasted processor cycles.

      Note to the clueless, the GUI doesn't consume much processor time if nothing is writing to the screen.

      --

      --
      The internet is the greatest source of biased information in the history of mankind.

    5. Re:Still wondering... by John+Hasler · · Score: 2

      > ...or something like webmin or linuxconf in HTTP
      > mode. Either way, you're still running a GUI.

      Not on the server.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    6. Re:Still wondering... by zulux · · Score: 5, Funny

      Yet, they use VNC to more easily administer the server - or something like webmin or linuxconf in HTTP mode. Either way, you're still running a GUI.

      Reminds me - I have a FreeBSD box that I'm too stupid/time-burdened to get X running on it's crappy video card. But it serves up a GUI over VNC just fine.

      I have another FreeBSD box that doesen't *have* a video card, and, of course, it servers KDE over VNC just fine. When I show it to MCSE types - theh sit there and stare. "b..b..but... I doesen't have a video card! How does it do that?"

      Fun to play with their little minds.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    7. Re:Still wondering... by IamTheRealMike · · Score: 4, Interesting
      Having a GUI on the server allows for simpler administration.

      Why bother having a GUI itself, when there's no display? Why is this better than having some admin apps that use X, so use the display system of whatever computer you happen to be at, as opposed to running a GUI that will mostly not be seen.

      Of course, console based administration is fine, too - but, Apple is about making things simple, even if you weren't raised a systems administrator. And contrary to Microsoft, their definition of "easy" doesn't correlate with the level of insecurity the system has.

      Not sure I can agree with that. Microsofts systems except in a few rare cases are not really inherantly insecure, the insecurity comes from the fact that untrained people are acting as admins, and don't really know what they're doing. So they forget to update, they run more services than they should, and so on and so forth.

      I don't believe a GUI, regardless of which megacorp made it, can replace proper training. If anything OS X Server will kind of have the same problem, as people will say "ah, if I use MacOS I won't have to think" - oops, that extra service you were running just got rooted.

    8. Re:Still wondering... by FatherOfONe · · Score: 5, Informative

      Great question, and one the Novell NetWare guys keep asking. My answer is that if you have a shop of NT, Linux, Unix, Macintosh and NetWare, you will have to know the commands for each one. This can be a pain to do, so what normally happens is that you get someone who becomes an "expert" with one of those systems. Then comes in someone like Microsoft and says how much money they will save by "Standardising" on one NOS.

      The other issue is that if some MCSE type is not comfortable at all working on another platform then they will ALLWAYS recommend a Microsoft solution. If they walk up to a system and it has a GUI that is similar to Windows and they can do their job, they tend to be more open to using that technology. I believe that this describes a lot of people, in that they don't want to spend a lot of time learning something totally new.

      I was a Novell/Microsoft guy who decided to give Linux a try about two years ago. I found the migration easy. I used the GUI as a crutch until I could learn the command line equivilant, and found Mandrake and RedHat tools very easy to work with. Without the GUI I would still be pushing NetWare and Windows. To be honest probably Windows...

      Lastly, I have converted most of our business over to Linux now... It has run great. I do miss a good directory service and the ability to add disk space to a volume on the fly (yes I know about LVMs, but most distros don't default to it) oh yeah and a good free equivilant to Groupwise/Exchange server.

      --
      The more I learn about science, the more my faith in God increases.
    9. Re:Still wondering... by SuperDuperMan · · Score: 2, Informative

      At least those services are not turned on by default on OS X. On Microsoft OSes you would havea default install with an HTTP server, FTP server and other services and they would get installed and started with default passwords and all. Some users wouldn't even realize they were running a web server and ftp server until their system was hacked.

    10. Re:Still wondering... by Dog+and+Pony · · Score: 2, Insightful

      That is just so much bullshit. Windows does not automatically install HTTP or FTP servers, or anything like it. You have to specifically request that when installing.

      Granted, what you get when you do request it (IIS) is crappy to administrate and has the worst security record ever, but it is not installed by default. And when you have installed it, it does not start by itself. It does not come with "no pasword". Etc.

      That is just something I can only assume that whiny youngsters said to their parents/professors/whoever that was really mad when the computer got hit by some virus. Maybe you are one of those, covering your *ss still?

      On a side note, last I tried Mac OS X, it did by default install (and maybe even start?) an Apache server. But that was a long time ago, and it may have been a beta release.

      The real fact is that if Apple was as hated as MS, they would have as many exploits, and that probably goes for Linux. Or maybe it is that noone would pay that insane money for a machine that can't play their games just to see how it could be rooted...

    11. Re:Still wondering... by Anonymous Coward · · Score: 0

      More like 0.02315%

    12. Re:Still wondering... by glwtta · · Score: 2

      No one to this day has been able to convince me that there is something more "simple" than a shell. Seriously, you just type text in on one line - what can possibly be "simpler"?

      --
      sic transit gloria mundi
    13. Re:Still wondering... by Anonymous Coward · · Score: 1, Insightful

      Windows does not automatically install HTTP or FTP servers, or anything like it. You have to specifically request that when installing.

      Guess you haven't installed a copy of Windows 2000 Adv Server.

      The real fact is that if Apple was as hated as MS, they would have as many exploits

      No, because Apple actually gives a rats ass about it. The are reasonably quick about fixing expliots, as opposed to dragging their heels for months after they've been warned until an exploit is actually floating around (and sometimes even longer that).

    14. Re:Still wondering... by Computer! · · Score: 5, Interesting

      Try typing instructions into the steering wheel of your car, and see how well that works out. Maybe you could get a printed list of items inside your fridge, and after executing other commands to find out the expiration date, and how much of the item was left, you could type the name of the item, and it would appear. OR, you could just reach in and grab the milk and smell it. LIFE HAS A GUI FOR A REASON.

      --
      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
    15. Re:Still wondering... by BeeShoo · · Score: 2, Informative

      A default install of Windows 2000 (Server or Pro) installs IIS. Meaning, if you don't do a custom install (which would be close 100% of non-admin-type installs), you're going to have IIS and all of its default subcomponents installed. You don't have to request anything.
      Windows NT 4 (or lower) does not install IIS by default (in fact, it requires a separate CD, the NT Option Pack).
      I don't know what the defaults for XP are. But, the point is, if you're talking about W2K, the parent post was absolutely NOT bullshit.

    16. Re:Still wondering... by Onan · · Score: 3, Insightful

      Yeah, totally. What could possibly be easier than remembering 2211* commands off the top of your head, without having any reminder of their name, location, syntax, or dependencies at the time? That's of course ignoring the added simplicity of remembering shell aliases, your current directory, all your environment variables, invisible key bindings, context-sensitive tab completion, symlinks, named pipes, libraries, permissions...

      Hey, I use a shell ten hours a day, I'm not disputing that there are very many things for which it's a fantastic tool. But carefully selecting how you measure "simplicity" in this way is just being gratuitously obtuse.

      *items in my current path on my primary linux box

    17. Re:Still wondering... by Dog+and+Pony · · Score: 2

      Since I've run w2k and installed several machines the past three years, I know you are bullshitting me too, now. Nice try.

      I don't know about XP either, and God willing, I'll never have to.

    18. Re:Still wondering... by quasi_steller · · Score: 1

      I wouldn't be so woried about a GUI on a server taking up CPU cycles so much as taking up memory. If memory runs low, then the system starts swaping and that could slow things down a bit.

      By the way, I don't believe that webmin requires that you have a GUI installed on the server, just that you have one installed on the machine you do administration from. I believe that this also is true for VNC as well.

      --
      ...interesting if true.
    19. Re:Still wondering... by Anonymous Coward · · Score: 0
      I mean, thats like .04% wasted processor cycles.

      That is still .04% of wasted processor cycles that could be used for other things.
    20. Re:Still wondering... by Anonymous Coward · · Score: 0

      And a faster GUI usually means slower server. It's
      so simple.

    21. Re:Still wondering... by glwtta · · Score: 2, Insightful
      That's true, but I very rarely take my Apache server out for a drive, or serve web-pages with my fridge...

      Meatspace analogies are fun, but usually serve no purpose whatsoever.

      As for my original point - a steering wheel may be easier to use in some cases than a CLI, but it's still not simpler. :)

      Oh, and unless you believe in a deity of some sort (as I realize many people do), nothing in life exists for a "reason".

      --
      sic transit gloria mundi
    22. Re:Still wondering... by Dahan · · Score: 2
      A default install of Windows 2000 (Server or Pro) installs IIS.

      False. No non-server version of Windows installs IIS by default. In other words, a default install of Windows 2000 Pro does not install IIS. Try it sometime.

    23. Re:Still wondering... by Anonymous Coward · · Score: 0

      I'm blind you insensitive clod! Where is life's GUI now?

    24. Re:Still wondering... by glwtta · · Score: 2
      But carefully selecting how you measure "simplicity" in this way is just being gratuitously obtuse.

      Mostly what I was going for, yes. What, did you think I had some groundbreaking input for the whole CLI vs. GUI flamewar?

      And in any case, in a single paragraph you summed up pretty much all the important points to a functional shell - I'd call that pretty darn "simple" :)

      --
      sic transit gloria mundi
    25. Re:Still wondering... by Anonymous Coward · · Score: 0

      You don't need to run the gui, just log in as >console it kills the gui (and windowmanager) dead. Everything else as functional as ever (unlike the similar looking but non functional single user mode)

      Very easy...

    26. Re:Still wondering... by Onan · · Score: 1


      IHBT. IWNPTHAND. TY.

    27. Re:Still wondering... by DroppedPacket · · Score: 1
      I'll bet WindowManager has taken quite a bit more time than you think. I've been up for 7 days, and WindowManager has used 1:57:28. Count the colons. Days:Minutes:Seconds.hundreddths.

      Note that yours probably isn't showing hundredths either.

      --
      I am not a resource! I am a free man!
    28. Re:Still wondering... by DroppedPacket · · Score: 1
      Crap. Make that Hours:Minutes:Seconds. It doesn't roll to days.

      So my WindowManager is at 1 hour, 57 Minutes and change for CPU time in 7 days.

      --
      I am not a resource! I am a free man!
    29. Re:Still wondering... by Anonymous Coward · · Score: 0

      Man, that would be awesome!

    30. Re:Still wondering... by punkmanandy · · Score: 1

      Are you running jaguar? If you are, that could make a big difference, as your GPU would be doing most of the havy lifting. Also, the UI server isnt the only thing that uses processes. Programs have to use CPU time to figure out what to display to the window manager.

    31. Re:Still wondering... by 1155 · · Score: 1

      sh -x ~/driving-instructions.sh && cat /dev/fridge/contents && && ls -alH ~ && df -h -T && echo item && find / -name milk

      So I:

      typed driving instructions

      printed a list inside of contents inside of a fridge

      executed one command to find the expiration date AND how much was taken up

      executed a command to find out how much was left

      typed the name of an item

      AND I

      grabbed the milk

      all in one command.

    32. Re:Still wondering... by benedict · · Score: 2

      Man, that would be great. I could find out
      when my milk is rotten without getting a noseful
      of rotten-milk odor, and instead of dumping it
      down the sink, I could just "rm" it.

      And how many times have I wished I could grep my
      apartment for, say, my keys?

      --
      Ben "You have your mind on computers, it seems."
    33. Re:Still wondering... by kwerle · · Score: 3, Funny

      I have another FreeBSD box that doesen't *have* a video card, and, of course, it servers KDE over VNC just fine. When I show it to MCSE types - theh sit there and stare. "b..b..but... I doesen't have a video card! How does it do that?"

      As if windows can't do that? With VNC, no less? Maybe you'd need a card to set it up - I don't know, but I'd bet that the machine you use did when you installed it, too (though I won't bet $ on that :-)

      Actually, I have launched VNC blind on a windows box. Wait, now I'm just sounding like a sick bastard...

    34. Re:Still wondering... by LordWoody · · Score: 1

      Pardon my ignorance here, but just how did you get the system to boot without a video card? All my systems just sit there and beep obnoxiously.

      --
      Never meddle in the affairs of dragons,
      for you are crunchy and good with catsup.
    35. Re:Still wondering... by kwerle · · Score: 2

      That's true, but I very rarely take my Apache server out for a drive, or serve web-pages with my fridge...

      Oh, but you would if you could, wouldn't you? And I bet you'd overclock the damn thing until it couldn't keep the milk fresh for more than a day :-)

      As for my original point - a steering wheel may be easier to use in some cases than a CLI, but it's still not simpler. :)

      How do you figure that? A steering wheel only goes right and left. Not so for a CLI. What's simpler, a bicicle, or a CLI? I'm thinking that there are a lot more folks that are able to bike than CLI. I'm thinking they learn a bike faster than a CLI, too. I'm thinking that the same is true for [well done] GUIs.

      Hell, have you ever tried to help a user use a GUI? How about a CLI? Which was easier to explain how to use (simpler)?

      Oh, and unless you believe in a deity of some sort (as I realize many people do), nothing in life exists for a "reason".

      Unless you believe in cause and effect.

    36. Re:Still wondering... by jenssoderberg · · Score: 1

      Using linuxbios perhaps? :-)

      --
      /. AC "Concrete lifejackets could get certified under ISO2002"
    37. Re:Still wondering... by glwtta · · Score: 2
      Oh, but you would if you could, wouldn't you?

      Yeah, when I was typing that, I wasn't too sure someone around here doesn't actually do that :)

      Unless you believe in cause and effect.

      Things exist "because of" something, following cause and effect, not "for a reason" - one of the most loaded terms in the English language.

      --
      sic transit gloria mundi
    38. Re:Still wondering... by rjkimble · · Score: 3, Informative

      Many architectures allow booting this way. My Alphas can be booted without a video card using their serial ports. There are IP addressable boxes that connect to rack mounted servers using their serial ports. Through these boxes, you can boot the servers remotely, monitoring their progress over the serial port. Once a machine is up an running this way, it's then available over the network.

      I'm pretty sure that Sun servers can be made to work the same way.

      --

      Guns don't kill people -- people kill people.
      But the guns seem to help a bit. (apologies to Eddie Izzard)
    39. Re:Still wondering... by tigga · · Score: 1
      Try typing instructions into the steering wheel of your car, and see how well that works out. Maybe you could get a printed list of items inside your fridge, and after executing other commands to find out the expiration date, and how much of the item was left, you could type the name of the item, and it would appear. OR, you could just reach in and grab the milk and smell it. LIFE HAS A GUI FOR A REASON

      Man, Don't you know computers was invented for a reason too ;))

      You should automate things with them, not repeat..
      You just type "Go home" and your computerized car should deliver you there, right?

      You type Mi> and you receive milk quantity, expiration date.. And you type it in your car, while it drives you home, so you may buy more milk if you don't have enough.


      By the way you just could say it - "Computer! Drive me home, check if I have enough milk, and if not let's visit some grocery store"
      Speech is also CLI ;)))

    40. Re:Still wondering... by Shelled · · Score: 2

      Arrow keys wouldn't be too difficult (hell, I played Descent for years keyboard only and it had a far greater degree of movement than any vehicle still rubber side down), and certainly no worse than steering with a mouse. Bad analogy.

    41. Re:Still wondering... by BJH · · Score: 1

      I'm pretty sure that Sun servers can be made to work the same way.

      Yes, they can.

    42. Re:Still wondering... by Anonymous Coward · · Score: 0

      correction:

      ..."running on its crappy video card"...

      "it's" is equivalent to "it is".

      Apologies for playing with your little mind.

    43. Re:Still wondering... by the_othergy · · Score: 1

      Microsofts systems except in a few rare cases are not really inherantly insecure

      BS! If you were running OS X you could simply compare the number of patches available for OS X (specifically security patches) to those available for any MS Server product and see the difference.

      Do you not remember the web server patch that was supposed to patch a major security hole but ended up breaking the whole OS in many cases when it was applied?

      I'm not saying that it's not partially user fault and partially due to market saturation (the more machines running an OS, the more attractive it is to attack), but there are severe security issues over at MS....

    44. Re:Still wondering... by Anonymous Coward · · Score: 0
      But if my fridge had a CLI like you describe, I'd be able to write a shell script that would make dinner for me every day.


      Alas, I'm stuck with a GUI-fridge.

    45. Re:Still wondering... by jkovach · · Score: 1

      Because Windows (at least not without Terminal Services or Citrix) is not multiuser, VNC on Windows acts as a simple remote control program a la PCAnywhere. It simply displays the contents of the system's screen and lets you control the console session. I imagine that without a video card in the system, Windows wouldn't put up an image that VNC could display remotely. I wouldn't be suprised if Windows refused to boot without a video card either.

      VNC on Unix creates a seperate X session, similar to Microsoft Terminal Services on Windows. It works independently of the console display, so it doesn't care whether one is actually present.

    46. Re:Still wondering... by kwerle · · Score: 2

      Because Windows (at least not without Terminal Services or Citrix) is not multiuser

      I hate to defend win, but that's just a semantic arguement. Windows will provide services to multiple users at different security levels at the same time, whether it be printing/fileservices, webservices, or whatever other crap they do (I bet that they can do C# services and that kinda junk).

      VNC on Windows acts as a simple remote control program a la PCAnywhere.

      Which is all that's needed for remote admin.

      I wouldn't be suprised if Windows refused to boot without a video card either.

      Which is just FUD. I'll bet $20 that it can.

    47. Re:Still wondering... by dalamcd · · Score: 1

      But if your fridge was installed with Mac OS X Kitchen, you could write an AppleScript to do the same thing. ^__^

      --
      moer liek CELtroid prime!!@1!
    48. Re:Still wondering... by Computer! · · Score: 2

      sh -x ~/driving-instructions.sh && cat /dev/fridge/contents && && ls -alH ~ && df -h -T && echo item && find / -name milk

      Uh, yeah. Real simple. I can't wait until I have to memorize archaic and nonsensical commands to feed myself. You also neglected to expound upon the contents of "driving-instructions.sh. Attention geeks: power != simplicity.

      --
      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
    49. Re:Still wondering... by Computer! · · Score: 2

      Meatspace analogies are fun, but usually serve no purpose whatsoever.

      OK, geek. "Meatspace" is where you and everything around you exists. Try not to forget that. Remember also that humans do not think in ones and zeroes. They interact with their environment (and that includes computers) through their senses, paramount being sight. Real-world analogies are the only ones that even make sense, or are useful in any way. Comparing apples to oranges is not only unavoidable, it's the only way to describe apples to someone who has only had oranges. I'm a programmer by trade, and people like you give us all a bad name.

      As for my original point - a steering wheel may be easier to use in some cases than a CLI, but it's still not simpler. :)

      Do you mean more intuitive? What could be more intuitive than turning the wheel in the direction you want the car to go? TYPING instructions in pigeon english into a keyboard??? Are you insane?? Wake up and read what you right. For real.

      Oh, and unless you believe in a deity of some sort (as I realize many people do), nothing in life exists for a "reason".

      Uh, hi. What's the reason things fall down? What was the reason you got out of bed this morning? All things indeed do happen for a reason, God or no. The reason life has a GUI is that we have senses that we use to interact with our environment.

      --
      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
    50. Re:Still wondering... by Computer! · · Score: 2

      Man, Don't you know computers was invented for a reason too ;))

      You should automate things with them, not repeat..


      I agree. That would be more powerful, but not simpler, which was the topic.

      --
      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
    51. Re:Still wondering... by Computer! · · Score: 2

      Bad analogy.

      You're right, your analogy was terrible. Arrow keys are not a CLI. Pressing "->" once to make the car go right is not issuing a command, typing "steer -r" and pressing ENTER is, though. AND, the steering wheel is only half of the GUI. The windsheild is the other half. How would you play DEscent if you had to navigate through a text-based maze and fight enemies by typing at them?

      --
      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
    52. Re:Still wondering... by 1155 · · Score: 1

      Well, seeing how these would be instructions I would have done a million times, I would have already written a shell script for this, so it makes sense.

    53. Re:Still wondering... by glwtta · · Score: 2
      Comparing apples to oranges is not only unavoidable, it's the only way to describe apples to someone who has only had oranges. I'm a programmer by trade, and people like you give us all a bad name.

      Hey, woah there. First of all, we don't have a bad name ;) Secondly, if I rember correctly (I might not), this started off being about Apache config, something only admins (ie geeks) interact with; our precious users have nothing to do with this.

      And I stand by my claim that Meatspace analogies are always poor, they may well be the only way to describe something to a layman, but that only makes the problem much greater. Just look at all the "The Internet is like a library", "No! It's like a house, but you don't lock the door!", "No, it's like the prison system where the inmates are on the outside" of security and copyright debates. These analogies are only about 3/4 applicable (at best), and the remaning quarter always skews the understanding of the person this is being explained to. But this, of course, is wholly besides the point.

      Do you mean more intuitive? Um, no I didn't. I guess I'll disregard the part that shows why it's stupid to claim that it is more intuitive... By "simple" I always mean just that - simple. Not "easier to use", not "more intuitive" and not "better". CLI's accept text as input and execute commands based on that text - what could be simpler? ;)

      Uh, hi. What's the reason things fall down? What was the reason you got out of bed this morning? All things indeed do happen for a reason, God or no.

      Here, by "reason" you simply mean a cause. "Everything happens/exists for a reason" is an very loaded term, implying that some sort of supernatural "thought" went into the arrangement of the world around us. It's a fairly tangible difference, even if I am describin it poorly.

      The reason life has a GUI is that we have senses that we use to interact with our environment.

      I would say that we have senses (well, only vision applies, really) to interact with our envinronment because it has a GUI. Or that what can be described as "life's GUI" is our interaction with it, itself. Has this Meatspace analogy been very useful? I'm beginning to doubt that.

      --
      sic transit gloria mundi
    54. Re:Still wondering... by neuroticia · · Score: 1

      Actually. A CLI is MUCH easier to explain. "Hey, mom. type this and hit 'enter'. Make sure you don't make a typo." vs "Hey, mom. Go down to your taskbar and press the MS Word Icon. Go to file>open and select the location of your document by pressing this little funny icon at the top to drop down a menu that makes no sense at all"......

      I'd MUCH rather support a dumb user on a CLI than on a GUI. CLI's, while more powerful and "less intimidating" allow for far less stupid "What's a desktop" "what's an icon?" questions.

      Just shut the hell up and type, and if you can't type, then God be with you.

      GUI concepts are harder to explain to people who don't understand them than command line concepts are. "Just type this, and this happens".

      -Sara

    55. Re:Still wondering... by Computer! · · Score: 2

      Yeah? Hm. Well, maybe there's somewhere you've driven 1 million times, but I haven't. What do you do when you go somewhere for the first time? Write a shell script before you get in your car? And what about the windshield? Do you have a text-based system in mind to replace 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
    56. Re:Still wondering... by 1155 · · Score: 1

      Silly, I use screen within my shell.. Oh yeah, the thing that would interpret my actions.

      Oh, and if I were new to this area, I would man map. Silly bumpkin

    57. Re:Still wondering... by zulux · · Score: 2

      I wouldn't be suprised if Windows refused to boot without a video card either.

      Which is just FUD. I'll bet $20 that it can.


      WindowsXP 'embedded' can boot without a card - but the retail/'server' versions of Windows won't boot without a video card.

      99% of all Intell x86 motherboards won't get past POST without a video card so it's rather a moot point.

      The only retail/server Windows that *might* boot witout a video card was one of the Windows NT on Alpha that Microsoft dropped suport for.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

  8. What a mean webserver! by Jon+Abbott · · Score: 2, Funny
    Here is the error I received when I tried to visit the link at byte.com:
    "You have requested data that the server has decided not to provide to you. Your request was understood and denied."
    1. Re:What a mean webserver! by Anonymous Coward · · Score: 0

      Bad server! Bad bad bad! No realtime priority for you!

  9. Yes, BUT by Anonymous Coward · · Score: 0

    Linux does plain crazy things for gaining performance. For example not really allocating memory when you actually do the memory allocation call but later when it's needed. But at that time it might be out of memory and the program cores.

    This is plain nuts in a production-server where you need deterministic behaiviour.

    1. Re:Yes, BUT by khuber · · Score: 1
      I thought lots of malloc implementations deferred allocating pages. Just because you allocate 10m doesn't mean you're going to use it. I don't see how the scenario you described could even happen with correct VM accounting.

      This is a tangent, but I was recently bored and researching malloc and calloc at work because we had some C code that called malloc and memset a lot instead of calloc. On Linux, calloc defers clearing. I don't completely understand how it works -- I think some MMUs will clear for you. I got ahold of Sun regarding Solaris and it turns out calloc just calls malloc! I thought it was amusing. The performance difference was negligible for my purposes on Solaris.

      -Kevin

    2. Re:Yes, BUT by MShook · · Score: 1

      True but you can tell the os not to do that (check /proc/sys/vm/overcommit_memory).

  10. Advantages??? by me3head · · Score: 1

    Are there _any_ advantages to buying an Xserve, and loading up Linux PPC on it over just using a (cheaper) Intel-based solution. I honestly dont see what the point would be in buying the apple solution (and paying for OSX) if youre not going to use apple's software.

    1. Re:Advantages??? by nevershower · · Score: 3, Informative

      Uh, the XServe comes with OS X. You can buy a larger license if you need it, though.

      --
      Look, ma! I'm a karma whore
    2. Re:Advantages??? by lethe1001 · · Score: 2, Interesting

      actually, the xserve is very reasonable priced for the hardware. competes well with intel hardware, so even if you re not using OSX, it s still a very nice option.

      also, some people think the IA32 architecture is a bit braindead.

      http://apple.slashdot.org/article.pl?sid=02/09/0 5/ 1742257&mode=thread&tid=181

    3. Re:Advantages??? by jericho4.0 · · Score: 3, Insightful

      Well, the xserves are a very sweet package for the price. Fast, low power, low heat, small, good looking(for clients) and very reliable. I havn't done the full cost-benifit analysis, but I think they would come out well against many cheaper Intel based solutions.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    4. Re:Advantages??? by Kenja · · Score: 2, Informative
      "actually, the xserve is very reasonable priced for the hardware"
      Sorry, no it is not.

      The XServe charges Hardware SCSI RAID prices and gives you software IDE RAID.

      --

      "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
    5. Re:Advantages??? by WatertonMan · · Score: 5, Interesting
      It depends upon what you are comparing it to. According to most benchmarks I've seen when compared to the equivalent offerings from Dell it ends up being cheaper and faster.

      Xinet Benchmark

      I admit I'm a tad skeptical of the relevance of this benchmark, but it does seem that Apple has a nice system. I suspect you could roll your own better with OpenBSD or Linux and a nice AMD multiprocessor system. That's just me though. And realistically a lot of businesses DON'T want such systems. They want a "come as it is" system. Further a lot of people don't want all the messing around that you have to do with most Linux of BSD distributions. Apple has put a very nice interface on their server. Yet you have the added benefit of being able to drop to Unix when necessary.

      Apple's big problem is still the chipset used with the G4's. Given that, despite many of the nice features, unless you are primarily serving other Macs, I don't think XServe is a good choice. If you have people with Unix backgrounds then I think FreeBSD or OpenBSD is better. And for many ASP systems Sun is the clear winner. However keep watch on Apple if IBM manages to restore hardware parity for Apple. I think that as a server OSX will mature quickly.

    6. Re:Advantages??? by me3head · · Score: 1

      I agree that the Xserve is a nice package, I am specifically questioning the benefit to buying it only for its hardware, then removing OSX to use Linux PPC.

    7. Re:Advantages??? by PCM2 · · Score: 2

      It's true you can't buy an Xserve without paying for Mac OS X. But at least you can buy one and run Linux on it immediately, without paying any extra (installation labor included).

      --
      Breakfast served all day!
    8. Re:Advantages??? by PsychoSpunk · · Score: 3, Funny

      You can buy a larger license if you need it, though.

      There's a larger license than unlimited?

      --
      ALL HAIL BRAK!!!
    9. Re:Advantages??? by Brian+Knotts · · Score: 2, Informative

      Bah. Even Sun sells a real server with SCSI for about as much as the Xserve.

    10. Re:Advantages??? by slutmonkey · · Score: 0

      There's a larger license than unlimited? [apple.com]

      yeah, double plus unlimited.

    11. Re:Advantages??? by WatertonMan · · Score: 1
      I think it was more just to compare Linux and OSX on equivalent hardware. i.e. how does the Unix underpinnings of Apple compare.

      There are problems with this, not the least of which are the silly benchmarks the author used and the apparent lack of optimizations. Further anyone running Linux will either be running it on faster x86 hardware or is running it on a Mac solely because they have old hardware not fast enough to run OSX.

      So you are right. Even beyond the benchmark problems it ends up being of limited relevance for deciding on a server.

    12. Re:Advantages??? by Toraz+Chryx · · Score: 2

      "Apple's big problem is still the chipset used with the G4's."

      How do you figure?, are you sure you aren't referring to the SDR frontside bus of the G4's? (the blame for which is firmly in motorolas court.)

      Aside from that downside (and Apple hardly had a choice) the Xserve/PowerMac DDR chipset seems pretty nice?

    13. Re:Advantages??? by Bobartig · · Score: 2

      If by "about as much" you mean only $2000 more, and 1/6 the storage, then I see what you mean. I'm not saying one is better than the other, but these machines are a bit different:
      Xserve:
      1-2 1Ghz G4
      256-2048 MB RAM
      1-4 UATA HD's (hotswapping, either 60-120GB)

      Sun LX50:
      1-2 1.4Ghz PIII
      256-6144 MB RAM
      1 SCSI-160 HD's (36-72 GB)

      If you compare the base model units, the Xserve is about $1000 cheaper. If you deck them both out to nice big $7000 boxes, Xserve has 400 more gigs of storage. You may find the Xserve unacceptable because it lacks scsi, or your apps need 6 gigs of RAM (that's fair enough), but they do give you _something_ in return (namely, lots of cheap storage)

      --
      This is where I get my recommended daily allowance of "Foot in Mouth."
    14. Re:Advantages??? by Brian+Knotts · · Score: 1
      Huh?

      Let's just look at the midrange configuration:

      Sun LX50:

      2 1.4 GHz PIII
      1 GB RAM
      72 GB Ultra 160 SCSI HDD
      $4,295

      Apple Xserve: 2 1GHz G4 PPC
      512 MB RAM
      60 GB IDE HDD
      $3,999

      How is the Sun "$2000 more"? Check your calculator program; it may have a bug.

    15. Re:Advantages??? by Anonymous Coward · · Score: 0

      ""They want a "come as it is" system.""

      I guess you could refrase that to "ready to go" ???

      1. I agree with you that many would want it ready to go.

      2. I COMPLETELY DISAGREE WITH YOU if you think that businesses wanting "an out of the box" and ready to go server solution are going to have Apple on the brain.

      It will probably be windows nt. If someone is a little more open minded then simply order a dell server and click on the "redhat advanced server" option....it takes all of 90 seconds.

      apple?

      xserv?

      will be one of the last things a typical manager things about when buying a server.

    16. Re:Advantages??? by Anonymous Coward · · Score: 0

      I'll bet most of those benchmarks you've seen were selected by and paid for by Apple.

      Apple hardware used to be just plain slower on the whole - and I don't just mean slower in megahertz. Today, Apple can't even touch the performance of a dual 2.8 GHz Pentium4 Xeon (with Hyperthread technology) running Windows or Linux and binaries compiled with Intel's C++ compiler. Next month: enter the 3.0 GHz Pentium4.

      2 GB limit in Xserve, with slightly higher MHz, but crippled DDR. 4-8 GB limit in dual Pentium4 systems with full DDR support.

      Check out the hardware maintenance contracts on those Xserves, too. $900+ is too steep for my wallet. And the software maintenance? Roughly the same price. Abtholutely Ridikuluth!

    17. Re:Advantages??? by WatertonMan · · Score: 1

      No business is likely to have "Apple on their mind" as a sever except for small businesses with existing OSX systems. For those people the "out of the box" solution of Apple is much more likely than a rolled up OpenBSD system they have to tweak. For heterogenus networks then I think Apple can compete against Dell or Compact, especially since their system is Unix and thus not as "proprietary" as once was.

  11. Purposefully denied? by Geek+Dash+Boy · · Score: 2, Insightful

    It would be simple to check the referring URL and if it matches slashdot.org to send back a 403.

    Has Byte been bytten in the past by the slashdot effect? (no typo - just a bad pun)

    --
    I say we take off and nuke the entire site from orbit. It's the only way to be sure.
    1. Re:Purposefully denied? by One+Louder · · Score: 1
      Doesn't look like it - you can type http://www.byte.com into a new browser and get the same error.

      They're running Apache 1.3.26 on Linux.

    2. Re:Purposefully denied? by Baconator · · Score: 4, Funny

      Nah, that's not it. I got that same message but I use a web proxy that forges referring URLs. It does break some web pages in funny ways, but I find the idea of littering server logs with references to fuckedcompany.com quite amusing. How's -that- for geek humor?

    3. Re:Purposefully denied? by Maserati · · Score: 1

      That's bloody brilliant for geek humor.

      --
      Veteran, Bermuda Triangle Expeditionary Force, 1992-1951
  12. SWAP File/Partition? by Anonymous Coward · · Score: 5, Informative

    What was the swap confirguration in linux during the test? I believe it was a SWAP partition rather than a SWAP file.

    Whereas on OS X it should have been default(ed) to a SWAP file.

    The difference in performance is quite considerable because for a SWAP partition the OS doesn't have to go through a lot of IO file system code.

    1. Re:SWAP File/Partition? by johnjones · · Score: 2

      yes I agree with you infact this has been the major source of kernel panics on MacOS X that I have seen as mac people just dont understand the whole swap thing

      really its a bad comparison but if you tuned them file I/O on linux would be much faster simply because of the filesystem

      not too sure how the mach kernel in MacOS does the Unix Lites either so that would have impacted performance

      ah well what matters is functionality and they are about equal in my eyes with MacOS winning the desktop and linux the server

      regards

      John Jones

    2. Re:SWAP File/Partition? by Anonymous Coward · · Score: 0

      Like Windows, OS X doesn't swap directly to a partition, and using a swap file in Linux is not recommended. You don't really have a choice with either system, so I think the point is moot.

    3. Re:SWAP File/Partition? by Anonymous Coward · · Score: 0

      It doesn't matter performance-wise on Linux
      whether you use swapfile or swap device - the
      filesystem is never involved.

      It's not in Mach either, btw - caching the swap
      acess would be a very bad idea..

    4. Re:SWAP File/Partition? by WiseWeasel · · Score: 1

      Yes, and this gives OS X quite a performance penalty. It is easy to add swap partition support to OS X by editing your /etc/rc file manually or by using the simple Swap Cop utility and then using the program Swap Relocator to get post-10.2 MacOS X to use those prefs set in /etc/rc. The Darwin team at Apple is supposedly working on this, and there will be a simple way to assign VM swap partitions in one of the next releases.

      --
      "I like systems, their application excepted", George Sand (French)
    5. Re:SWAP File/Partition? by Anonymous Coward · · Score: 0

      No, it does not give OS X "quite a performance penalty". Few have bothered to do rigorous testing of the proposition that OS X can be sped up by using a dedicated swap partition. (As an aside, none of the hacks actually create a true swap PARTITION, like a Linux swap partition. They merely place the swapfiles on a different filesystem than the root FS.)

      The only realistic way to derive benefit is if you place swap on a different physical drive than the one your root FS resides upon. The arguments about fragmentation of the swapfiles reducing performance are simply wrongheaded. The CONTENTS of swapfiles (and swap partitions) are inherently fragmented, so it makes little or no difference how contiguous the storage is. In other words, it doesn't matter if an 80MB swapfile is ridiculously fragmented -- say, 100 fragments -- when internally it contains a few thousand separate and distinct chunks of data, few of which are likely to be accessed sequentially.

      Some of the tests of MacOS X swap hacking I have seen were so bogus that they purported to measure a difference when the system under test had never resorted to swapping! How could I tell? They posted 'top' output. If MacOS X top reports there have been 0 pageouts since boot, the machine has never touched even a single swapfile, other than perhaps to create an empty one during boot to have it ready for use. This was in fact the case in the tests I refer to. It is not my belief that they were faking anything; they were simply fooling themselves about the supposed positive effects. (I tried to replicate their experiment and found no meaningful difference between default, swap on separate partition on the same drive, and swap on a separate drive.)

    6. Re:SWAP File/Partition? by WiseWeasel · · Score: 1

      It creates a swap drive when I set the swap partition to its own drive, separate from the startup disk. Same filesystem, different volume. This undeniably speeds up VM-intensive tasks, as the drive will be dedicated to VM read/writes, while the application that's running the task and data used in the task is being read/written from its own drive. This is possible using the method I have described. Even if the fragmentation is irrelevant, the fact that VM gets its dedicated drive gives VM-intensive tasks a significant boost in performance. Since the linux install probably had the VM swap partition as simply a partition of the same drive the apps and data reside on, this is all pointless if fragmentation is a non-issue, and we can assume that this is not a source of error in comparing linux to osx as in the article.

      --
      "I like systems, their application excepted", George Sand (French)
    7. Re:SWAP File/Partition? by Anonymous Coward · · Score: 0
      Some of the tests of MacOS X swap hacking I have seen were so bogus that they purported to measure a difference when the system under test had never resorted to swapping! How could I tell? They posted 'top' output. If MacOS X top reports there have been 0 pageouts since boot, the machine has never touched even a single swapfile, other than perhaps to create an empty one during boot to have it ready for use. This was in fact the case in the tests I refer to. It is not my belief that they were faking anything; they were simply fooling themselves about the supposed positive effects. (I tried to replicate their experiment and found no meaningful difference between default, swap on separate partition on the same drive, and swap on a separate drive.)

      And when I complain about the speed of my 500 MHz iBook, which has 384 MB RAM, these same people claim that all I need to do is upgrade to 640 MB and the speed will be fine - despite the fact that it very rarely swaps now. Never trust any technical advice you get from a Mac user.

  13. Re:Ooh! I actually found the google cache! by Toodles · · Score: 0, Offtopic

    Someone please mod this jackass down for a goatse.cx type link

    --
    Toodles D. Clown
  14. Forbidden (403) by Lagrange5 · · Score: 1

    You have requested data that the server has decided not to provide to you. Your request was understood and denied.

    It would be nice if the first link loaded.

    Anyhow, just judging from the headline and writeup, I don't think it's a "lose" for OS X. These are two solid, admirable servers.

    I'd love to pit these against a "comparable" MS product.

    --
    "Folks just call him Buckethead." -- Les Claypool
  15. CNN has it too by Anonymous Coward · · Score: 0

    in the Science & Technologies section

  16. You don't need Google cache for this one by Geek+Dash+Boy · · Score: 2, Interesting

    Just cut-n-paste the URL into a new browser window. They're denying any referer that matches slashdot.org (see my previous comment)

    --
    I say we take off and nuke the entire site from orbit. It's the only way to be sure.
    1. Re:You don't need Google cache for this one by ceejayoz · · Score: 2

      I clicked on the link and it worked fine.

  17. Better comparison: MacOS X vs *BSD by Splork · · Score: 2

    Put OpenBSD or NetBSD on that machine and compare. linux vs foo comparisons are boring and more of the same. (or FreeBSD if it runs on PPC these days)

  18. Overall... by L33t-Geek · · Score: 1

    Overall they are both better than running windows on any machine. I dont know much about linux on the Mac, but if it can be duel booted with mac OS X (im sure it can) then that would be the ultimate config. Then you got the best of both worlds. and no m$ -geek

    1. Re:Overall... by demon · · Score: 1

      It can. In fact, you can easily triple-boot (OS 9, OS X, Linux) - I've done it on a G3 tower and an iBook. Long as you setup Linux right, everyone will be happy. (If you don't follow the instructions for setting up Yaboot, not only will Ethan bitch you out, OS 9 will happily stomp all over your bootloader, leaving you unable to boot Linux without knowing some OF tricks.)

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
  19. Eh? by zulux · · Score: 5, Insightful

    To me, the performance of Linux over OS-X is marginal and not really worth considering. The choice really is over what the computer administrator is more comfortable with - hell, put NetBSD if it will make the administrator more productive. The server only costs $3000 bucks so screwing around just to get a 10% improvemnt is not worth it - but if Linux makes the administrator 10% more productive then do it.

    Stupid Example:

    I haven't benchmarked FreeBSD vs Linux and I really don't care - all my file servers are FreeBSD because I'm expensive and learning Linux is not cost effective (for me). YMMV.

    --

    Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    1. Re:Eh? by IamTheRealMike · · Score: 3, Interesting
      Perhaps you should read this

      Maybe to you a 10% performance difference is not much, but for large sites, performance is often the deciding factor. The faster you can serve your customers, the happier they'll be.

    2. Re:Eh? by WatertonMan · · Score: 3, Interesting
      That's true in general, but the kinds of services XServe is designed for isn't those markets. In those cases you really should be running a Sun or some custom Linux/BSD servers with the latest chips and a hell of a lot of memory. I believe that XServe is more designed for small businesses or for racks for internal use. (i.e. rendering farms, file servers, intranets, etc.)

      In those cases the ease of management will likely be a bigger factor than overall speed. If overall speed is that important you really need someone who is an expert in Linux or BSD, knows how to eck out every bit of speed, knows security up the yazoo, etc. And of course your department will have to pay for this guy. And that ends up being near $100,000 a year once you start including benefits etc. (Or more if you have several folks)

      For a more regular IT staff who doesn't want to spend that much time or effort XServe, like the equivalent offerings from DELL, Sun or Compact, is a nice server. As I said for ASP I still think Sun might be a better choice. But it really depends upon what you are doing.

    3. Re:Eh? by glwtta · · Score: 2

      I agree with you wholeheartedly, but one small point - your learning Linux would not be cost effective for your current employer, it is most definitely cost effective for you as an admin (assuming that is in fact your line of work) :)

      --
      sic transit gloria mundi
    4. Re:Eh? by chigaze · · Score: 1

      For our operation this would be the case as well. We have extensive Mac experience and are gaining our Unix experience through OS X. We will not be running a high load site, thus we will be running OS X Server rather than another Unix variant because OS X is what we know the cost in our time greatly exceeds the hardware costs.

      Hardware is cheap, time is not.

    5. Re:Eh? by mjh · · Score: 2

      I think that you have a valid point, but you can only take it so far before it stops being true.

      So for example, you can use your example to justify using windows instead of *nix products. Despite the generally poorer performance, most admins are much more comfortable with it.

      But it doesn't end there. You could say, for example, that admins should run their boxes with the default configuration that comes with the windows product. Admins don't have to spend the extra time to get the marginal improvement that the tweaking provides. And now you're at the point where the admin doesn't really need to do anything, but you have an unstable and insecure network... that impacts the end product of the business.

      Basically I disagree with your premise, although in some cases it may have merit. Your premise is that for a given product (in this case a computer network) reducing the learning time required by the admin will lead to quicker production of that product. In other words, give the admin what he/she is comfortable with and they can produce that thing quicker.

      The problem with this is that if you recursively apply this methodology you end up with admins who know and do nothing, and a network that isn't stable or secure.

      To break out of the cycle you have to remember what the real product is. It isn't the computer network. It's whatever it is that the network is used to produce. For example, Ford Motor Company produces cars. They use their computer networks to produce cars. The thing that needs to be optimized is the production of cars not the production of computer networks. Computer networks should be built to be as effective and efficient as possible in order to accomplish the production of cars.

      This may take some time. It may take twice as long to develop an optimized computer network vs. a sub-optimal computer network which performs 10% poorer. But that computer network will be used for a much longer time than it's development cycle. It won't be long before the slowdown of the sub-optimal network chews up much more time than designing the optimized network.

      Keep your eye on the ball. Churning out computer networks as quickly as possible is almost always the wrong thing to do..

      $.02

      --
      Key to financial independence: Spend less than you earn. Save and invest the difference. Do it for a long time.
    6. Re:Eh? by zulux · · Score: 2


      So for example, you can use your example to justify using windows instead of *nix products. Despite the generally poorer performance, most admins are much more comfortable with it.


      Very true - if performane stats becomeing a order of magnitude different, then yes, retraining is probably a good thing.

      I presonally moved off of Windows (Something I was VERY familiar with) to FreeBSD (my first UNIX) due to performance issues - Windows just crashed way too many times and diden't apprear to be a state machine (things randomly crapped out or failed.) So the order of magnitude performance difference (Windows: 0 records per second while crashed, FreeBSD: 10,000 records per second) made my retraining make finicial sense.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

  20. not surprising by g4dget · · Score: 2
    It is hard to see why OS X should be far behind Linux when it comes to server-side speed: OS X is based on a mature kernel with reasonably mature file systems.

    Where OS X seems behind Linux in terms of performance is memory footprint and graphics speed. In Moshe's server benchmarks, OS X used a lot more memory. Also, take a look at the memory footprint of the OS X display server and the OS X GUI applications--they are usually several times as large as comparable X11 functionality. And the raw graphics performance of the OS X display server is behind X11 in my experience (but do your own measurements if you don't believe me).

    1. Re:not surprising by WatertonMan · · Score: 2

      One thing to remember is that OSX is still using the HFS+ file system. The Byte article didn't mention is they were comparing it with the UFS. In either case Apple has new file systems coming down that might shake things up a bit in terms of both reliability and speed. Of course Linux has those now. But I think everyone agrees that XServe is nice for a first generation product. However as with most first generation products, think twice about being on the cutting edge. A better comparison might be a year from now when OSX is up to 10.3 with the equivalent XServe. Hopefully by then the new hardware based on the 970 will be out. Of course by the same measure the Linux/x86 world will also have moved on.

    2. Re:not surprising by sql*kitten · · Score: 2

      And the raw graphics performance of the OS X display server is behind X11 in my experience (but do your own measurements if you don't believe me).

      I would expect this to change in 10.2 with Quartz Extreme, which adds hardware acceleration. The Xserve's have graphics hardware onboard unlike most dedicated servers.

    3. Re:not surprising by g4dget · · Score: 2
      As far as I can tell, the big change with Quartz Extreme is that it uses the graphics hardware for compositing operations; but I don't think it uses it for accelerating all 2D drawing operations. That makes it great for window moving and image operations, but it may not help a lot with other kinds of graphics.

      A high-performance, accelerated, anti-aliased graphics subsystem still seems some way off for both OS X and Linux/X11: OS X has high quality graphics throughout but is somewhat slow and heavy, while Linux/X11 is much smaller and can be very fast for the common cases, but anti-aliasing and transparency are only gradually becoming widely available. I expect the two graphics systems to end up being pretty similar in terms of functionality and performance in a couple of years: client/server 2D graphics systems with full Postscript-like imaging and hardware acceleration.

  21. Re:It's a good thing (and not just because Linux w by intermodal · · Score: 3, Interesting

    Posix bases are better in general for server applications than windows. Windows is designed for users. Posix is geared towards computers. Windows is about making things easy. Posix is about making things work well. Each of these has concessions towards the other's area of expertise, but it's all a matter of which is better for the job, and if the concessions are better than the other's native functions. Damn...think i confused myself with that

    --
    In SOVIET RUSSIA... erm...NSA AMERICA, the Internet logs onto YOU!
  22. Re:Ooh! I actually found the google cache! by Geek+Dash+Boy · · Score: 1

    heh. I didn't click the link earlier...
    read your comment.
    clicked.
    oops.
    command-w

    --
    I say we take off and nuke the entire site from orbit. It's the only way to be sure.
  23. I'd like to see him repeat it, with a few changes by burgburgburg · · Score: 5, Insightful
    I'd like to see him repeat it, but with a few changes:

    a) Get the latest Jaguar
    b) Go to Apple and SuSE and get advice on tuning
    c) If it is available under SuSE, use gcc 3.1 for compiling

    Moshe admitted that there was probably alot of optimizations that he missed. I'd like to see them both tuned for speed and then compare them.

  24. The slashdotted text by mblase · · Score: 3, Informative

    (Sorry for some stray formatting of the tables; hopefully you can guess where the columns were)

    Comparing Apples and Penguins
    By Moshe Bar

    Last month, I described my romance with Mac OS X as a near-perfect environment for the desktop, and/or laptop. The harmonious combination of Apple GUI know-how with Unix (FreeBSD) for stability, security and efficiency are too sweet for geeks from all walks of life. I continue to use Apple laptops (I now have both the iBook and the Apple G4) for my writing, teaching and speaking activity. We received tons of reader's email here at Byte.com in response to that column. Too many to be named here rightly corrected me: Contrary to my first impression, there is indeed a package manager for OS X. It's called Fink and you can find it on www.sf.net/projects/fink. It also turned out that the Jaguar version I had received was a pre-release CD which contained only the 2.95 gcc compiler, though many reported that the 3.1 version of the same compiler was installed by default, as well. Apple quickly reacted by sending me the released version of Jaguar and, in fact, both compilers are present.

    As good as Mac OS X is for desktops and laptops, one wonders if the FreeBSD inside is not too restricted by the Apple jacket around it to also make for an efficient, secure and fast server OS. Apple is now busy convincing the world that Apples make also for excellent server appliances in the handy U1 format, thanks to OS X. That new product is called Apple Xserve. Many potential buyers are, however, asking themselves if OS X--given its recent introduction--is ready today to handle their critical apps.

    That's why I decided to take one of these sleek Xserve boxes and test run it both under OS X and under Linux. I was loaned an Xserve for a week by a geek friend of mine over at a very large ISP. That machine came with Dual 1Ghz PowerPC G4 and 1 GB of Ram. I installed OS X from scratch on it using the CDs that come along with the product. The resulting OS after the install has version 10.1.5. The included AGP 4X card with 64 MB of dedicated graphics RAM is a screamer. The dual CPUs in the system push out an impressive 15Gflops floating point power. Alas, apart from High Performance Clustering applications, relatively few people are going to take full advantage of it. The integer and memory bandwidth performance, however, is at least up to par with the latest IA32-based U1 servers out there. Obviously, I was not going to make use of the graphics card. I didn't bother trying to configure it under Linux because, after all, I tested this machine for server performance.

    I used the SuSE PowerPC Linux distribution for the second part of the test under Linux. Linux installed effortlessly and was happy to use all of the hardware found in the Xserve.

    The Test Environment

    Next to the obvious Apple Xserve, I set up 4 clients on the same 100mbit network, switched by the excellent Linksys 24port 1000/100/10 switch that powers most of my network in my home lab (for the LinkSys EF24G2M-10/100 EtherFast Dual Gigabit Switch 2-port 1000BaseTX see www.linksys.com).

    The 4 clients are all IBM Netfinity 5100 or 3000 machines running Linux 2.4.19 with my openMosix clustering extensions to automatically load-balance the requests thrown at the Xserve server. The four machines can easily saturate a fast server on a good switched network.

    Next, I set up exactly the same server environment both under Mac OS X and under Linux with the 2.4.19 kernel. I always made sure to use the same version of the server software both under OS X and Linux, each time re-compiling the binaries from source locally with the 2.95 gcc compiler, which is available on both platforms. The compiler itself was also locally re-compiled, taking all reasonable optimizations into consideration.

    Since for the life of me I couldn't figure out how to shut down the GUI environment of OS X, I configured a simple VGA X server for Linux and started KDE, just to have a fair basis for comparison.

    I ran tests against networking (Sendmail and MySQL tests), process build-up and tear-down (the cgi tests) and against the VMs (all tests combined, under memory shortage).

    For the static html benchmark, I wrote a simple html page just displaying "hello, world." For the dynamic pages, I wrote the CGI handler in Perl. The Perl used was 5.8.0 for both environments. Here is the sample cgi handler:

    package Apache::Bench;
    sub handler {
    my($r) = shift;
    $r->content_type('text/html');
    $r->send_http_header();
    $r->print('Hello, world ');
    200;
    }

    For the MySQL part, I set up a MySQL database with 30 million addresses generated by a simple filler Perl script before the benchmark. Then, I repeatedly let the clients run a series of transactions against it. I downloaded MySQL 3.23.52, skipping the harder-to-compile 4.0.x series, recompiled it locally under both OSes, then configured it with the following parameters:

    [mysqld]
    big-tables
    skip-locking
    skip-name-re solve
    skip-networking
    set-variable = max_allowed_packet=1M
    set-variable = thread_stack=128K
    set-variable = back_log=256
    set-variable = key_buffer=30M
    set-variable = table_cache=64
    set-variable = sort_buffer=5M
    set-variable = record_buffer=5M
    set-variable = max_connections=4000
    set-variable = join_buffer=5M
    skip-thread-priority

    For the mail handler, finally, all involved clients in the LAN were sending MIME-encoded attachments (I chose a small size of 8.5 KB to stress the MTA more than the network) to a 4.9 KB message. Sendmail was the standard 8.12.6 version available from the sendmail.org site, rebuilt for each OS. No special tuning was done and no anti-spamming measures were enabled. There was just one mail queue under both OS X and Linux, and the Sendmail-typical load-adaptive throttles were disabled to make use of the full bandwidth and system power. There is an excellent howto on enabling the native Sendmail 8.12.2 of OS X 10.1.5 here. I did however, as mentioned previously, compile my own Sendmail 8.12.6.

    Needless to say, setting up the server environment was considerably easier and faster. Linux, with all required sub servers, was ready in about 3 hours of work, whereas a long day passed before I had my OS X ready to go.

    For the web server tests, I downloaded Apache 2.0.39 and recompiled locally with the proper libraries. Just to avoid unnecessary lstat() system calls, I turned on FollowSymLinks and turned off SymLinksIfOwnerMatch. The SendBufferSize was increased to the size of the static page I used for this test. To make sure the page size is bigger than a TCP packet and also bigger than a virtual memory page, I made it 4050 bytes. Both OS X and Linux use 4 KB VM page sizes.

    I ran the following Perl program on the four clients each getting a different file, while I placed the virtual memory of the server under stress to cause the cache contents to be deleted as much as possible. Here is the Perl stress test program:

    #!/usr/bin/perl

    $counter = 0;
    $seconds = 2;
    $html = " ";
    $args = ("wget", "http://192.168.1.1/index1.html");
    $time1 = time;
    $check = $time1+$seconds;
    print "strtd at", time, "\n";
    while (time != $check) {
    $html = system(@args) or die "wget failed hard with $?";
    $counter = $counter +1;
    }
    $time2 = time;
    print "ended at", $time2, "\n";
    print "for ", $seconds, " seconds. \n\n";
    print "got ", $counter, " pages from server \n";
    [root@moshe1 temp]#

    In the end, I was quite pleased with the set-up. Again, all this is far easier and faster to do under Linux than under Mac OS X, but it can be done on both platforms given enough time.

    The Results

    Since this is not a scientific benchmark, I am quite sure your results will wary from mine. Also, note that this benchmark was done without prior consultations with either Apple or SuSE, so surely there are tons of tuning parameters for both operating systems that I simply didn't know about. Also, one should consider that the FreeBSD used in OS X is quite an old version (version 3.2, while FreeBSD just released 4.7), and that the Linux kernel has experienced a fantastic growth in performance over the last year, especially in the VM area.

    The results should therefore be understood as a general indication of the behavior of a particular OS when checked against the other, and not as a quality rating. All tests were run 10 times and I then averaged the results.

    Having said that, let's look the Apache results:

    URL OS X 10.1.5 Linux 2.4.19
    http://server/index.html 6127.2 reqs/second 7283.7 reqs/second
    http://server/cgi-bin/perl.cgi 624.1 reqs/second 703.5 reqs/second

    From these results one can assume the VM and network stack of Linux to be superior to OS X. It could also be that the page reclaiming algorithm is simply smarter in Linux than in OS X.

    For MySQL, I did much the same thing, with a Perl script running heavy SQL statements against the database. Here are the results:

    OS X Execution Times Operation Seconds
    alter_table_add 212
    alter_table_drop 118
    connect 2
    count 39
    count_on_key 721
    create+drop 4
    create_index 31
    insert 12
    order_by 187
    order_by_key 65
    select_distinct 38
    update_with_key 119
    Totals 1648
    Linux Execution Times
    Operation Seconds
    alter_table_add 197
    alter_table_drop 108
    connect 2
    count 15
    count_on_key 607
    create+drop 6
    create_index 22
    insert 8
    order_by 89
    order_by_key 91
    select_distinct 32
    update_with_key 76
    Totals 1253

    These results really surprised me. It seems OS X has a poor I/O subsystem as compared to the Linux subsystem.

    For the Sendmail results it is important to state that Procmail was unused on both systems. In order to let Sendmail wait less for I/Os, I also deleted the fsync() system call, which forces the full writing of each message on the file system. By deleting that system call from the sources, I let Sendmail defer the actual writing of the inode of each message to a later point in time. This is, obviously, against the RFC and should not be done in production-grade MTAs. Once you eliminate the fsync() call, more RAM will nicely scale up the number of emails being handled, which in turn better reflects the performance of I/O caching in the OS.

    OS X Linux
    Incoming Emails 816 mails/second 941 mails/second
    Mail Relaying 581 mails/second 609 mails/second

    Here again, Linux seems clearly superior to OS X for all VM-intensive operations.

    To go that extra mile, I then ran all these tests combined. Obviously all values were much lower and it is not the issue here to actually measure them. What, however, was much more interesting were values like load level, interrupts handled per seconds and context switches per second. For this final benchmark, I ran the Apache/MySQL/Sendmail tests at the same time, waited about 20 minutes after starting, recorded the results over a 2 hour period, and finally calculated the average:

    OS X Linux
    Average User-Land Runnable Processes 263 272
    Average Idle Percentage 0.3% 1.1%
    Average Context Switches (per second) NA 10212
    Average Free Pages NA 890
    Average Interrupts (per second) NA 9281
    Average Blocks Out (per second) NA 2008
    Average Load Level 27.1 26.2
    Average Swapped Set Size 421 MB 102 MB

    Sadly, I couldn't find any way to get decent system information from OS X. Things like interrupts or context switches per seconds are important indicators for a sysadmin. If there is no easy access to them (I am sure the kernel itself maintains these counters) how is the sysadmin supposed to see if the server is under- or over-utilized? This is a real shortcoming and Apple better introduce some way to monitor the system if they are serious about being in the server market.
    Conclusions

    Well, for a newcomer to the Unix market, I am actually surprised at the very decent results and stability of OS X. I experienced no crashes under both operating systems, which comes as no surprise to Linux users. For Mac users, however, this is by itself already a big improvement over previous operating systems for the Apple. The fact that OS X needs to improve in VM and I/O handling is understandable given its relatively young age. After all, Linux has had more than ten years to get where it is today, and even that is not much by OS standards.

    The Xserve's floating point performance is superior to many other solutions out there, and that alone makes it an excellent choice for clustering environments. But if all you are looking for is a server for your standard Internet or Intranet applications, then I see a problem in justifying the high price tag of the Xserve ($4000 for the configuration used in this test) for something that you can do faster, easier and cheaper on one of the many different products in the IA32 space.

    Moshe Bar is a systems administrator and OS researcher who started learning UNIX on a PDP-11 with AT&T UNIX Release 6, back in 1981. Moshe has a M.Sc and a Ph.D. in computer science and writes UNIX-related books.

    For more of Moshe's columns, visit the Serving With Linux Index Page.

    Copyright © 2002 CMP Media LLC, Privacy Policy
    Site comments: webmaster@byte.com

    1. Re:The slashdotted text by merlyn · · Score: 5, Insightful
      package Apache::Bench;
      sub handler {
      my($r) = shift;
      $r->content_type('text/html');
      $r->send_http_header();
      $r->print('Hello, world ');
      200;
      }
      Uh, that's not a "CGI handler". That's a mod_perl handler. And if that's the case, it shouldn't have been a 10-to-1 speed reduction over serving a static page.

      And a Perl script launching "wget", instead of just using LWP? Whuh? Huh?

      So, all these benchmarks are suspect. Beware. The author is either confused, or the editors mangled his message.

    2. Re:The slashdotted text by RevAaron · · Score: 3, Insightful

      Sure, these benchmarks prove nothing and say very little, but what difference does it make if the perl code runs wget rather than using LWP, provided how it's done is consistent across testing platforms?

      If this was an attempt at testing the speed of perl, yeah, he really should've used LWP.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  25. Why Darwin by tyler_larson · · Score: 2, Interesting
    This comparison brings up an interesting point. Darwin is open-source, and Linux is more mature and more quickly progressing.

    Why did Apple choose to go out and start a new kernel project when they could have just based OS X on the Linux kernel instead? They could have gained so much ground and lost so little. It's worked for so many other companies--why not Apple?

    --
    "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
    RFC 1925
    1. Re:Why Darwin by Geek+Dash+Boy · · Score: 2

      The kernel that the Darwin OS runs atop is far from new. The Mach kernel has been around for years, not sure of the exact dates, but almost if not as long as the Linux kernel.

      The decision to base Mac OS X on Darwin/NeXT was not just a decision about which direction to take with the kernel. There were plenty of business considerations a well, some of which centered around getting Steve back in da Apple crib.

      --
      I say we take off and nuke the entire site from orbit. It's the only way to be sure.
    2. Re:Why Darwin by Anonymous Coward · · Score: 0

      Apple tried to get a merge with SUN so Apple decided to follow the BSD way. We all know that Linux is superior because of the support in the OSS community. What you think IBM doesn't know that? Microsoft is going down if you disagree you lead a blind life. The revolution is here!

      -5q33z

    3. Re:Why Darwin by Anonymous Coward · · Score: 0

      NeXT/Mach wasn't a "new kernel project", in fact I think it's older than Linux!

    4. Re:Why Darwin by jericho4.0 · · Score: 3, Insightful
      I think you got it in your question. Linux is more quickly progressing. Basing the future of Apple on such a mecurial OS might not be the best thing to do.

      The BSD development process is slow and steady. It doesn't have 4 different threading models in the tree. It puts stability above new features. All good things for Apple.

      It would have been nice though.....

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    5. Re:Why Darwin by Anonymous Coward · · Score: 0

      Because they cannot control Linux, and Apple is about as controlling of a computer company as they can get.

    6. Re:Why Darwin by BeeShoo · · Score: 1

      Three simple words -

      Gee Pee Ell.

      Nuff said.
      Damn. There goes my karma.

    7. Re:Why Darwin by overunderunderdone · · Score: 2

      Why did Apple choose to go out and start a new kernel project when they could have just based OS X on the Linux kernel instead?

      MacOS X is really an upgrade of OpenStep/NextStep (essentially Darwin, Cocoa & display Postscript instead of Quartz). I'm pretty sure it is actually older than Linux - I'm certain the Mach microkernel is older than the Linux kernel.

      To some extent though it is fair to say that MacOS X is "new" since they added/changed a lot to make OpenStep into something Mac users would accept as a "MacOS" (though not so much to the lower-level stuff Moshe was testing). They would have had to do even more work to get it all running on top of Linux, and to gain what?

    8. Re:Why Darwin by RevAaron · · Score: 3, Informative

      Mach has been around years longer than Linux. Mach existed before this event, but in Oct. 1988 the first NeXT cube running NeXTSTEP on a 68030 was released. Every version of NeXTSTEP ran on Mach.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    9. Re:Why Darwin by 2nd+Post! · · Score: 2

      This kernel has been fine tuned since 1988.

      Apple's only been playing with this kernel since 1997, I think.

      I don't think Linux was around in 1988 :)

    10. Re:Why Darwin by beagle · · Score: 2
      MacOS X is really an upgrade of OpenStep/NextStep (essentially Darwin, Cocoa & display Postscript instead of Quartz). I'm pretty sure it is actually older than Linux - I'm certain the Mach microkernel is older than the Linux kernel.

      It is older. You can see this on the history of Unix page. NextStep dates to 1988; Linux to 1991.

    11. Re:Why Darwin by depeche · · Score: 1

      Actually the Mach kernel is MUCH older than Linux--started in 1985 and has a long and rich development history. Apple bought NeXT, and used OpenStep as the basis for OS X. OpenStep/NeXTStep was based on Mach. Also see the HURD.

    12. Re:Why Darwin by sql*kitten · · Score: 3, Insightful

      Why did Apple choose to go out and start a new kernel project when they could have just based OS X on the Linux kernel instead? They could have gained so much ground and lost so little. It's worked for so many other companies--why not Apple?

      Because NeXTStep was BSD-on-mach, and MacOS X on Xserve is essentially the next (forgive the pun) iteration of the NeXT Cube. (I am posting this from OmniWeb 2.0 running on NeXTStep 3.3 on an original Color Turbo).

    13. Re:Why Darwin by forgotmypassword · · Score: 1

      You are forgeting that Linus and AC and all of the other uber hackers work on the bleeding edge.

      Here is the list of _maintained_ stable kernels

      We are almost to 2.0.40
      We have 2.2.22
      We are almost to 2.4.20 (current stable)
      Soon we will be on 2.6.0 or 3.0.0 as well

      Apple could have easily started on the stable 2.0 and then jumped to the next stable series every few years.

      So that can't be the reason. I can only assume that they thought a micro kernel would be some great technology. But then again Mach has been a big fat whore since before MKLinux.

      At least they didn't wait for Hurd.

    14. Re:Why Darwin by Anonymous Coward · · Score: 0

      Another huge reason that they based it on Mach is because Avie Tevanian is the Senior Vice President of Software Engineering at Apple. Avie Tevanian "invented" Mach as part of his graduate work. See his official bio at at Apple for more info.

    15. Re:Why Darwin by megaduck · · Score: 5, Informative

      The Darwin kernel is based on Mach. While not a performance demon, Mach offers some very interesting advantages for Apple. Primarily, they have full rights to the code and can relicense it, whereas Linux would have bound them by the GPL. There's some technical advantages too, though.

      First of all, Mach was/is developed by Avi Tevanian. Avi is a old buddy of Steve Jobs and they've been working together since the NeXT days. Any questions about architecture? Ask the guy that wrote it, he's just down the hall.

      Secondly, the micro-kernelish nature of Mach makes Darwin (and OS X) a highly portable platform. With Motorola on the ropes, being able to shift platforms quickly is far more important than raw kernel speed. Darwin gives Apple hardware options, and options are a very good thing for Apple to have right now.

      Lastly, there's momentum. AFAIK, their kernel crew came over from NeXT, where they'd been using Mach since the eighties. Why bother learning the ins and outs of a new architecture, when you've already got something that works? Better to extend what you've already got.

      Darwin offers a pretty solid foundation for Apple. Moving to Linux would have taken a large effort for questionable gains.

      --
      This .sig for rent.
    16. Re:Why Darwin by Anonymous Coward · · Score: 0

      > "Linux is more quickly progressing"

      What did you mean by Linux (kernel or the distros)? Either way I don't agree with that statement. Linux has come on leaps and bounds due the companies investing money in full-time paid employees putting in a large amount of manhours.

      Linux development (in both meanings) has seen a surge in the last few years but as the slump in the market becomes more commonplace that progress will slow down.

      Remove those paid employees (or reduce their number) and those manhours and Linux 'progress' take a sizeable hit.

      OS X on the other hand has over a thousand full-time employees pushing it forward and Apple has the funds to buy 'off-the-shelf' code in some areas when necessary. There is also a community of developers working on Darwin.

      I would expect 'progress' to be quite sprightly in the near and long term on OS X.

      With regards to Darwin over Linux please remember to put things into historical context. When the key decisions regarding OS X were taken (late nineties), Linux wasn't even in a state to be considered as an option. Much work has gone into Linux since then but no commercial company would have bet its future on Linux at that time. Others have already given reasons to go with Mach but having Avie on board as part of the NeXT deal (together with a large number of NeXT engineers) and then shelving Mach would have been just plain silly.

  26. what jumps out at me by Anonymous Coward · · Score: 0

    1) who cares about "faster GUI"

    2) who cares about 10.1 anyway? 10.2 is what's out now. OS X is still a "work in progress".

    3) Also, is is usually the case with Macs, there are other considerations besides raw performance. like the ease of administration and the sweet xserve hardware.

    1. Re:what jumps out at me by Anonymous Coward · · Score: 0

      You can run Linux on an XServe.

  27. Number 1 I order you to take a Number 2 by Anonymous Coward · · Score: 0

    LOL Beavis and Butthead

  28. Purposefully denied? - a little clearer by Geek+Dash+Boy · · Score: 2

    I should have been more verbose.

    What I mean is, in a CGI script or dynamic page that is serving up the article, it is probably checking the HTTP referrer header and checking if it matches "slashdot.org".

    If not, it serves the page. If so, big fat 403.

    --
    I say we take off and nuke the entire site from orbit. It's the only way to be sure.
  29. shameless karma whoring by poot_rootbeer · · Score: 5, Funny


    Maybe it means the opposite of "was doing pretty evil". Presumably describing a Windows/IIS server configuration.

    1. Re:shameless karma whoring by Anonymous Coward · · Score: 0

      Still, using words like 'pretty' is bad style.

  30. GUI? by Anonymous Coward · · Score: 0

    Who needs a stinking gui on a machine that I will ssh to?

    -5q33z

    1. Re:GUI? by Anonymous Coward · · Score: 0

      I need GUIs on machines that I ssh -X to.

  31. Mach sucks! by Apotsy · · Score: 1

    Ever compare MkLinux and PPCLinux? Then you'll know that the slowdown is almost entirely Mach's fault. It's a piece of crap. The only reason Apple uses it is because it was written by one of their VPs. Anyone with any objectivity would have chosen a different kernel.

    1. Re:Mach sucks! by Anonymous Coward · · Score: 0

      MkLinux was slower then PPCLinux cause (IIRC) Mklinux had the Linux kernel sitting on top of Mach. Which allowed MkLinux to support machines that LinuxPPC did not (Apple x100 series PowerMacs, i think they ran on PPC 601's). Apple also went with Mach because Next/Openstep ran it.

      Basing an opinion on a Kernel from a hacked up version that pretty much died in 97? mmm k...

    2. Re:Mach sucks! by Apotsy · · Score: 1

      It is a valid comparison, because all Mach-based OSes have to have servers sitting on top of the microkernel. It's not like MkLinux had some disadvantage that no other Mach-based OS has. The way it worked was the way Mach is supposed to be used.

    3. Re:Mach sucks! by Anonymous Coward · · Score: 0

      No, not all Mach-based operating systems HAVE to have servers sitting on top of the microkernel. Mach is a piece of code which you CAN use to build a microkernel operating system, since it comprises what one would normally consider to be a ukernel, but there's nothing preventing one from using it as part of a monolithic OS.

      Which, as a matter of fact, is precisely how NeXT (and now Apple) do use it. The BSD portions are not "servers" running as processes on top of Mach. It's all in one address space. There is no separate BSD server process. The best way to describe it is that the Darwin kernel uses both BSD and Mach source code.

      Or, at least, that's how I understand the situation. I could be wrong.

    4. Re:Mach sucks! by Anonymous Coward · · Score: 0

      You can't compare MkLinux to MacOS X. MkLinux runs as a userland server under the Mach kernel, the BSD kernel portions of Darwin run in kernel space alongside the Mach kernel, effectively making it a Mach + BSD kernel.

  32. Also in "today's" headlines... by greygent · · Score: 4, Insightful

    Microsoft's Windows 2000 Server beat a Red Hat Linux* server in bandwidth tests, showing its clear superiority.

    * Red Hat Linux v4.2 used in tests.

    1. Re:Also in "today's" headlines... by DAldredge · · Score: 1

      I see that Netcraft is still in business.

    2. Re:Also in "today's" headlines... by sitruc37diesel · · Score: 1

      And the Win2K box was a quad Xeon...
      but the Linux box was a 386sx.

  33. Re:Moshe Bar! by Anonymous Coward · · Score: 0

    Shouldn't that be the jewy gooey centre ?

  34. Hmmm by IamTheRealMike · · Score: 2
    Is this really a level playing field? I don't know much about PPC support in Linux but I do know that it's certainly not as slick on the desktop on a Mac as it is on a PC.

    Isn't testing OS X vs Linux on Apple hardware kind of giving OS X an unfair advantage as Apple know the ins and outs of their proprietary hardware so can throw in all kinds of optimizations?

    I'd be more interested to see Darwin/x86 go against Linux for web serving, especially if you throw in the Tux kernel module web server (good for performance).

    1. Re:Hmmm by willis · · Score: 1
      I'd be more interested to see Darwin/x86 go against Linux for web serving, especially if you throw in the Tux kernel module web server (good for performance).

      If anything, wouldn't running tux be a bad idea? I doubt many people run Tux in production environments... so the results would be meaningles ("a highly tuned web server unrealistic in production on hardware that is known to be faster is better than a full-service web server running a different OS, etc") Apache v. apache is definitely a better comparison of how the two systems compete.

      Also, since the OS is the most interesting part (not the hardware - most people think x86 is faster than ppc for a given amount of money), it makes sense to compare to ppc versions of both OSs. (so we can say "Linux does IO better than OSX." or whatever).

      --

      there is no thing
      what else could you want?
  35. George Bush by Anonymous Coward · · Score: 0, Troll

    Our fearless leader. God bless him!

  36. It wouldn't ... by wasp+sting · · Score: 3, Informative


    FreeBSD PPC support is still wearing diapers, see the current status.

  37. Why use an old version of Mac OS X? by toupsie · · Score: 5, Informative
    1) Moshe is using an old version of Mac OS X. The current version is 10.2.

    2) Moshe is not smart enough to boot Mac OS X into command line, "Since for the life of me I couldn't figure out how to shut down the GUI environment of OS X" -- Moshe "I can't use Google" Bar. Here's a tip Moshi, when the log on screen pops up, type ">console" in the user line.

    3) MacSlash has already dealt with this.

    --
    Strange women lying in ponds distributing swords is no basis for a system of government.
    1. Re:Why use an old version of Mac OS X? by brunes69 · · Score: 0, Flamebait

      For one, you'd best not be dissing Moshe, he is 1000x the hacker you will ever be. And for another, who cares if some other crackpot news site reports something first? I see at least 10 stories a week that show up on K5 before slashdot. Doesn't mean they shouldn't get posted here as well.

    2. Re:Why use an old version of Mac OS X? by IamTheRealMike · · Score: 2
      2) Moshe is not smart enough to boot Mac OS X into command line

      I thought the point of the XServe was that you didn't need the command line? Why would being "smart" have anything to do with it anyway, the stuff in that tutorial you linked to is not at all obvious, and Apple has conditioned everybody to think that everything is always obvious on a Mac.

      If you don't need a GUI, then why bother with an XServe. And if you do, then why do you want to boot it into the command line?

    3. Re:Why use an old version of Mac OS X? by __aanonl8035 · · Score: 2

      " 2) Moshe is not smart enough to boot Mac OS X into command line, "Since for the life of me I couldn't figure out how to shut down the GUI environment of OS X" -- Moshe "I can't use Google" Bar. Here's a tip Moshi, when the log on screen pops up, type ">console" [osxfaq.com] in the user line. "

      It must be very very difficult to be
      an online journalist, be human, and be
      berated for not being perfect.

    4. Re:Why use an old version of Mac OS X? by Anonymous Coward · · Score: 0

      toupsie, you are a dumbass. He isn't using an old version of Mac OS X, he is using the version of Mac OS X Server that came with the server.

      Since Linux is free, he can get the latest version of that just by downloading. Since Mac OS X Server isn't free, why don't you buy an upgrade for him?

      The correct link is http://www.apple.com/server/

    5. Re:Why use an old version of Mac OS X? by toupsie · · Score: 2
      I thought the point of the XServe was that you didn't need the command line?

      Did you read the article? Moshe said he wanted to but couldn't figure out how to do it. And if its not obvious, how was I able to use Google and in a fraction of a second figure it out? He is supposed to 1000x the hacker I am according to another poster. Therefore if a dumba$$ like me can figure it out, an uberhacker like Moshe should not have a problem.

      --
      Strange women lying in ponds distributing swords is no basis for a system of government.
    6. Re:Why use an old version of Mac OS X? by toupsie · · Score: 5, Insightful
      It must be very very difficult to be an online journalist, be human, and be berated for not being perfect.

      Its called "fact checking". If you are publishing for a magazine, its a requirement. Moshe could of typed this in Google and figured it out quickly. You would expect a person that is doing benchmarking of a product for publication to actually understand how to set it up for the test. Not doing this has made this article a waste of time.

      --
      Strange women lying in ponds distributing swords is no basis for a system of government.
    7. Re:Why use an old version of Mac OS X? by toupsie · · Score: 2
      toupsie, you are a dumbass. He isn't using an old version of Mac OS X, he is using the version of Mac OS X Server that came with the server.

      So anonymous genius, if I have a 1993 Compaq with its original install of Microsoft Windows, its not an outdated version? Hey, that's the copy of Windows it came with

      --
      Strange women lying in ponds distributing swords is no basis for a system of government.
    8. Re:Why use an old version of Mac OS X? by prockcore · · Score: 2
      Its called "fact checking".


      Why, was there a fact that wasn't checked? Moshe stated "I couldn't figure out how to turn off the GUI in OSX". Are you saying he's lying and that he really did figure it out?

    9. Re:Why use an old version of Mac OS X? by toupsie · · Score: 2
      Why, was there a fact that wasn't checked? Moshe stated "I couldn't figure out how to turn off the GUI in OSX". Are you saying he's lying and that he really did figure it out?

      Someone with Moshe's background not being able to figure out how to configure Mac OS X GUI-less is suspect. The web is riddled with the instructions. He is by all accounts an "uberhacker". Plus he made several errors in the review that others pointed out before I could. The article should be yanked for lack of quality of information. Byte should have higher standards.

      --
      Strange women lying in ponds distributing swords is no basis for a system of government.
  38. Not FreeBSD Derived by democritus · · Score: 2, Insightful
    Okay folks, let's get this right. MacOS X is not derived from FreeBSD. It is derived from NextStep. MacOS X is a Mach microkernal with a persona that attemps to mimick BSD, FreeBSD in particular.


    Saying MacOS X is derived from FreeBSD is like saying that Windows XP is derived from System V because they both have POSIX compatibility layers. It's stupid and wrong.

    1. Re:Not FreeBSD Derived by norwoodites · · Score: 2

      The userland apps are derived from FreeBSD, OpenBSD and NetBSD while most of the kernel is derived from Mach and a little from FreeBSD.

    2. Re:Not FreeBSD Derived by Anonymous Coward · · Score: 0

      Darwin is a complete BSD UNIX implementation, derived from the original 4.4BSD-Lite2 Open Source distribution. Darwin uses a monolithic kernel based on FreeBSD 4.4 and the OSF/mk Mach 3, combining BSD's POSIX support with the fine-grained multithreading and real-time performance of Mach.

    3. Re:Not FreeBSD Derived by Kz · · Score: 2

      FreeBSD is widely acclaimed as a very portable kernel. One of these ports was to the Mach microkernel; called the 'BSD server'. In micokernel architectures are called servers and this particular process 'serves' the BSD API, so user level processes can pretend that that big process is just a monolithic kernel. There was also a 'BSD multiserver', roghly similar to the Hurd, but composed of lots of fragments of original FreeBSD code.

      The original NeXT machines ran a Mach microkernel on 68020 cpus, and a FreeBSD monoserver; therefore, it's just a version of FreeBSD, but with a Mach below it.

      there's also MkLinux and L4Linux, would you say those aren't Linux just because there's a microkernel below it?

      --
      -Kz-
    4. Re:Not FreeBSD Derived by Anonymous Coward · · Score: 0

      There is no BSD server in MacOS X, the Unix functionality is integrated with the Mach kernel. It does contain a lot of code from FreeBSD.

      There was no BSD server in NeXTSTEP, either, it was similarly integrated. It wasn't FreeBSD, though, but 4.3 BSD.

      I haven't heard of any BSD multiserver, if you're referring to Mach US, it was more or less written from scratch.

      A FreeBSD-based single server actually exists, it's called Lites.

  39. MacSlash ran this... by gnuadam · · Score: 3, Informative

    ....you should check out their comments.

    --
    You say :wq, I say ZZ. Why can't we all just get along?
  40. Umm, what? by void* · · Score: 2, Insightful

    From the /. article...
    Mac OS X Server 10.1.5 wasn't as far behind the curve as you might think. Performance might've been better if Moshe had Mac OS X Server 10.2, with its faster GUI...

    From the article itself..
    The included AGP 4X card with 64 MB of dedicated graphics RAM is a screamer...

    Ok, my question is this: It's a server-to-server comparison. What relevance does the speed of the GUI , and the performance of the graphics card, have? IMHO, the GUI should be shut down if at all possible for any server application.

    --


    Code or be coded.
  41. Hear, hear... by GreatDave · · Score: 5, Insightful

    Agreed... but let me throw you a curve.

    POSIX systems have extensibility, portability, multiple programming languages, a networked windowing system with your choice of WM/DE, TRUE multiuser capability, efficiency and stability.

    What does Windows have? Most of the above, specifically minus portability, the networked windows system (Terminal Services doesn't cut the cheese), efficiency (in recent versions) and stability. What Windows doesn't give you is choice. I argue Windows is not any more "designed for the user" than Unix, but rather that in Windows (or at least in each version) everything is only One Microsoft Way, and you cannot do much to change that. Microsoft also has mindshare and a $50+ stock price.

    To the topic at hand now. Apple now more or less equals Unix as far as the OS is concerned. Specifically, OS X is POSIX plus everything being pretty, and there being an Apple Way (often, multiple Apple ways such as the choice of APIs) and a BSD Way to do most things.

    This is why I argue OS X, now that it is proving itself as a server, can advance ground on the desktop and on the server.

    --
    "I am root. Bow before me." To this I say, "You are root, and you bear the sins of the world upon your shoulders."
    1. Re:Hear, hear... by b0r1s · · Score: 2, Insightful

      You might consider rewording your argument to get rid of "posix systems". Windows 2000 is compliant with the POSIX 1003.1 standard.

      source .

      --
      Mooniacs for iOS and Android
    2. Re:Hear, hear... by the_danielsan · · Score: 1
      What does Windows have

      Well,

      (almost) consistent look across all applications. Thus, not having to install 10'000 skins (GTK, KDE, ..) just to change the look of your whole desktop.

      drag and drop / clipboard that just works

      ...

    3. Re:Hear, hear... by MonsterChicharo · · Score: 2, Insightful
      Terminal Services doesn't cut the cheese

      What part of the cheese is uncut?

      Really, I mean, at work we make heavy use of Terminal Services (combined with Citrix Metaframe). It is a nice solution. It lets the work to be done pretty well. The cheese is being cut right now.

      Is your milleage varying? Did you have a bad implementation, perhaps?

    4. Re:Hear, hear... by angelo · · Score: 1

      You've never used drag and drop until you see it on an MacOS system. Sorry, there is no comparison. Drag and drop 'just works' And OS X is more consistent than Windows. Hell, a linux box running gtk+ is pretty darn consistent. The fact that developers think they know better than MSFT on the windows platform leads to some pretty darn inconsistent design work. Ask yourself this: why is it that 99% of designed-for-MacOS applications support cmd-w to close a window, and cmd-q to close an app? It's because it's a standard that Apple marked DNFW.

    5. Re:Hear, hear... by Noer · · Score: 2

      POSIX does not have a networked windows system. Well, most POSIX-compliant systems do happen to have one (X11) but X11, or any GUI for that matter, is NOT part of the POSIX standard.

      For that matter, isn't Windoze now at least partially POSIX-compliant?

      Just come out and say it... s/POSIX/unix/g in your post :)

      --
      -- "Those who cast the votes decide nothing. Those who count the votes decide everything." -Joseph Stalin
    6. Re:Hear, hear... by Pius+II. · · Score: 1

      What I like is that the Apple way (GUI-wise) is not an undocumented API which nobody can fully understand (like on Windows), but a nice implementation of OpenStep (sp).
      Granted, they've changed some file formats from NeXT, but they've always changed _from_ obfuscated binary to XML. That makes it easier to have cross-platform compatibility supplied by multiple vendors.

      Now if only the main gcc branch would include the ObjectiveC++ patches...

    7. Re:Hear, hear... by Paul+Komarek · · Score: 2

      It is only barely compliant, and only with one part of POSIX. It's not nearly enough to be genuinely useful. IIRC, Microsoft had to acheive this minimal compliance to be able to sell into certain markets (maybe the US military).

      -Paul Komarek

  42. Re:Moshe Bar! by Anonymous Coward · · Score: 0

    No no, the Moshe Bar is where I hang out after work.

  43. Should use 10.2 in the comparison by plazman30 · · Score: 1

    10.2 is compiled completely in gcc 3.0. I would think even things like Apache would run faster when compiled with gcc 3, rather than the 2.x variant that shipped with 10.1

  44. Re:I'd like to see him repeat it, with a few chang by jericho4.0 · · Score: 2
    Just what I was thinking. I know you could do a lot of tweaking to get SuSe to run faster, but I bet there's not much you could do with OSX, seeing as it's running on Apple hardware.

    Still, an impressive showing for OSX. I think Apple's strength over the next several years will continue to be the desktop, but it looks like they might do well in the server market also.

    Oh yeah, I also think the Xserve is on of the most desirable pieces of hardware on the planet. They're purrty.

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  45. Re:I'd like to see him repeat it, with a few chang by coldwd · · Score: 2, Interesting

    This story was originally posted on MacSlash, with a thread of opinions on this as well.

    Biggest optimizations he missed: turning off Aqua! I kind of have to take this whole test with a grain of salt, you're not really doing justice to a spec test when you have two gui's running taking away performance from what your trying to test: the server.


    Since for the life of me I couldn't figure out how to shut down the GUI environment of OS X, I configured a simple VGA X server for Linux and started KDE, just to have a fair basis for comparison.


    Come on Moche, do a little research and login as "> console".

    --
    "I wish I had a Kryptonite cross, because then you could keep both Dracula AND Superman away." --Jack Handy
  46. Still very nice by mao+che+minh · · Score: 5, Informative

    These results, should they turn out to be reliable (which I believe that they are), speak volumes about the quality of MAC OS X. It is just slightly less efficient then Linux, yet still retaining a very high "ease of use factor". Not to mention it's amazing progess with the various components of it's GUI (Quartz - which creates two dimensional images, ATS, terrific OpenGL, the ability to save anything as a PDF, Aqua....) and easy to implement Cocoa and Carbon APIs.

    1. Re:Still very nice by IamTheRealMike · · Score: 1, Flamebait
      Moderators?? Hello??

      These results have absolutely jack all to do with the "quality" of OS X - they were comparing servers not desktops, so stuff like the GUI is not at all relevant.

      A lot of those components that have had "amazing progress" are also irrelevant: if we ignore the fact that every OS supports OpenGL, can create 2D images, and KDE had PDF creation built in before OS X was even released we're still left with the last section, and easy to implement Cocoa and Carbon APIs. which is BS, only Apple can implement them as they are OS X only APIs. Sure, maybe you could build something like Wine, but that's hardly easy to implement is it? Easy to implement would mean international standards and open source reference implementations, Cocoa is sort of there, but most OS X apps of note use Carbon.

      Why the hell can people get free karma by drooling over MacOS? Stop with the crack pipes mods!

    2. Re:Still very nice by mao+che+minh · · Score: 2
      Have you ever used MAC OS X server edition? It doesn't sound as though you have. MAC OS X server is basically MAC OS X desktop with additional features and utilities only useful to a unit running as a server (as well as kernel enhancements, of course). The GUI and all of it's components are still intact, of course. Ease of use, even to the administrator, is MAC's pitch. An administrator of MAC OS X server would find himself using that interface quite a bit, if not all of time (again, that is MAc's pitch, duh). Did you actually believe that the MAC OS X server lacks these core technologies, or that the quality of it's interface should be ignored in an overall comparison?

      Now the obvious: Apple blended the components of MAC OS X together beatifully. It wasn;t mentioned what came from where, or what OS could this or that first. You need to learn yourself how to reade gooder.

    3. Re:Still very nice by Etcetera · · Score: 2


      (pet peeve)

      "MAC" = ethernet address
      "Mac" = abbreviation for "Macintosh"

      Other than that, I agree with you :)

    4. Re:Still very nice by Anonymous Coward · · Score: 0

      I professionally work with OS X Server every fucking day. I consider the "pretty" GUI stuff superfluous, and its administration software to be sub-par and inconsistent.

      I completely agree with you. It's getting insane around here about Mac OS X.

  47. MacOS X vs. RedHat by Anonymous Coward · · Score: 1, Interesting

    The following pdf-file probably needs some clarifications from someone else than me. MacOS X beats RedHat over and over.

    1. Re:MacOS X vs. RedHat by Anonymous Coward · · Score: 1, Interesting

      This pdf-file.

    2. Re:MacOS X vs. RedHat by Anonymous Coward · · Score: 0

      Notice how the Apple machine was the only one with DDR RAM? Perhaps this was on purpose?

    3. Re:MacOS X vs. RedHat by Colin+Bayer · · Score: 2

      a) The BLAST test was performed with a client specifically optimized for G4, and developed by Apple in conjunction with the original author. I doubt RedHat and Intel got that kind of collaboration.

      b) The benchmarking was performed by Apple. And before people go flaming me, saying that Apple is trustworthy, they're just another company looking out for their bottom line. The fact that they released OS X, which cures cancer and freshens your breath while you're asleep (to hear some tell it), does not change the fact that they are in the business of selling software and hardware.

      c) They don't specify which version of RedHat 7.2 was used, or any specific optimizations performed to either OS X or RedHat. Pessimistically, one can assume that OS X was overoptimized (perhaps built specially for the benchmark, stripping unnecessary bloat from the operating system), and that RedHat was underoptimized (out of the box, meaning that most of the software was optimized for i386-series processors, and the kernel was optimized for Pentium Pro, which has different timing minutiae from the P3.)

      d) RedHat Linux is not a server platform; it is aimed squarely at the business workstation. Debian, Slackware, or Gentoo would have been more suited to the task.

      --
      Want Linux games? HERE.
    4. Re:MacOS X vs. RedHat by Anonymous Coward · · Score: 0

      The current PPC Architecture in use has limitations in the pipe that reduce the effectiveness of using DDR. Shouldn't make much, if any difference.

  48. Re:I'd like to see him repeat it, with a few chang by babbage · · Score: 3, Informative
    One other one:

    d) Try the tests while logged into the Mac in console mode, by typing

    >console"
    at the system login screen.

    As others have noted, a dormant window manager shouldn't consume any processor time, but if you can disable it on both machines that's a more accurate comparison than trying to get an X11/KDE combination to perform similarly to Aqua. That itself would be a long, complex, and ultimately probably not very interesting comparison to run -- suffice to say that if you can make both window servers fall out of the picture the comparison should be more accurate.

  49. This article proves little... by mojowantshappy · · Score: 1

    Well, this article proves that OS X runs fairly well on the only architecture it can run on, but not only is linux better, but it can run on more powerful platforms. Darwin may be ported to x86, but a kernel isn't an operating system as GNU pointed out. Bottom line is that OS X can't run on other hardware then PowerPC, which isn't a very powerful platform. The only way Apple can make OS X succesful for server is if they port the whole OS to x86 or Alpha which are not only industry standards, but are much more powerful then PowerPC.

    --

    This page was generated by a Barrel of Circus Midgets, and that is the way I like it!!!

    1. Re:This article proves little... by WatertonMan · · Score: 2
      You do know Alpha is dead. Right? Further the main market Apple is focusing in on are servers for people with OSX in their enterprise. For those types of users XServe is very nice. The fact that it is already competitive with equivalent offerings from DELL is nice.

      Yeah most people here would rather roll their own hardware/software system with either Linux or BSD on an x86 system. For larger systems Sun is the reasonable choice. But just because it doesn't meet every need isn't to say that it can't be successful for a server. After al there are different kinds of servers. You wouldn't compare a powerful multiprocessor Sun against Linux on a Pentium4, for instance. They simply are focused in on different markets.

      Getting back to your hardware point. Other than focusing in on obsolete hardware, you do have a point. Right now the G4 and chipset Apple uses isn't competitive. Its amazing they got the performance/dollar they did. However with the 970 next year Apple should be able to move into being far more competitive.

      Yeah there is always the danger of "vaporware" comparisons. (Remember when the G5 was just around the corner?) But I think IBM is far more reliable than Motorola. Further IBM likely wants to use the chip in their own Linux multiprocessor systems. In that case we'll have a very interesting comparison between OSX and Linux. Further I suspect that while the 970 will initially be middle of the pack, that it may end up doing quite well in multiprocessor servers. By that time OSX and their server software will be in their next major revision and should be far more mature. Hopefully the new filesystem will even be out.

    2. Re:This article proves little... by mojowantshappy · · Score: 1

      Actually, Alpha is not dead, well... mostly. It isn't very popular, but at the moment an Alpha processor is the fastest processor available according the the SPECfcp2000 Benchmarks. You do make a good point about the PowerPC 970. That thing is going to kick ass, though the AMD x86-64 will be a little better than the PowerPC 970... at least according to IBM on that earlier slashdot article. Still, the PowerPC will make the XServe more attractive then it currently is, though I am interested how much it will cost when it comes out. I find how much the current XServe really the major down point, besides the G4, as I could make a comparable server for much less. I agree with you that IBM is much more reliable than IBM. I can never say anything bad against IBM. :-) Yeah, really, it is just the hardware I don't like about the XServe. Even though I used to hate Macs, I love OS X, but I really don't think it is a great idea for servers. Well, only time will tell.

      --

      This page was generated by a Barrel of Circus Midgets, and that is the way I like it!!!

    3. Re:This article proves little... by Anonymous Coward · · Score: 0

      "Well, this article proves that OS X runs fairly well on the only architecture it can run on"

      I had Darwin running on an old 433Mhz Celeron.
      It wasn't pretty, but it ran none the less.

      "Darwin may be ported to x86, but a kernel isn't an operating system as GNU pointed out."

      You seem to be confusing Darwin with Xnu.
      Xnu is a kernel, Darwin is the distribution.

      "but not only is linux better, but it can run on more powerful platforms."

      It seems Moshe went out of his way to make this "benchmark" as biased as possible.
      It would have been nice if he used the latest version of OSX and logged in as console.
      He leaves me wondering if this was the first time he used OSX.

    4. Re:This article proves little... by mojowantshappy · · Score: 1

      I thought Darwin was the kernel. So, what distinguishes Darwin from Mac OS X?

      --

      This page was generated by a Barrel of Circus Midgets, and that is the way I like it!!!

    5. Re:This article proves little... by jweatherley · · Score: 2

      Darwin is a bare bones distro. You can run the GNU tools and X windows on it. OS X has all the eye candy and Apple only stuff like Aqua, Quartz, Quicktime etc.

      Take a look at this page to see what is layered on top of Darwin to get OS X.

      --

      --
      Reverse outsourcing: it's the future
    6. Re:This article proves little... by mojowantshappy · · Score: 1

      Well, I do understand what Mac OS X is compared to Darwin, but even that diagram and your description makes Darwin just seem like a kernel. You BASH and X ontop of Darwin, much the same way you run BASH and X ontop of Linux (hence GNU's bitching... much deserved, but bitching none the less, about GNU/Linux).

      --

      This page was generated by a Barrel of Circus Midgets, and that is the way I like it!!!

    7. Re:This article proves little... by jweatherley · · Score: 2
      If you go to Apple's site and download Darwin you do get more than just the xnu kernel though. Darwin on its own is certainly not an awful lot compared to a typical GNU/Linux distro or OS X but it is more than a kernel image.

      Here's a list of stuff that is included in Darwin. Also, this page makes the following point:
      It's worth emphasizing that even without the other elements of Mac OS X -- the powerful graphics layer (QuickTime, OpenGL, Quartz), the array of flexible application environments (Carbon, Cocoa, Java), and the eye-catching Aqua user interface -- Darwin is a complete, functional operating system.
      So Darwin is definitely more than a kernel.
      --

      --
      Reverse outsourcing: it's the future
    8. Re:This article proves little... by mojowantshappy · · Score: 1

      I see, that makes sense. Thanks a lot for clearing this up for me.

      --

      This page was generated by a Barrel of Circus Midgets, and that is the way I like it!!!

  50. server == remote GUI by axxackall · · Score: 1
    Server admins like to access their server remotely. Including GUI-based admin applications, which are basically X11. Mac OS X does not have GUI I can run remotely. There is no X11 admin application for Mac OS X.

    Therefore, Mac OS X is not convinient for server admins.

    --

    Less is more !
    1. Re:server == remote GUI by Anonymous Coward · · Score: 0

      really? i dont think so...here ya go... Apple remote desktop

    2. Re:server == remote GUI by ceejayoz · · Score: 2

      There are a number of VNC server/client programs you could use. There's this, for example.

    3. Re:server == remote GUI by WatertonMan · · Score: 2
      Actually XServe does have a remote GUI admin tool. It isn't quite the same as X11 in terms of generality. I'm told it is very fast though and makes it VERY easy to manage several XServe systems at once. (i.e. a full rack worth of rendering engines)

      Of course if you really need full remote control there are all sorts of programs like that for both XP and OSX. Of course they are much slower than X11 whether running on OSX or XP) But then you typically don't need that functionality much. Further those using them probably are running across a 1GB Ethernet communication rather than across the Internet.

      For more info check out Apple's XServe site

      or do a google for some reviews on the GUI. But if you are going to make a claim that there is no remote GUI management is simply silly.

    4. Re:server == remote GUI by ZerothAngel · · Score: 3, Informative
      Mac OS X does not have GUI I can run remotely.

      Three words. Apple Remote Desktop.

    5. Re:server == remote GUI by Kz · · Score: 2

      Apple has its own remote GUI. it's not X11, so all mac apps (both X and classic) can run remotely

      --
      -Kz-
    6. Re:server == remote GUI by axxackall · · Score: 2

      VNC is slow. Besides, suggesting to use VNC after X11 is like suggesting to use floppy disk after CD.

      --

      Less is more !
    7. Re:server == remote GUI by axxackall · · Score: 2

      That's the problem. I am again limited to one proprietary vendor, same as with M$. Compare it to X11 where I can run X11 appications cross any platforms with X11: many commercial Unices, BSD/x86, Linux/x86, Linux/PPC even win32/Cygwin, Darwin/X11. But I cannot remotely AND cross-platform Mac OS X admin tools. Imagine problems Mac OS X server will have in most of hosting facilities.

      --

      Less is more !
    8. Re:server == remote GUI by axxackall · · Score: 2
      And of course most of hosting facilities are comfortable with "Apple Remote Desktop" and they can run it on their X11, pardon Mac OS X, consoles.

      I suggest you to come back to reality.

      --

      Less is more !
    9. Re:server == remote GUI by axxackall · · Score: 2
      ... 1Gb Ethernet...

      I guess you are living in USA, am I right?

      --

      Less is more !
  51. Redundant story... by wirelessbuzzers · · Score: 1

    In other news, all your base are still belong to us.

    --
    I hereby place the above post in the public domain.
  52. Re:I'd like to see him repeat it, with a few chang by babbage · · Score: 1

    Err, no quote on console there, damn typos...

  53. optimizations by sprytel · · Score: 2, Insightful

    When you compile these applications, doesn't the source code contain platform-specific optimizations?

    It wouldn't surprise me that the implementation of Linux sendmail (for instance) has been tweaked to run faster than the OSX version.

    Obviously, the excuse "its not the OS, its the apps" holds little water... since the OS is only as good as what you run on it... but still...

    1. Re:optimizations by Colin+Bayer · · Score: 1

      Optimizations are generally going to stem from one of two places: the compiler, or hand-tweaked assembly.

      An application like Sendmail or Apache is not going to be doing the computational heavy lifting that necessitates hand-tweaking of assembly, so such optimizations aren't going to be worthwhile.

      If such optimizations are stemming from the compiler, then Apple's gcc backend is inferior, and indeed deserves to lose.

      --
      Want Linux games? HERE.
    2. Re:optimizations by Colin+Bayer · · Score: 1

      Err, platform-specific optimizations, that is.

      --
      Want Linux games? HERE.
  54. This is a big win for Apple by elliotj · · Score: 3, Interesting

    People buy OS X for different reasons than they do Linux. The fact that OS X has comparable performance is great news for the Mac platform.

    I love OS X for my desktop. I don't think I'd use it on a server because I can build a cheaper server using Linux to do everything OS X does and better. But from a desktop standpoint I find the GUI and applications a more pleasant experience than what's available for Linux.

    So the fact that I can run Apache, PERL, PHP, MySQL, GNU tools, BSD userland, AND Office X, Photoshop, RTCW, Jedi Knight etc on the same laptop makes me very happy. And it beats the hell out of dual-booting.

    So this is great for OS X. And great for Linux too I guess. Yay, everyone wins!

  55. Uh... try "console" as the login name. by Trillan · · Score: 2, Informative

    Logging in to Mac OS X as ">console" will switch to a textual login prompt.

  56. Re:I'd like to see him repeat it, with a few chang by Anonymous Coward · · Score: 0
    I'd like to see him repeat it, but with a few changes:

    >a) Get the latest Jaguar
    b) Go to Apple and SuSE and get advice on tuning
    c) If it is available under SuSE, use gcc 3.1 for compiling

    I agree. Once the GCC based PPC Linux distributions are available, a retest with Jaguar would be appropriate.

  57. Moshe Bar has no credibility in my book by Anonymous Coward · · Score: 2, Interesting
    In an earlier article, the wizard who wrote the above mentioned article, included some of his sample benchmarking code:
    #include <stdio.h>
    void main( void ){
    int x;
    long y;
    y = 28.2839281;
    x = 339829;
    y = x / y;
    printf("Content-Type: text/html\n\n");
    printf("Hello, world ");
    }
    along with the comment "Notice how I included some simple floating point arithmetic in the C program to make things just a tad tougher."
    1. Re:Moshe Bar has no credibility in my book by b17bmbr · · Score: 0

      and you've written a linux kernel extension for single image clustering?

      if you agree or disagree with him fine. but you're an idiot for saying moshe bar has no credibility.

      --
      My problem? I was perfectly gruntled, until some numbnuts came by and dissed me.
    2. Re:Moshe Bar has no credibility in my book by Anonymous Coward · · Score: 0

      What does writing a kernel extension have to do with understanding what constitutes a good/fair benchmark? After all, the article was about comparing performance, not the nuances of kernel hacking.

      I'll judge the credibility of the author based on what he's done in the past in a certain area. I could care less if he excels in another area.

      I've done a fair amount of benchmarking, which usually included a lot of additional testing to find the exact source of any bottleneck to ensure that the tests were fair.

      Not that it matters, but I've also done more than a bit of kernel hacking, large application development, web server deployment/tuning, etc.

    3. Re:Moshe Bar has no credibility in my book by Anonymous Coward · · Score: 0

      moshe bar wrote the most unbelivably FUCKED kernel extension for single image clustering, moreover I reckon it is quite possibly the worst kernel extension EVER.

    4. Re:Moshe Bar has no credibility in my book by Anonymous Coward · · Score: 0

      Moshe Bar HAS NOT written a linux kernel extension. He has taken the MOSIX team's work and "enhanced" it, for value of enhance that equal "made it incredibly buggy by not having a single, forlorn clue". Take a look at the openmosix CVS sometime and see what I mean, but prepare a barf bag before hand.

      He has no credibility because he has no code writing skills whatsoever. He talks smooth, but that's it.

  58. Still the double price tag... by Dog+and+Pony · · Score: 3, Insightful

    ... for a Mac. When it goes up to double performance, I'll consider it. For now, it is just so many pretty colors when running in as a server. In my personal opinion, that goes for the desktop too. But I'm sure many disagree, because "OS X has feature X!" Fine with me.

  59. Apple trippled Market share by Arcturax · · Score: 3, Informative

    Our friends at Macslash have an article about Apple recently jumping to the #5 server vendor, behind Sun Microsystems.

    In another MacSlash article, Why use Linux? there is quite a lot of discussion about the merits of both Linux and Mac OS X.

    Both make rather interesting reading!

    --

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

    10.2 is much faster - rematch!

  61. Idiotic comparison by Brian+Knotts · · Score: 3, Insightful
    Who the heck buys an Xserve on which to run Linux?

    A more legitimate comparison would be a $4000 Xserve running OS X vs. $4000 worth of Linux on x86 hardware.

    But, we know what the results of that would be.

    1. Re:Idiotic comparison by jcbphi · · Score: 2, Insightful

      This is not a comparison of x86 Linux vs. OS X on the XServe. This is a comparison of Linux vs. OS X, running on the same hardware, in an attempt to gauge speed differences between the two OSs.

  62. In name only by GreatDave · · Score: 3, Insightful

    POSIX is all about portability. The day I can take a Unix program and recompile it on Windows without the use of an intermediary API or environment (Cygwin, MS-SFU) is the day Windows is truly POSIX compliant.

    FTR, for drivers, Windows provides some POSIX support. This is why your hosts file is in a directory called etc in system32\drivers, for example. But Windows breaks POSIX in many other smaller ways. I'd really question how MS got that certification for Win2k.

    --
    "I am root. Bow before me." To this I say, "You are root, and you bear the sins of the world upon your shoulders."
  63. NetBSD vs OSX? by xtremex · · Score: 1

    Has anyone done a unbiased comparison of NetBSD on PPC (which is much more mature than FreeBSD) with Mac OS X?

    --
    If you're not a Liberal in your 20's, then you have no heart.If you're still a Liberal in your 30's you have no brain.
  64. What File System, console login and more by gallir · · Score: 4, Interesting
    Something which I didn't find. Which filesystem did he used for the tests?

    OS X FS (HFS+) is not journaled. OTH, which FS in Linux? Ext3 is journaled and not very good for large directories without htree patch. ReiserFS is really fast for small files and creating new files. XFS very fast for large files...

    That's to say, the filesystem is possibly the bottleneck for those database and sandmail test. And don't forget the huge amount of apache log lines generated during the benchmarks.

    OTH, why did he disable fsync in sendmail? Any doubt in filesystem/cache performance on OS X?

    And.. for god sake, he didn't found how to disable the Aqua environment? And the console login whithout a password, what? One of my student found it in couple of seconds in Google.

    Cony!

    --
    sgis ddo ekil t'nod i
  65. Apple Server Market share increases 273.8% by burgburgburg · · Score: 3, Informative

    Gartner has a report of the Worldwide server market for the 3Q 2002 (which grew by 3.1%). Though Apple makes up 1.2% of the server market, their sales of servers increased 273.8% (they were 0.4% 3Q 2001). Seems the XServe is making a positive impression.

    1. Re:Apple Server Market share increases 273.8% by Anonymous Coward · · Score: 0

      whats sad is that increase doesn't even begin to shock me....

  66. why don't you... by Anonymous Coward · · Score: 0

    shut the FUCK up about your karma...

  67. Java performance... by wilburdg · · Score: 5, Informative

    I ran the Scimark 2.0 Java benchmarks on the same machine, running Yellow Dog Linux, kernel 2.4.19, versus Mac OS 10.2.

    Here are my results

    Yellow Dog 2.3: SciMark 2.0a

    Composite Score: 139.92947174097748
    FFT (1024): 123.98639890992068
    SOR (100x100): 166.2888365390105
    Monte Carlo : 11.87347214947242
    Sparse matmult (N=1000, nz=5000): 119.76608441786847
    LU (100x100): 277.7325666886154


    java.vendor: IBM Corporation
    java.version: 1.3.1
    os.arch: ppc
    os.name: Linux
    os.version: 2.4.20-0.7bsmp

    MacOS 10.2: SciMark 2.0a

    Composite Score: 65.55278911110278
    FFT (1024): 45.766180267285044
    SOR (100x100): 148.7766358092264
    Monte Carlo : 8.128496082717385
    Sparse matmult (N=1000, nz=5000): 43.78407287809933
    LU (100x100): 81.30856051818576

    java.vendor: Apple Computer, Inc.
    java.version: 1.3.1
    os.arch: ppc
    os.name: Mac OS X
    os.version: 10.2

    Machine:
    processor : 0
    cpu : 7455, altivec supported
    clock : 999MHz
    revision : 2.1 (pvr 8001 0201)

    processor : 1
    cpu : 7455, altivec supported
    clock : 999MHz
    revision : 2.1 (pvr 8001 0201)
    bogomips : 999.42
    total bogomips : 1998.84
    machine : PowerMac3,6
    motherboard : PowerMac3,6 MacRISC2 MacRISC Power Macintosh
    detected as : 129 (PowerMac G4 Windtunnel)
    pmac flags : 00000000
    L2 cache : 256K unified
    memory : 256MB
    pmac-generation : NewWorld

    Mem: 253776

    1. Re:Java performance... by Anonymous Coward · · Score: 0

      The critical factoid here is that the VM used by Yellow Dog is IBM's VM, and the one by Apple is a version of Sun HotSpot. IBM has heavily optimized their VM for floating-point computation on a POWER or PowerPC architecture. Sun has optimized their VM for other stuff, including threading and integer support. The test you ran is designed to stress floating support and matrix multiplies at the expense of almost everything else. So you'd expect IBM's VM to do very well.

      Also, you might try setting the -Xmx and -Xms switches to something more appropriate; you'll probably get rather different results.

    2. Re:Java performance... by Val314 · · Score: 2, Informative

      just to give you something to comare the results
      my Athlon 1.2 GHz has this results (with Sun's Java 1.4.1)

      SciMark 2.0a

      Composite Score: 132.16079262416687
      FFT (1024): 54.698967180648516
      SOR (100x100): 260.68114426967077
      Monte Carlo : 23.431865250772468
      Sparse matmult (N=1000, nz=5000): 124.40394539472439
      LU (100x100): 197.58804102501819

      java.vendor: Sun Microsystems Inc.
      java.version: 1.4.1
      os.arch: x86
      os.name: Windows XP
      os.version: 5.1

  68. OpenBSD by Anonymous Coward · · Score: 0

    You known OpenBSD doesn't support mutiple CPUs (stable, on x86) right? Have you ever used OpenBSD, or are you just throwing it around because it's hard core and cool?

    1. Re:OpenBSD by WatertonMan · · Score: 1

      I said OpenBSD *or* Linux and a nice multiprocessor AMD system. So yes, I do know. You just parsed the "or" wrong.

  69. Gentoo, not Suse by axxackall · · Score: 1
    Go to Apple and SuSE and get advice on tuning

    Don't waste your time with Suse - if you need speed on PPC then go with Gentoo. After enjoyable installation the system will be both super fast (very optimizaed) and very user friendly (Gnome 2).

    --

    Less is more !
  70. Yet another american patriotic jew-lover by Anonymous Coward · · Score: 0

    ??? "extensively balanced" ???

    The article looks rather short to me, to be called extensive!

    Have fun dudes

  71. LinuxPPC is slower than Linux/x86 by Anonymous Coward · · Score: 0

    Not a very useful benchmark, seeing how LinuxPPC is not nearly as fast as Linux/x86. Nobody in their right minds would buy an XServe to run Linux on it. If anything it is a miracle that LinuxPPC on comparatively foreign hardware ends up ahead of MacOS X Server running on its native hardware platform.

    1. Re:LinuxPPC is slower than Linux/x86 by colinleroy · · Score: 1

      Actually, that's not "LinuxPPC faster than OS X", that's "LinuxPPC apps faster than OS X apps".
      Quick example, xmms playing an mp3 on a G3 400 takes ~2% cpu time; itunes playing the same mp3 takes (took, for me) ~30% cpu time.

      --
      blah
  72. Advice please by Anonymous Coward · · Score: 0

    I have been saving up my money and now have a dilemma. Should I buy a Mac or buy a PC and use the spare $100 bills to light cigars? I appreciate the help. Thanks.

  73. Re:I'd like to see him repeat it, with a few chang by Felipe+Hoffa · · Score: 2

    Or you can have a look at Apple's benchmarks. Guess who wins on their tests (they run OS X agains Linux, Windows 2000 and Solaris).

  74. Relevance ? by vlad_petric · · Score: 3, Insightful
    What they did was "toy benchmarking". A benchmark is really supposed to be a program that is similar to what people run (to be a good indicator of performance). Is a "dynamic" page that outputs a constant string similar to any normal web application ?

    This is as relevant as the MIPS rating of a CPU (null, to be explicit). I'd really suggest them to take a look at some hardware reviews from gaming sites (e.g. firingsquad) to learn some benchmarking methodology.

    And yes, pipes are much faster on Linux than on Windoze. Is it a relevant performance measurement ?

    The Raven

    --

    The Raven

  75. Re:I'd like to see him repeat it, with a few chang by Creepy · · Score: 4, Informative

    Actually, there is quite a bit you can do, since most of the actual web stuff is in the BSD layer. 10.1 is based on an older kernel, and 10.2 adds a lot to it. I'm not sure if all the additions really make it faster, but honestly, I don't know.

    Type this on a macOS X box:
    sysctl -a

    Some of these settings are sub-optimal for a server (at least with Jaguar, not necessarily OS X server). You could do something like this:
    sysctl -w kern.ipc.maxsockbuf=2097152
    sysctl -w net.inet.tcp.sendspace=262144

    to increase your TCP buffers, for instance. I know there are more areas for performance tuning, but I don't know them well. Search for sysctl on the web and you're bound to find some.

  76. One year old? by Anonymous Coward · · Score: 0

    Interesting how the blurb both states that it's based on BSD, which is decades old, and then says that the OS is one year old.

    Apple haven't produced their (admittedly great) OS in one year, people. They took matured BSD code, spent a few years developing Aqua, and here's the result.

  77. 273.8% of zero is, uhh... lemme see here... by Anonymous Coward · · Score: 0

    Am I right, or am I right?

  78. What was the ApacheBench cmd he used? by zaqattack911 · · Score: 1

    For me to take in the relevance of his "requests per/sec" scores.. I would really like to know what was the command line he used with "ab" (apache bench).

    Such as home many requests he tried? what concurrency ? etc...

  79. Why do people call OS X a BSD varient? by Anonymous Coward · · Score: 0

    AFAIK it's based on the mach kernel (much like the Next OS)... and after reading about it's file layout/user environment &c it seems less and less like today's BSDs even superficially. So why call it a BSD varient? According to McKusic, Bostic, Karels and Quarterman mach was based on 4.2BSD... and all the modern BSDs are 4.4BSD derived. That's a big difference imo (esp considering Mach has been through a couple of versions since the first version). I don't see alot of people calling Solaris a BSD varient.

    Next Microsoft will be calling XP linux based and we'll all eat our own socks.

    1. Re:Why do people call OS X a BSD varient? by glenmark · · Score: 2

      OS X is referred to as a BSD variant not because of the kernel but because of the BSD "personality layer" which sits atop Mach alongside Carbon and Cocoa.

      --
      *** Quantum Mechanics: The Dreams of Which Stuff is Made ***
    2. Re:Why do people call OS X a BSD varient? by Anonymous Coward · · Score: 0

      ... and do you think BSD4.4 was derived from?

      Not to mention the kernel isn't pure Mach. It's a mix of Mach and FreeBSD.

  80. desktop by Anonymous Coward · · Score: 0

    as a desktop os, it beats the hell out of freeB etc. it's better than LiNix

  81. just a little question ..... by 1lus10n · · Score: 1

    "Next, I set up exactly the same server environment both under Mac OS X and under Linux with the 2.4.19 kernel. I always made sure to use the same version of the server software both under OS X and Linux, each time re-compiling the binaries from source locally with the 2.95 gcc compiler, which is available on both platforms. The compiler itself was also locally re-compiled, taking all reasonable optimizations into consideration.
    Since for the life of me I couldn't figure out how to shut down the GUI environment of OS X, I configured a simple VGA X server for Linux and started KDE, just to have a fair basis for comparison. "


    now before i go off on a flaming tangent i will simply ask if OS X will run WELL without a GUI. i dont use macs, and dont really care to (but i would be more than happy to tout mac over winslow) but if this is possible and mac OS X has a powerful shell (BASH , korn, tcsh ?) then i could see it helping significantly with dethroning the king (that'd be MS) .

    so to all you OS X geeks out their- "does OS X have the capacity to run purely from the shell ?"
    also of note " can you customize a kernel under OS X?"
    and exactly how much of a load does the OS X gui put onto the box ? is it comparable with what X does ?

    --
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." --Albert Einstein
    1. Re:just a little question ..... by iJed · · Score: 1

      "does OS X have the capacity to run purely from the shell ?"

      All you do is enter >console at the grapical login prompt to get rid of the GUI. Then log in as your user.

      " can you customize a kernel under OS X?"

      You recompile the kernel if you wish. Its available from www.apple.com/darwin if you are interested.

      "exactly how much of a load does the OS X gui put onto the box ? is it comparable with what X does"

      On Mac OS X 10.0.x to 10.1.x the GUI was extremely CPU intensive on every Mac model. Now, if you have a supported GPU, most of the graphics (including the extremely heavy image compositor) are offloaded onto the 3D graphics processor. Apparently the next major update to Windows (longhorn?) will have a similar graphics subsystem.

    2. Re:just a little question ..... by 1lus10n · · Score: 1

      thanx for the info.

      mod parent up (i have no mods points today) informative.

      --
      "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." --Albert Einstein
  82. Re:I'd like to see him repeat it, with a few chang by Duck_Taffy · · Score: 1

    I've emailed Moshe a few times, and he actually prefers gcc 2.95 to gcc 3.1. You don't have much of a choice in Jaguar, but he'd probably stick with 2.95 in linux, which would result in a disparity in the benchmarks.

    as far as b) - this shouldn't be necessary. Both OSes should ship in a good configuration for general use. Tuning the OS for specific tasks would probably result in more sets of benchmarks for different configurations, as not everybody uses a server for the same tasks. Also, this would greatly lengthen the article, probably making it a good candidate for a technical write-up on somebody's personal site, but too big for an article in Byte.

    --
    Karma: Ran over your dogma.
  83. 10% is not a big difference, even for a large site by Jim+McCoy · · Score: 5, Interesting

    A 10% performance difference is a wash as far as most sites are concerned, for a large site you will see this sort of a difference eaten up in your hourly traffic variance (e.g. you spec for the peak load, not sustained load) and if your bottleneck is at your servers then you have other problems to deal with. I can max out a reasonably sized internet uplink with a single, off-the-shelf PC. Given the cost of these boxes, it is _always_ going to be the case that your monthly bandwidth bill exceeds the cost of the servers needed to max out that connection. Think about that one for a few minutes and then get back to me on why you think a 10% performance difference is going to be a significant factor when it comes to purchasing decisions...

    When I was running YahooMail ops we used massive farms of FreeBSD boxes, not because it was the absolute best server PC OS when it came to performance (although at the time I think that it probably was) but because it was what we knew best. Filo was a BSD hacker and we had a collection of ops guys who knew that particular OS inside and out -- if there was a problem we could track it down and figure things out, we didn't have to start guessing or need to make an appeal to newsgroups or mailing lists for help. For a large site performance numbers like these are one factor, but it is not the only factor and is often not even the most important factor. Maintenance and management can often be a more important cost factor then raw performance, sometimes it is something as "trivial" as driver support (or even raw performance differences among various drivers and OS configuration options) or what the team doing the technical evaluation feels comfortable with using and supporting.

  84. user=FreeBSD, kernel=NetBSD/Mach by Anonymous Coward · · Score: 0

    NextStep was old BSD on Mach with a GUI.
    The old BSD kernel was replaced by NetBSD.
    The old BSD user code was replaced by FreeBSD.
    The old NeXT GUI was replaced by Apple stuff.
    The old Mach... is still there, eeew!

  85. 0.4 is not zero by burgburgburg · · Score: 2
    1,525 servers shipped in 3Q 01 compared to 5,700 servers shipped 3Q 02.

    So as it turns out, you are wrong.

  86. Nah, you're nuts by alexhmit01 · · Score: 2

    Sorry, you're smoking crack. For large sites that want to run OS X (this covers SUCH a large sample size) they buy two of them and call it a day. Still cheaper than paying an admin for 3 days.

    If you're big enough that you're maxing out your server, you buy a new one.

    There are FEW problems is computers that aren't solved by adding another server, things hosted on OS X don't fall into them.

    Alex

  87. such mercy by Anonymous Coward · · Score: 1, Interesting

    it appears that Mac OS X Server 10.1 was doing pretty good for a 1-year old.

    Oh, you're so merciful when it comes to Apple. I'd never expect this kind of sympathy for Intel or MS on /.

    1. Re:such mercy by Anonymous Coward · · Score: 0

      Maybe because som of us have morals when it comes to microsoft and intel

  88. no wonder linux is dying by Anonymous Coward · · Score: 0

    With such uninformed writers pushing linux, no wonder people are getting turned off and switching in droves to FreeBSD.

  89. 10.2 Server is free for Xserve owners by daveschroeder · · Score: 2

    Mac OS X Server 10.2 is free (plus S&H) for all Xserve owners:

    http://www.apple.com/server/uptodate/

    In other words, he should have been using 10.2.x.

  90. Still fairly expensive by Querty · · Score: 2

    Although I quite like the Xserve machines, I still think they're overpriced.

    We got a similarly configured x86 1U server a few months ago (256Mb PC133, 60 Gb 7200 RPM IDE, ASUS Mb , PIII 1GHz, CDROM + floppy) for under $1000 (US).

    Admittedly, this is a no-name machine, but all the parts are from reliable manufacturers.

    Our VALinux, Dual PIII 800Mhz, 512Mb ECC, 2 x SCSI 9Gb, Dual Ethernet, Intel 44GX Mb, etc... machines from two years ago (!) were about $3000, but those are FAR sweeter machines.

  91. First go get a powerpc freebsd cdrom by Billly+Gates · · Score: 4, Interesting
    ....then we will talk about comparing apples to apples. I don't believe they exist yet.

    Netbsd and Openbsd are the only bsd distro's that are stable and out of alpha for the powerpc platform. Last time I looked at the powerpc freebsd project, the big news was that perl compilied! Obviously its very alpha and would do injustice to freebsd because the optimizations are not there and that is assuming FreeBSD would be mature enough to run these tests. Can mysql even compile on it yet?


    Also it has been said here before and I will say it again that the kernel in MacOSX is not Freebsd based!



    Its based on Mach and Nextstep! Only some of the libraries and a few programs have been ported. All the i/o code is based on Mach and not FreeBSD. Its the i/o code that needs some work.

    Also I expect a micro-kernel vs a macro-kernel flamewar to show up on this thread to explain why this is. Since both FreeBSD and Linux are macrokernel based, all of the i/o code runs in the kernel. On MacOSX most of the i/o runs in userland. They really are apples to oranges.

    1. Re: First go get a powerpc freebsd cdrom by Anonymous Coward · · Score: 1, Informative

      Actually, you are incorrect. The I/O code is based on IOKit, not mach. And, most of the code was totally revamped in 10.2 to make it faster. In addition, when he makes comments about Linux's VM being more advanced, it is total BS. Mach VM was one of the original OSes to have a mature VM system. Most of the performance snags Moshe ran into are fixed in 10.2 and a lot more fixes are coming in SoftwareUpdates.

    2. Re: First go get a powerpc freebsd cdrom by lemkebeth · · Score: 2, Interesting

      Also it has been said here before and I will say it again that the kernel in MacOSX is not Freebsd based!

      Yes and no. The kernel has a modified Mach3.0 microkernel in it, true. However, the kernel also has a good part of the FreeBSD kernel. Normally , the FeeBSD kernel would be as a server running on Mach but, Apple combined the two so, you have the FReeBSD kernel running in the same address space as Mach.

      Its based on Mach and Nextstep! Only some of the libraries and a few programs have been ported. All the i/o code is based on Mach and not FreeBSD. Its the i/o code that needs some work.

      Actually, the old NeXT kernel is toast. xnu is new and is a hybrid kernel. As another poster noted xnu uses IOKit not the Mach I/O.

      Also I expect a micro-kernel vs a macro-kernel flamewar to show up on this thread to explain why this is. Since both FreeBSD and Linux are macrokernel based, all of the i/o code runs in the kernel. On MacOSX most of the i/o runs in userland. They really are apples to oranges.

      xnu isn't a true microkernel. Apple keeps Mach separate in code simply for porting purposes to keep the code portable. In other words, xnu could be considered monolithic.
  92. age comparison? by heby · · Score: 2, Insightful

    The fact that OS X needs to improve in VM and I/O handling is understandable given its relatively young age. After all, Linux has had more than ten years to get where it is today, and even that is not much by OS standards.

    i would have expected the guys at apple take the vm and i/o handling from bsd and maybe tweak it to make it faster. they did not write this from scratch - so what's this age comparison about? linux does not have a consistent history of beating bsd in this department...

  93. A good test of MacOS, but not a real benchmark by Rui+del-Negro · · Score: 5, Interesting

    This is a good test to see how efficient MacOS is. And personally, I'm a bit surprised that Linux "won"; after all, MacOS was supposedly written by people who know that hardware inside-out, and should be very well optimised for it.

    But this is not much of "MacOS vs. Linux" server benchmark, because Linux can run much faster on other plaforms. Why should you buy an Xserve to run Linux when you can get Intel / AMD / Transmeta systems that are faster and / or cheaper? The main (only?) reason to buy Apple hardware is the operating system. Which, judging from these reults, definitely has room for improvement.

    RMN
    ~~~

  94. Correct if I'm wrong by Zen+Programmer · · Score: 1

    But isn't FreeBSD (off which Mac OS X is based) older than one year?

  95. Confused by your conclusion... by Rui+del-Negro · · Score: 2

    Yes, but... why should they 'switch over' to OSX when Linux is cheaper and faster, even running on Apple's own hardware...? If anything, this may convince some people who are running MacOS to switch to Linux (not that I think it will, because people who run MacOS are unlikely to be performance freaks).

    Also, you may be slightly mistaken about the performance of NT / 2000 / .NET. MS operating systems have pretty steep hardware requirements, but once you meet those, they are quite competitive. Of course, you need a competent sysadmin, but the same goes for any OS.

    RMN
    ~~~

    1. Re:Confused by your conclusion... by bursch-X · · Score: 1

      Well if you run it on Apple hardware, OS X is cheaper (because it comes free with the machine). With Linux you have to burn at least a CD to install it, so in this case OS X is cheaper than Linux ;-))

      (about the price of a few CD-Rs)

      --
      There are two rules for success:
      1. Never tell everything you know.
    2. Re:Confused by your conclusion... by Rui+del-Negro · · Score: 1

      That will hold true until you want to upgrade the OS... :)

      RMN
      ~~~

    3. Re:Confused by your conclusion... by Anonymous Coward · · Score: 0

      It doesn't come "for free" with the machine. You pay for it. Your comment is like saying that "Windows comes free with retail Dells".

    4. Re:Confused by your conclusion... by bursch-X · · Score: 1

      Nonsense, I can't get a Mac from Apple cheaper without OS X, however, Dell has to pay for Windows licenses, so you pay for it, too. It's that simple.

      That makes OS X "free" if you buy a Mac.

      --
      There are two rules for success:
      1. Never tell everything you know.
  96. Confused would be the nice way to put it by NaCh0 · · Score: 1

    Moshe Bar articles are always full of errors. I don't know why people still refer to his junk. I've never used MOSIX, but if his Byte column is any indication of quality, I don't think I ever will.

  97. Re:I'd like to see him repeat it, with a few chang by dirtyeye · · Score: 0

    why not just not log in??

  98. The kernel is NOT FreeBSD, GOD DAMN IT! by GrumpyOldMan · · Score: 1

    Don't drag FreeBSD's good name through the mud because OSX is a dog. The Darwin kernel has very little to do with FreeBSD.

    The Darwin kernel is, in fact, a shotgun wedding of ancient, circa 1992 Mach with a (very few) patches taken from FreeBSD. The core of the OS is ancient, dusty, cruft Mach. If anything, MacOS's closest relative (besides Nextstep) is DEC Tru64 UNIX. It is notable that DEC did it right: Tru64 is as fast as a bat out of hell, and Darwin is a dog. Download the Darwin sources and take a look for yourself.

    BTW, its obvious the author did not try very hard to disable the gui. One can simply log in on console
    with the '>console' login, no passwd, to exit the gui and get a text-mode getty on the monitor. In 10.1,
    this is the best way to get a stack trace when the machine crashes.

  99. Its only fair if Linux has the advantage... by Anonymous Coward · · Score: 0

    so he bothers to get the latest stable linux kernel, but installs an older version of OS X? And with the benchmarks pretty close, it still doesnt dawn on his "fair" mind to maybe try and install the latest stable OS X? [Being 10.2 for those of you just tuning in]

    I'm sorry but this is just more biased Leenux rah rah bullshit.

  100. I'm an MCSE by LittleLebowskiUrbanA · · Score: 1

    I'm an MCSE and I NEVER recommend Microsoft products if I can help it. I was never blind to Linux while I was going through the MCSE learning and testing process, it just seems to me that as a Marine leaving the service soon, every cert I can get will help me since while most of you guys were getting their college degrees I was humping a pack and an M203. I went to a couple of MCSE classes before I figured out they were a waste of time and I noticed most people there had an open mind to Linux and Open Source in general. I've come quite a ways from dumb grunt but I still have a long ways to go in the IT field but I'm enjoying every minute of it. Anyway, try not to crack on all of those MCSEs. Some of them are people trying to better themselves and others have just come out of the geek closet. Of cource if they'e bashing Open Source, get'em :)

  101. A better review would be... by Anonymous Coward · · Score: 0

    ...to have a contest. Bring experts from each OS division to high-tune their OSes. Acommodate any BSD distributions, etc. that run on Macs (I'm sure Nader would approve). Only then would the scrutiny be a fair one that everyone would accept.

  102. Re:ATTN Michael Sims by Anonymous Coward · · Score: 0
    yeah, pretty much.

    m sims.

  103. Check out QMail, Horde and IMP by BoomerSooner · · Score: 2

    I've seen a calender tool too but i'm not sure where it is. If you get QMail, Horde, IMP and Courier (IMAP for Horde/IMP) running you should have no problem finding the calender stuff.

    Qmail is here
    Horde/IMP is here You need horde to run IMP (and PHP).

    I highly suggest buying QMail Handbook it saved my sanity.

    OU 31 CU 24 (ABC 2:30pm CST this saturday, I'll be there!)

  104. A more informative matrix would be... by Anonymous Coward · · Score: 0

    Nice article, but who cares about LinuxPPC?

    It would be far more instructive to see the same tests run on:

    OS X 10.2.2 on the XServe
    Darwin 6.0.2 on the XServe
    Darwin 6.0.2 x86 on whatever box you can get it running on
    Linux on that same box
    Linux on a normal, powerful box

  105. Is Moshe an idiot? by Anonymous Coward · · Score: 1, Insightful

    From the article:

    "Having said that, let's look the Apache results:


    URL OS X 10.1.5 | Linux 2.4.19
    624.1 reqs/second | 703.5 reqs/second


    From these results one can assume the VM and network stack of Linux to be superior to OS X. It could also be that the page reclaiming algorithm is simply smarter in Linux than in OS X."

    Is it just me, or does Moshe come across as a bullshit-artist? This guy honestly sounds like he has no idea what he's talking about.

    1. Re:Is Moshe an idiot? by crome · · Score: 0

      Can you please explain why? And, just a question: maybe you are the idiot here?

      Moshe Bar

  106. Pokey Java performance in OS X by Umrick · · Score: 2, Interesting

    This is pretty much acknowledged by everyone on the list. There are a couple of issues, not the least is that there is only one color scheme that works well, the others are very very slow.

    Second seems to be an alignment issue in how java (and the underlying gcc math libs) are compiled. Doubles are misaligned which is a big hit on PPC platforms.

    According to the Java Developer's list for Apple, these issues were basically unfixable with the existing 1.3.1 due to time constraints and underlying Sun code. I'd expect the eventual release of 1.4.1 to be much faster.

  107. OSX isn't 1 year old by Anonymous Coward · · Score: 0

    The name "OSX" may be new but OSX is the latest version of NeXTstep which first appeared in 1988 and (I think) predates Linux.

  108. now turn your computer off... by Anonymous Coward · · Score: 0

    ... for a moment and get outside and realize you are more than virtually alive.

  109. Well, for starters... by Noer · · Score: 2

    X11 is window-based, so you can throw arbitrary windows at arbitrary displays to your heart's content, whereas Windows Terminal Services are a session-based system (i.e. log-in-and-run-your-app-and-log-out).

    And then there's cost :P

    --
    -- "Those who cast the votes decide nothing. Those who count the votes decide everything." -Joseph Stalin
    1. Re:Well, for starters... by MonsterChicharo · · Score: 1
      X11 is window-based, so you can throw arbitrary windows at arbitrary displays to your heart's content

      Which you can also do very well with Metaframe. Have you tried?

      whereas Windows Terminal Services are a session-based system (i.e. log-in-and-run-your-app-and-log-out).

      Which is very nice indeed. It is a matter of security, and security is never an unwanted feature.

      And then there's cost :P

      You are absolutely right. It has a cost. It is quite expensive, to be honest. However it does not mean that it does not cut the cheese. Technically it gets the work done, if you are willing to spend the money.

      Again, YMMV.

  110. so it's a little behind.... by csguy314 · · Score: 1

    GNU/Linux edges it out in the performance... but we all know the real reason to use MacOS.

    --
    This is left as an exercise for the reader.
  111. Drag and drop considered ordinary by Anonymous Coward · · Score: 0

    On one hand the Linux-heads think you shouldn't be allowed to piss unless you can do it for distance and accuracy simultaneously. On the other hand the Mac-heads think you should be grateful for the ability to piss on the floor and pay fifty bucks for an attendant to shake your dick afterwards. Sad, sad, sad, George and Martha. 1993, is that you? Is this me?

  112. We know where his expertise is by Quila · · Score: 2

    Needless to say, setting up the server environment was considerably easier and faster. Linux, with all required sub servers, was ready in about 3 hours of work, whereas a long day passed before I had my OS X ready to go.

    Throughout the article it's obvious he knows Linux very well, and doesn't know OS X all that well. That is probably the reason for this disparity and probably for the results.

    I thought Darwin used 4.4BSD-Lite2.

    And as everyone noticed, somehow he didn't know to use 10.2, which among other optimizations would have had GCC 3.1, which is supposed to generate better code.

    1. Re:We know where his expertise is by crome · · Score: 1

      Had I used gcc 3.1, then I would have compiled everything with gcc 3.1 also on the Linux. See how useless your comment is?

      And, yes, I don't know OS X at all, and I actually said so in the article the previous month, linked to from this article.

      So, go learn to read, grow up, and comment after.

      Moshe

    2. Re:We know where his expertise is by Quila · · Score: 2

      And, yes, I don't know OS X at all, and I actually said so in the article the previous month, linked to from this article.

      Then you really shouldn't be the one making comparisons such as this; although in honesty you did give disclaimers, but few read those and therefore get a false impression of performance. You are obviously an expert at Linux setups, but know little about OS X. You should have gotten some expert advice at setting up OS X before making such a comparison in order to have a truly good test worthy of being called "journalism."

      Not using 10.2 was an especially egregious oversight since it is a large leap in performance from 10.1.5 (that fast graphics card you mentioned would have taken most of the GUI load).

      But in general I liked the article. I await one after you've had time to learn OS X and test 10.2.x against stable 2.5.x.

  113. Darwin kernel design by Anonymous Coward · · Score: 0

    Can anyone explain why Apple fused BSD and Mach? What is gained by running the one atop the other rather than forking one of them to Apple's liking?

  114. Reason to use an Xserve instead of a Linux box by didiken · · Score: 1

    MacOS X 10.2 Server has several things that everybody should look into.

    1) Workgroup Manager, Server Settings and Server Monitor service running on a MacOS X Server can be monitored on pretty GUI interfaces from another MacOS X box (yes, even just MacOS X Jaguar). Starting and stopping of a service is just click and point. Toggling off OpenSSH service is just a check box ! And of course you can still start and shutdown stuff in textmode. Compare how much time you save from the GUI to ssh into a box, fire up emacs or vi and set 'ssh="YES' and do a restart and log out ?

    Linux and FreeBSD should have a better and INTUITIVE way to manage a huge amount of servers. The GUI won't make any difference in one boxs, but it's going to make a big difference in a cluster. Think about why biotech companies prefer XServe.

    2) The built-in Apache, Sendmail, MySQL (yes , MacOS X has built-in MySQL), SSH, Samba, Apple Filr Service do not have to do a complicate fetching of tarballs... and compilation. And "Software Update" from Control Panel are several clicks. And there you'll have regular mod_ssl update. rpms and .deb files are still too much for many folks getting used to GUIs. Frankly after getting many many many installations of Samba and Netatalk myself at my home network, I'm getting tired of constant tracking of versions and features. See not everybody have a huge IT department and Apple's MacOS X does make it user-friendliner to manage and maintain updates.

    3) The default Apache comes with MacOS X 10.2 can run Tomcat JSP.

    4) It is way more easier to add and remove users with Workgroup Manager on MacOS X Server, even adding people to LDAP servers. Can somebody tell me what softwares can I manage to do the same thing on BSD and Linux ?

    Combining all of the above, I think an Apple XServe is not necessary a bad option. The price of a comparative Dell Intel 1U server probably won't be that far off. Even a $1k different is justifiable if I know it's easier to manage.

    Well might you'll say using their stocked Apache and MySQL sucks. You can always compile your own version. No problem !

  115. This guy really isn't up to comparing the two by @madeus · · Score: 2

    Apart from the obvious -i.e. I don't see the point in comparing out dated operating systems - the following quote from the article stuck out:

    Since for the life of me I couldn't figure out how to shut down the GUI environment of OS X, I configured a simple VGA X server for Linux and started KDE, just to have a fair basis for comparison.

    Good grief, is this reviewer simple?

    Well the text at the bottom of the article says this:

    Moshe Bar is a systems administrator and OS researcher who started learning UNIX on a PDP-11 with AT&T UNIX Release 6, back in 1981. Moshe has a M.Sc and a Ph.D. in computer science and writes UNIX-related books.

    I don't care how much experience they have, or what qualifications they have, if a so-called "Systems Administrator" can't do something so simple I'd expect a recently graduated this-is-their-first-job PFY to do they should not be writing articles, let alone books, about Unix.

    For a start, apart from commenting out the Quartz window manager at startup, which is both the obvious solution and easy to do (How on earth did you imagine it would be started? By tiny pixies living inside the hard drive perhaps?), you can simply login in with ">console" as your username and you'll instantly get a command line prompt.

    BOTH of these options are perfectly well documented.

    With this in mind, I'd say that any 'comparison' done by this individual is unreliable at best, and completely misleading at worst.

    It's worse than pointless, because whatever random outcome comes out of this not-even-half-assed excuse for a comparison will be used in arguments and by other journals and taken as gospel for months to come.

    Any why on earth chose SuSe and not "Yellow Dog Linux" or "LinuxPPC" the two most commonly used PPC distributions? SuSe isn't that common among Linux PPC users (compared to either Yellow Dog or LinuxPPC) and for good reason (it's just not as well build for PPC).

    This article is a farse.

    1. Re:This guy really isn't up to comparing the two by crome · · Score: 0

      You are free to go get my job and do it better. It's easy to be a smart-ass like you when all you do is commenting on Slashdot.

      Moshe

    2. Re:This guy really isn't up to comparing the two by demon · · Score: 1

      LinuxPPC? You are aware that LinuxPPC, the distribution, has been left for dead, and not updated in probably close to 2 years now? And while the PPC version of SuSE may not be as well configured for PPC as YDL (or Debian/PPC, IMHO - I used it on 5 different Macs at the last place I worked - a G3 tower, an iBook, and 3 old 6100s using the Nubus-PMac kernel), your blind claim that "he should be using LinuxPPC or something!" is certainly no better than Moshe Bar's error(s).

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    3. Re:This guy really isn't up to comparing the two by @madeus · · Score: 2

      You are free to go get my job and do it better. It's easy to be a smart-ass like you when all you do is commenting on Slashdot.

      As it happens I already do a job much like yours (and better, it would seem).

      I am simply professional in my work and very demanding - I constantly strive to deliver the best results and look for the same in others. Because of this I don't see any merit in a poor and unscientific comparison of the performance of two operating systems and would rather see no review than a poor one with a misleading outcome done by someone incapable of doing a comparison.

      If you are not familiar with the basic fundamentals of Unix (like how to make a program run at startup, or prevent a program from running at startup) and also unable to read manuals (for the process is well documented on Apple's web site) it is fair to call into question whether you ought to be writing articles or books about Unix at all.

      Though I do not take pleasure in criticizing the work of others I make no apologies for making just criticism.

    4. Re:This guy really isn't up to comparing the two by @madeus · · Score: 2

      your blind claim that "he should be using LinuxPPC or something!"

      I didn't make any such claim. Your assertion is false.

      Specifically I did not say "he should be using LinuxPPC or something!", not did I say anything which can be paraphrased as such.

      I suggested that he was incompetent in his review (which stands) and that his poor choice of distribution was a factor in that.

  116. Re:I'd like to see him repeat it, with a few chang by Anonymous Coward · · Score: 0

    The most obvious problem with the benchmarks would be the fact that the xservers had 3MB L3 cache per CPU, and DDR RAM as opposed to vanilla SDRAM and nary a mention of even the existance of L3 cache on the "competition".

    Under such unbalanced conditions, I would expect the xservers to thoroughly and unmercifully ream the crap out of the other machines, especially in applications (like the ones that were conveniently selected for the "benchmark") where memory bandwidth is likely to be the primary bottleneck.

  117. I'm really surprised nobody noticed by morrison · · Score: 1

    After having recently run the BRL-CAD Benchmark (a good CPU-bound benchmark based on raytrace performance) suite on both Yellow Dog Linux and Mac OS X 10.2, we found that there is a significant difference between Apple's version of gcc and the gcc you can get "off the shelf".

    This guy makes note that he recompiled gcc. I would have liked to have seen results using the same gcc, without recompiling (e.g. use the 3.1 that Apple ships compared with 3.1 on YDL).

    When we ran our benchmark, Yellow Dog Linux was approximately 25% slower. That starts to push on a margin of difference that we care about. But, what was even MORE interesting was the fact that compilations took WAY longer with Apple's compiler than on Linux (1.5 hours compared to 22 minutes).

    We gladly give up compilation time for run-time performance. But, then, the BRL-CAD Benchmark is almost completely CPU bound, and a good optimization loop will find lots of places in the code to try to optimize.

    In either respect, that's a whole lot more time spent optimizing. I wouldn't be surprised that if he didn't recompile the compiler if things didn't work faster on OS X.

    --
    Cheers!
    Sean
  118. Standard Mac vs Other benchmark thread by krouic · · Score: 1

    A. Mac loses :
    - "It did not use the latest/forthcoming OS version that would have won hands down !"
    - "Benchmarker does not know how to configure the Mac OS !"
    - "Benchmark was paid by Microsoft/Intel/Linus !"
    - "The same benchmark was performed by the completely impartial site www.MacXyz.com and the Mac won hands down !"
    - "Performance is not important, ease of use is !"
    - "Ease of use is not important on a server, performance is !"

    B. Mac wins :
    - "Told you so, every benchmark shows that the Mac is the best !"

  119. good show, long way to go. by itzdandy · · Score: 1

    MacOSX put on a good show, but losing to linux by 10% is pretty substantial. Most like having aqua running caused most of that deficite.

    Linux has far more people working on it, and yes, even more people working on the PowerPC architecture than apple, this is a characteristic of opensource, so I am impressed by the performance of OSX.

    I have used 15 XServes and they are a really good peice of hardware, and with OSX they are EXTREMELY easy to configure. In my opinion, for the ease of use/configuration and the imediate ability to integrate into Windows netoworks with ease, the 10% loss to linux is pretty good.

    I recommend XServe/OSX systems to many of my clients because they are more cost effective to set up than linux or windows machines in many circumstances. Linux wins in performance and ability to run on cheap commodity hardware, but losses on the human factor.

    Someone needs to set it up, and that person is most likely pretty expensive. I charge $55 an hour to schools(which is an amazing deal) out of the goodness of my heart, and your looking at a day of setting up a set of linux machines, installing the OS, configureing the software etc. $550+ in labor + $1400+/ machine in hardware(to compete with an Xserve)about $2000/machine. with XServer/OSX systems, you open the box and spend about 45 minutes setting the thing up, and its done.about $3100/machine. not bad for a fast/reliable server.