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

34 of 320 comments (clear)

  1. Hardly definitive by burgburgburg · · Score: 2, Funny

    I see nothing in the article about a steel cage. You call that a smack-down?

  2. 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();
    1. Re:Sun on x86 by n3rd · · Score: 4, Informative

      Was Sun really serious about Solaris on x86?

      On and off, evidently back on again. I've heard that back in the mid 90's a decent amount of customers used Solaris x86 on Compaq's. After a while they dropped support and over the next few years. Anyone confirm or deny (I know the second part is true)?

      Here is a recent press release about Solaris x86. Disregard the marketing garbage, there's a lot of it.

      They name a decent amount of customers, a biomedical place is one of them. Perhaps a transition from SPARC to x86 for sheer speed would be cheaping going from Solaris to Solaris instead of Solaris to Linux, that is assuming Solaris on x86 meets their needs.

      Also, according to this article they have Solaris x86 for Opteron. Perhaps this would help convince big graphics apps such as Photoshop make a port to Opteron since Linux and the BSD's are already there.

      They also have a POWER4+'esqe chip coming out in the first half of the new year. Two UltraSPARC III cores with 8 megs of cache and each running at 1.2 GHz each.

      Sun has good things going for them but they need to expand into new areas and take another look at the current situation.

  3. Why Red Hat ? by MoonFog · · Score: 2, Informative

    Guess that question will be asked, and to those to lazy to RTFA, here's his reply :
    I chose RedHat 9 for the simple fact that it is a very popular distribution, and is ubiquitous in terms of corporate and personal deployment. Of course it is not the end-all be-all of Linux distributions, but it's both popular and effective, which makes it appropriate as an evaluation platBesides, most of what I evaluate has more to do with Linux itself, and not the distribution. The only significant affect RedHat has on this evaluation is the specific version of the kernel (2.4.20-20.9) and the use of RPMs (which some other Linux distributions use as well).form.

  4. For ramblings on "Oracle on Solaris or Linux?".... by tcopeland · · Score: 3, Informative

    ...from the distant past, there's this Slashdot thread from way back in 1999.

    There's a "Summary of Points" post a ways down that page that nicely encapsulates most of the discussion.

  5. 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.

  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. 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.

  8. 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!
    1. Re:bah by Lumpy · · Score: 2, Interesting

      Who the heck runs Solaris on a crappy dual-processor machine?

      Ahh the rant of a non-knowing person...

      Thousands, if not tens of thousands use Solaris on dual and ...GASP! Single processor systems!

      In fact the company here has 12 sun workstations running solaris as data collection servers that are going to be replaced here in 180 days. (giving me a few Sun UltraSparc toys to play with as I see fit later)

      Solaris is used mostly for single and dual processor systems. there are significantly less 8 processor and up solaris systems in existance.

      --
      Do not look at laser with remaining good eye.
  9. Re:Totally Serious Post by brennz · · Score: 2, Interesting

    I don't think this is Sun bashing.

    It is widely known that Sun has waffled on x86. Now because their market share is being eaten up, they are reconsidering years of mistakes...I was one of those admins that had to struggle with Solaris x86.... I woke up though, and went with GNU/Linux + *BSD.

    Can Solaris compete with Linux/*bsd on x86? Try a modern distro, and form your own opinions...

  10. How to look scalable... by Anonymous Coward · · Score: 2, Interesting
    There's an old trick to appearing scalable: Make your single-processor performance suck. Then almost any parallelization overhead will disappear, and you'll "scale" linearly.

    Many papers make this mistake. If you ever see scalability comparisons without pure time comparisons, don't trust the results.

  11. 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,
  12. Re:no surprise by n3rd · · Score: 2, Informative

    Solaris's strength lies in scalabilitly.

    Very true, it's because damn near everything is threaded. Threading is highly encouraged by Sun when programming for Solaris on SPARC.

    Each process has threads, if it's a single threaded application it counts as one thread. Each thread is attached to a LWP or Light Weight Processor. The kernel then schedules the LWP time to run on the real CPU.

    What's the end result of this? Solaris scales very well on boxes with tons of CPUs because everything is threaded, and some processes have tons.

  13. Re:BSD? by millahtime · · Score: 2, Informative

    actually freebsd does run on multiple processors. You can find more info at http://people.freebsd.org/~fsmp/SMP/SMP.html

  14. Re:Huh, because both are unoptimized? by Anonymous Coward · · Score: 2, Funny

    > You're comparing apples and oranges,

    Huh? Mac wasnt even in the article!

    Talk about RTFA...

  15. 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.

  16. Red-headed Solaris by SARSpatient · · Score: 2, Interesting

    Neither Sun nor Sun resellers really push Solaris x86. This includes during their presentations to customers interested in high performance x86 clusters solutions. Yes, the alternative is always there, showing the Solaris logo along with a RedHat one under available operating systems. Even with clients where Solaris x86 might make sense, Sun salespeople skirt around the issue of O/S and never press their own version. Aside from Sun support (which IMO is really good), would there be any benefit to switching to Solaris? Everyone knows that it's not a core product or moneymaker for Sun, even their own sales associates who definitely know which products to push, and which to let slide. For now, I would leave Solaris x86 as a novelty, at least until Sun itself proves it has feature enhancements outperforming a Linux installation (especially on their own hardware).

  17. Re:Solaris: Time machine to the 1980s by Alrescha · · Score: 2, Informative

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

    They come with the Solaris distribution as well. Not Sun's fault if you don't install them.

    A.

    --
    ...bringing you cynical quips since 1998
  18. Re:Solaris: Time machine to the 1980s by n3rd · · Score: 2, Informative

    it's got the ancient vi

    Solaris works for consistency and having a plane jane vi might be a good thing even if vim is better.

    The awk/nawk are ancient

    I don't use awk often, what's up with them?

    and it doesn't ship with perl (last time I checked). Ditto for most of the Unix shell programs.

    Yeah it ships with perl since Solaris 8, same with bash, tcsh and zsh.

    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.

    Yep, they're nice to have and don't take up much space if you pick and choose correctly. Here is everything you'll need as far as OSS utilities on SPARC/Solaris are concerned. They can be downloaded as a CD image or individually and are in Sun's package format.

  19. 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.

  20. Re:BSD? by ninejaguar · · Score: 2, Informative
    There is this recent benchmark of BSD vs Linux. You can also find it here.

    = 9J =

  21. 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.'"
  22. Ehhhh ... wasn't that impressed with the review by netglen · · Score: 2, Interesting

    Stepping outside of the Solaris --vs-- Linux article, I just didn't come away very satisified. It looks like the author only performed a few shoestring tests while I was expecting an exhausting barrage of tests. IMHO I wouldn't take anything to heart from reading this article. Maybe if the author goes back and expands the number of tests it would be an interestig article. Just look at all the comments from our fellow posters. There are so many people pointing out various issues that the tester neglected. I think the author should take all the feedback and perform a new test with an imporved set of criteria and hardware platforms.

  23. 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.

  24. 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.

  25. Security by allenw · · Score: 2, Informative

    I guess he doesn't know that Sun generally releases a T-Patch relatively quickly so that admins can get immediately relief while testing out the real patch.

  26. 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)

  27. Solaris advantages. by miguel · · Score: 3, Informative

    Solaris does have a few areas where they have done a fantastic job.

    For example, when it comes to debugging threaded applications, and having a reliable debugger, they beat us every single time. This is a mix of debugger support, kernel support, libraries support and god knows what else.

    Their thread implementation is also very robust. I have no clue about their performance, but I know that you can depend on their implementations being robust. On Linux plenty of thread-related issues are still flaky (big progress being made there), but today, I really wish I had Solaris to debug a few problems.

    And there are tons of other little things they get right. My suggestion is that we should focus on what is wrong in our platform, and focus on what is good in their platform, to find out what needs to be solved.

    Miguel.

    1. Re:Solaris advantages. by LarryRiedel · · Score: 2, Informative

      As a developer I find the Solaris documentation at docs.sun.com is usually significantly better than the stuff that comes with Linux, and the manual pages are vastly better, including information about when and why you would use a function, alternatives, examples, and pointers to other documents.

      To me documentation is a big part of any platform. I think that is one thing .NET has going for it too.

      Larry

  28. 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)
  29. See Register article on new TCP/IP stack by grigori · · Score: 2, Interesting
    Hey this just came out at http://www.theregister.co.uk/content/61/33440.html
    "The new TCP/IP stack - code-named Fire Engine - has 10 gigabit and 100 gigabit Ethernet networks in mind." Available for testing download now

    Sun is quoted:

    "we did work to efficiently handle many NICs, so combinations of NICs and CPUs scale. The upshot of all this stuff is that customers will notice quite measurable differences in latency and bandwidth improvements in networking on existing machines. It shows up in internal benchmarks, and it shows up in real-world workloads from the smallest uniprocessor on up. Also we focused on CPU utilization. One of the little secrets of networking is high speed interfaces can in fact pump lots of bits, but they chew up lots of CPU, which means you aren't doing other things. We worked hard on efficiency, and we now measure, at a given network workload on identical x86 hardware, we use 30 percent less CPU than Linux."
  30. Re:Solaris: Time machine to the 1980s by jedidiah · · Score: 2, Funny

    Bill Joy doesn't even use vi anymore.

    The rest of you should take that as a hint.

    At least RMS eats his own dog food (emacs).

    --
    A Pirate and a Puritan look the same on a balance sheet.