Slashdot Mirror


Sun Solaris Vs Linux: The x86 Smack-down

JigSaw writes "Tony Bourke put together a long article, benchmarking File System, System, Compilation, OpenSSL and Web Performance for both Linux and Solaris on x86 hardware. While SPARC's Solaris is said to be more optimized than its x86 counterpart on the other hand so is Linux 2.6 compared to 2.4. Solaris-x86 performed well in the tests, but Linux 2.4 seems to win most of the tests and the overall impressions."

20 of 320 comments (clear)

  1. Sun on x86 by devphaeton · · Score: 3, Insightful

    Was Sun really serious about Solaris on x86?

    The fact that they simply "give away" the OS for cheap (i actually got my copy for free from Sun) kinda makes me think they've only released the x86 version to make it "available" to more poeple.

    The more people that are familiar with Solaris, in theory, the more Admins/IT staff will end up recommending SUN hardware/software at their workplace. It's a marketing strategy. Not a pervasive strategy, but a strategy nonetheless.

    If you take my meaning, mr. Frodo.

    --


    do() || do_not(); // try();
  2. yeah right by andih8u · · Score: 0, Insightful

    If you're looking to run PHP, or Apache/Tomcat/Java (which comes pre-installed), then Solaris x86 is a solid, stable platform.

    Yeah, trying to install PHP on solaris is a freakin riot. Linux wins out just based on packages alone.

    --


    slashdot, news for crazed liberal socialist zealots
  3. Why does this get put under developers? by bombadillo · · Score: 4, Insightful

    In my experience the majority of Developers don't have an in depth knowledge of OS and Hardware performance. The System Administrators almost always have a much better understanding of OS performance. The majority of developers I have worked with are Java developers. Perhaps it is different for other languages. However, shouldn't this be under a Systems Admin category?

    1. Re:Why does this get put under developers? by MoonFog · · Score: 2, Insightful

      The System Administrators almost always have a much better understanding of OS performance.
      In my experience sysadmins tend to know much about a certain OS, and will proclaim it to be the best no matter what the benchmarking results are. They may have knowledge about the OS, but rarely have any depth knowledge of the actual hardware performance.

  4. err umm... (i hate to say this but) duh? by Anonymous Coward · · Score: 1, Insightful

    its long been a known fact that sun has not dedicated much in terms of resources towards creating an optmized x86 solaris; in fact just a year or so ago, they declared they may not release an sol 9 for x86 at all.

    honestly, id like to see how linux stacks up vs solaris on sparc iron. personal experience easily declares ******* the winner, but then again, what do i know?

    (names withheld to protect the trollish)

  5. no surprise by Anonymous Coward · · Score: 1, Insightful

    Solaris's strength lies in scalabilitly. I have a feeling Linux/SPARC will also beat Solaris/SPARC on a single CPU machine. But keep adding CPUs and watch Solaris scale (almost) linearly!!!

  6. Surprisingly good article by sql*kitten · · Score: 3, Insightful

    This is a surprisingly good article for OSNews. Usually their reviews are limited to utterly trivial things like what the reviewer thought of the default colour scheme, or how easy it was to change the desktop wallpaper. But this one actually has some useful quantitative data in, and refers to things that workstation users actually care about, such as compile times. Whoever this chap is he should take over doing all the reviews from the girl (can't remember her name offhand) who usually does them, because she is pretty much clueless.

  7. Modern system? by brennz · · Score: 1, Insightful

    * from the article * Processor (2) Intel Pentium IIIs at 600 MHz, 256 KB cache Motherboard Intel L440GX+ RAM 512 MB PC133 ECC DISK (1) 9 GB Maxtor SCSI LVD SCSI Controller Adaptec AIC-7896 Dual Channel Video Cirrus Logic GD 5480 2 MB RAM *********** Was this test conducted in 1999 or 2003? ROFL. I think the hardware being tested should be modern to be representative. Throw some dual XEON systems or Athlon MPs in there. No legacy PLS!

    1. Re:Modern system? by grub · · Score: 2, Insightful

      Modern != common usage

      I'd wager there are many more of these types of systems running important tasks than there are bleeding edge ones. The dot-bomb made people look at the bottom line ya know.

      --
      Trolling is a art,
  8. Totally Serious Post by Anonymous Coward · · Score: 1, Insightful

    When will the weekly Sun bashing on Slashdot end?

  9. Solaris: Time machine to the 1980s by GGardner · · Score: 3, Insightful
    Running Solaris on X86 is like going back in time to the 1980s with all the ancient Unix utilities -- it's got the ancient vi, not VIM, which is annoying when you need things like multiple undo or multiple windows. The awk/nawk are ancient, and it doesn't ship with perl (last time I checked). Ditto for most of the Unix shell programs.

    The first thing I do when I get a Solaris system is to install a whole heap of GNU utilities, all of which come with any of the Linux distribution.

  10. bah by DNS-and-BIND · · Score: 4, Insightful
    Who the heck runs Solaris on a crappy dual-processor machine? Solaris doesn't really even begin to show benefits until it gets at least 8 processors. It just keeps going up, and up, and up.

    Solaris/Intel is just a toy that grabs a few extra customers that Sun would have lost otherwise. Boy, you should see it when linux noobs get their hands on it. They get really angry when you tell them "your hardware must be listed on the Hardware Compatibility List". I've seen venomous diatribes directed at "sucky" Sun and its "sucky" OS for not having video drivers for whatever the most expensive game-playing graphics board is these days. And if they actually get the system to install and they see CDE...oh man.

    I don't hang on #solaris any more, but damn we would get the same reactions over, and over, and over about Solaris/Intel.

    --
    Shutting down free speech with violence isn't fighting fascism. It IS fascism!
  11. Re:um... by n3rd · · Score: 2, Insightful

    Who bothers to use Solaris on x86? Oh yeah, idiots who don't understand the 'right tool for the job' philosophy.

    But what if Solaris x86 is the right tool for the job?

    It may not be often but it is at times.

  12. Hi got to be kidding by iamacat · · Score: 3, Insightful

    Processor (2) Intel Pentium IIIs at 600 MHz, 256 KB cache
    Motherboard Intel L440GX+
    RAM 512 MB PC133 ECC
    DISK (1) 9 GB Maxtor SCSI

    I bet Solaris is designed to run on more serious hardware. I bet DOS apps will run even faster than Linux on this box, even without taking advantage of dual processor.

  13. Re:Huh, because both are unoptimized? by drinkypoo · · Score: 4, Insightful
    He just mentioned it in passing. The reason he is comparing these two is not that they are both unoptimized, but that they are both standards. It's well known that Sun's "professional" compiler suite produces some of the best code around for assorted sparc-architecture processors, which makes sense on assorted obvious levels, but their lack of fine optimization on x86 may harm them, and this is (if amazingly vaguely) alluded to here.

    Meanwhile Solaris 9 for x86 (aka SunOS 5.9, as the article says - it misses the point that Solaris simply means (in Sun nomenclature) SunOS plus the windowing environment, and it once means SunOS plus openwindows, and that Solaris 1.x is SunOS 4 (BSD-based, mentioned) and Solaris 2.x is SunOS 5 (SVR4--based, which is not mentioned directly that I recall)... Er, where the hell was I? Solaris 9 is not available in a version well-optimized for x86. Because you can only relink the kernel and not recompile it, since source code is not provided, it is doomed to this fate. Redhat 9 is also something of a standard, and it happens to come with (and only support) linux kernel 2.4.20. 2.6 has many optimizations but is new. So he mentioned it because it puts both distributions on somewhat equal footing, and in fact in most benchmarks (which are overly simple, but anyway) the systems came up with similar performance when realistic options were utilized.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  14. Re:um... by LurkerXXX · · Score: 2, Insightful
    Maybe you just understand what the job is.

    Solaris for x86 has always been for training or utility. Cheap or free x86 versions mean people who want to eventually admin Solaris on Sparc equipment can easily get ahold of it to try without having the capital to purchase a Sparc just for learning purposes.

    The other common job for it has been as a utility/admin machine. When you have 20 Solaris Sparc servers to admin, it's just easier and more consistant to also run Solaris on the admin's workstation. Why throw on another *nix with it's own individual setup and quirks when you can run something integrated and consistant. It doesn't really matter if the admin's box is 20% slower than an equivalent Linux machine, it still works fine to admin the big iron.

    For some jobs, it is the right tool. Except to idiots who don't understand the job.

  15. drivers by AchmedHabib · · Score: 2, Insightful

    at least he was lucky there where drivers. Try installing it on real server hardware, then even FreeBSD has more drivers for stuff like RAID controllers etc. Look at the Hardware Compatibility List.
    If you are planning on installing Solaris in your enterprise enviroment you have to buy hardware that will work with Solaris x86 rather than the hardware you normally use. But then again, in a enterprise enviroment, I guess one would choose the Sparc platform or buy the Sun Intel hardware.

  16. PHP on Solaris isn't hard at all by green+pizza · · Score: 4, Insightful

    Ugh, why does everyone assume installing Apache, PHP, and MySQL is so hard on Solaris (or IRIX or AIX for that matter)?

    Once you have your GNU environment configured, it's a simple matter of compiling. I haven't run into a snag doing this in over 3 years on three different commerical unices.

    Here's a good link for the total newbie:
    http://ampubsvc.com/~meljr/AMPS.html

    I suppose you could also go to sunfreeware.com (or for IRIX, freeware.sgi.com), but learn to build the stuff yourself and you'll know what's going on, have the latest versions, and have way more flexibility. Isn't this why you're using u*nix anyway? For the flexibility? Don't let the lack of a precompiled ready-to-install package get in your way, you're not stuck in the Windows world anymore.
    (end rant)

  17. Hardcore backwards compatability by devphil · · Score: 2, Insightful


    Most slashdotters won't understand or agree with this, but the large bulk of Sun's customers appreciate the fact that command-line options do not mutate over time, that the default behavior of the -foo switch is now reversed, etc, etc. The GNU coreutils maintainer has been busily ripping out all kinds of traditional functionality in the name of POSIX standardization, which would normally be a good thing if he hadn't gone way too far. (I don't give a fuck if "uniq" and "head -1" aren't full POSIX, they're in my scripts, they're in my head, and they're staying there.)

    If Sun tried to make as many incompatible changes to their core utilities as the GNU utils does, somewhere upwards of 80% of the customers would just walk away.

    Yes, I install GNU coreutils and all kinds of happy stuff (like a decent shell) as soon as I open up a Sun box. But I leave their versions in place so that old PATHs still get the behavior they expect to find. Everyone here loves the cutting edge, and loves to cut down anyone using version ($latest-1). Sun's primary customers aren't like that. They want stability in the core utilities across years, not new features every few weeks, or even months.

    (Yes, the last 3 or 4 versions of Solaris have all shipped with Perl. It's a slightly older, stable version of Perl. There's a bunch of stuff on the freeware companion CD too, as well as sunfreeware.com. Those who want a stable Solaris get it by default. Those who want bleeding-edge tools can easily download the packages.)

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  18. Re:Solaris advantages. by Anonymous Coward · · Score: 1, Insightful

    > For example, when it comes to debugging threaded applications, and having a reliable debugger, they beat us every single time.

    I agree. Also it's great that they ship with kernel debugging stuff (adb -k, kadb, crash, ...). Most of the same functionality is available for linux but not in the mainline kernel (for really irritating reasons) so it's never there when you need it :-(

    For userland stuff I usually use gdb even on Solaris, but often times I'm forced to go back to using adb when dealing with threaded apps.

    > On Linux plenty of thread-related issues are still flaky (big progress being made there)

    Yes, I believe that the 2.6 kernel and the latest libc work effectively fixes this.

    The other thing I like about working with Solaris is the nice set of performance monitoring tools (iostat, cputrack, cpustat, mpstat, prstat) available in the stock distribution. In my work I use these almost daily. I really miss having that level of info at my fingertips when I'm working on the linux machines.

    But yeah, for most purposes I like developing on and deplying linux far more. All in all I think RH9 is a better OS than Sol9. (And I'm *not* some "linux wanker" - I've been working with Solaris since 2.1 and even SunOS 4 before that)