Slashdot Mirror


Solaris vs Linux Continues

raffe writes "Solaris Kernel Developer Eric Schrock is bloging more about the Solaris vs. Linux issue and linux kernel moneky Greg is answering on his blog. Eric's first part is is also still up and Greg's answer " Another reader also submitted reviews of the Linux desktop vs. Solaris 9. User reviews are welcome; please note that ITMJ is part of OSTG like Slashdot.

10 of 361 comments (clear)

  1. Re:Kernel Recompile by StuartFreeman · · Score: 3, Informative

    apt-get install kernel-image-X.X.XX

    --
    This is my sig, there are many like it, but this one is mine...
  2. Re:Kernel Recompile by Nos. · · Score: 5, Informative

    I really don't think kernel recompiling is the biggest thing keeping Linux from dominating any market. Ease of use is a big thing. Another is simply the myth that OSS is unsupported and/or unreliable. You can point to a thousand studies showing Linux is as good as (or better) than alternatives, but that won't change some peoples minds.

  3. Re:Kernel Recompile by chez69 · · Score: 4, Informative

    i've used linux for exclusively for over 7 years at home and I've never recompiled my kernel.

    properly packaged distros usually do not require a kernel compile.

    --
    PHP is the solution of choice for relaying mysql errors to web users.
  4. Linux versus X by Ruie · · Score: 4, Informative
    Just to cover various "Linux versus X" topics, here are some links, obtained by Googling, without RTFA: And, most importantly: Linux Versus Linux. (No you can't actually read it..)

    Ok, this was the first page.. I got bored copy'n'pasting afterward.

  5. What is up with you armchair kernel hackers? by 808140 · · Score: 5, Informative

    I mean seriously. We have a debate about the relative merits of Solaris and Linux, and you come out and say, "LOL no context haX0rs@!!~ OMFG linux is so wei faster than Slowaris lol!"

    I mean, did you even read his blog entry? I know, I know, this is Slashdot. But come on. He isn't comparing Linux and Solaris as gaming platforms. Yeah, your FPS for Doom 3 is probably faster on Linux (LOL d00d don't you know Doom 3 doeznt run on Slowaris haha you fail it!) but what he's talking about is no downtime, ever.

    He's talking about kernel debug utilities. About hardware hotswapping. About being up 24x7x365 doing 1000s of database transactions per minute. We aren't talking about your mom's basement here, with your little network, or even the nice little RAID setup you have going at work that saved your employer a pretty penny. We're talking about big iron. Speed is not the issue here; reliability is. One of the reasons Solaris is slower than Linux is because it checks everything. It is one extremely anal system, and it never ever goes down.

    Now, I'm a big Linux fan (typing this on my Debian box), but no one who has seriously admined Solaris boxes can say that the two are even remotely equal on big servers. No contest indeed; Solaris kicks the shit out of Linux.

    I don't think this will be the case forever. Unlike the anal blogger referenced in the writeup, I think Linux is catching up faster than Solaris is improving. While he makes good points about Linux's lack of sysadmin accessible kernel debugging tools, traceability, etc, people attempting to sell Linux to big vendors will provide those tools.

    But Linux isn't ready for the big iron machines Solaris dominates yet. Don't say IBM, please. IBM runs multitudes of instances of the Linux kernel in parallel on their machines, so that if one fails, it doesn't take the whole system down. Those big iron Sun machines run one kernel, baby. Just one.

    I tell you, if they open source Solaris (yeah right) we're going to be looking at some pretty amazing code. Some of the best hackers ever have hacked that thing.

  6. Re:Question for anyone... by mr_majestyk · · Score: 5, Informative

    Can anyone cite a real life example where Solaris was used in place of linux on a new project for a valid reason?

    Here's one.

    The reasons? Linux couldn't handle emergencies, and wasn't always available.

  7. possible answer - reliability, stability by Roadkills-R-Us · · Score: 4, Informative

    At work we have a compute farm that includes both Solaris and Linux. How many of each we run is based on the software requiements to do our work, of course.

    Overall, Linux does a great job. But we experience odd lockups we can't easily track down. The only alternatives seem to be pulling software developers from their real work to debug the kernel, or paying fat licensing fees to one of the Enterprise class Linux vendors. At that point, Linux is suddenly in the same arena as Sun, WRT price. Of course, there's always the option of simply replacing the hardware; it is fairly cheap compare to Sun hardware. Now there's a green thought. 8^/

    And for the monkey's edification, some of us do care about library compatibility. I've certainly run into issues.

    And for the record, I haven't been able to get my sound card at home to work on Linux ever since I moved into the 2.4 kernel space.

    Linux is a good thing. But so is Solaris. And "Use the source, Luke" is the wrong answer for the average end user-- even the average technical end user. It reminds me of why I picked Linux over BSD almost a decade ago. ``Just write your own damned driver and quit whining.''

    If I start hearing much more of that, I'll start looking for an alternative to Linux in a heartbeat-- and I'm referring to the compute farm at work as well as this system at home.

  8. Solaris is superior to Linux in many ways by Serveert · · Score: 5, Informative

    I have used Linux for years but I've also used Solaris. Solaris is simply more reliable and more fault tolerant hardware-wise. It's a fact and as Solaris is opened up and more people become aware of it, it will be obvious. Linux is a great OS and works wonders but it's not up to Solaris standards in many ways. Likewise, Solaris isn't as widely used as linux and doesn't support nearly as many peripherals and isn't as good on the desktop.

    That said, Sun's cash cow or former cash cow was its hardware not software. Solaris was a nice OS that was icing on the cake. Now that their cash cow is gone, their emphasis will be on Solaris but there's less revenue here. I hope they go bankrupt and GPL solaris personally. :)

    The rebuttal wasn't a rebuttal either. It didn't mention kgdb which allows you to debug kernels using source code.. it can also work with UML kernels. Also the rebuttal didn't address the points raised:

    Reliability - Reliability is more than just "we're more stable than Windows." We need to be reliable in the face of hardware failure and service failure. If I get an uncorrectable error on a user process page, predictive self healing can re-start the service without rebooting the machine and without risking memory corruption. Fault Management Architecture can offline CPUs in reponse to hardware errors and retire pages based on the frequency of correctable errors. ZFS provides complete end-to-end checksums, capable of detecting phantom writes and firmware bugs, and automatically repair bad data without affecting the application. The service management facility can ensure that transient application failures do not result in a loss of availability.

    Serviceability - When things go wrong (and trust me, they will go wrong), we need to be able to solve the problem in as little time as possible with the lowest cost to the customer and Sun. If the kernel crashes, we get a concise file that customers can send to support without having to reproduce the problem on an instrumented kernel or instruct support how to recreate my production environment. With the fault management architecture, an administrator can walk up to any Solaris machine, type a single command, and see a history of all faulty components in the system, when and how they were repaired, and the severity of the problems. All hardware failures are linked to an online knowledge base with recommended repair procedures and best practices. With ZFS, disks exhibiting questionable data integrity can automatically be removed from storage pools without interruption of normal service to prevent outright failure. Dynamic reconfiguration allows entire CPU boards can be removed from the system without rebooting.

    Observability - DTrace allows real-world administrators (not kernel developers) to see exactly what is happening on their system, tracing arbitrary data from user applications and the kernel, aggregating it and coordinating with disjoint events. With kmdb, developers can examine the static state of the kernel, step through kernel functions, and modify kernel memory. Commands like trapstat provide hardware trap statistics, and CPU event counters can be used to gather hardware-assisted profiling data via libcpc.

    Resource management - With Solaris resource management, users can control memory and CPU shares, IPC tunables, and a variety of other constraints on a per-process basis. Processes can be grouped into tasks to allow easy management of a class of applications. Zones allow a system to be partitioned and administrated from a central location, dividing the same physical resources amongst OS-like instances. With process rights management, users can be given individual privileges to manage privileged resources without having to have full root access.

    And of course windows is but a Play Thing.

    --
    2 years and no mod points. Join reddit. Because openness is good.
  9. Solaris wins in big embedded applications by isdnip · · Score: 3, Informative

    I'm not a developer, but I deal with different types of systems, and appreciate both Linux and Solaris for their respective strengths. In the telecom space, for instance, Solaris is well respected for building embedded applications. While AT&T invented Unix, they never meant it for critcal "five nines" real-time telephone call processing. Yet the dial tone on my desk comes from a Solaris-driven central office switch. (Not Lucent!) While the switch vendor's own code has crashed, the Solaris layer beneath takes a lickin' and keeps on tickin'.

    I think the big fallacy in Linux is the driver ABI. Linus likes to change it, as a way of forcing hardware developers to have open-source drivers. Nice Stallmanesque politics, but impractical in the real world, for at least two different reasons.

    1) Not all drivers can expose the source. This is often because complex devices hide proprietary details in the code. nVidia does that with its "compile in the stub" 3D drivers. Even more limiting are the wireless-card drivers, wherein regulatory approval is dependent on limiting user access to some of the chip registers which, in an open-source driver, could be used to create out-of-band or over-power emission. Life ain't all Ethernet cards nowadays. I had No Fun trying to make a PCI wireless card work with Linux, partially because of the (older) version dependency of the vendor's binary-only driver. Solaris and indeed most (not all) Microsoft OS versions have been better about that.

    2) There's a lot of custom hardware out there. Sure, Linux users generally think about "computers" that are either "desktop" or "server" systems. But embedded systems are even more common. Solaris works in a lot of big ones, like aforementioned telephone switch. Some of those systems use different makers' boards; said phone switch, for instance, is made by a company that buys critical boards from other companies. Changes in the ABI would make a difficult revision process even harder. And even if you make your own peripherals, having to recompile or, gag, rewrite the drivers to meet Linux' latest idea of an ABI is, well, a serious pain in the kiester. Very unprofessional!

    So while most mainstream dekstops do get better support in Linux, in part because of the better volume of applications, the Solaris approach still wins for those big systems where an hour of downtime is worth tens of thousands of dollars.

  10. Jon Schwartz by Pros_n_Cons · · Score: 4, Informative

    If we are going to post Suns blogs shouldn't we post the Red Hat exec's Blog defending against Sun?

    --

    -- "of course thats just my opinion, I could be wrong." --Dennis Miller