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."
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();
...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.
The Army reading list
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?
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.
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.
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!
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.
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.'"
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)
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.