Slashdot Mirror


Which OS Performs Best With SSDs?

Lucas123 writes "Linux, Vista and Mac OS perform differently with solid state disks. While all of them work well with SSDs, as they write data more efficiently or run fewer applications in the background than XP, surprisingly Windows 2000 appears to be the winner when it comes to performance. However, no OS has yet been optimized to work with SSDs. This lost opportunity is one Microsoft plans to address with Windows 7; Apple, too, is likely to upgrade its platform soon for better SSD performance."

30 of 255 comments (clear)

  1. Re:Linux, as a matter of fact by Jonah+Bomber · · Score: 5, Funny

    Geniuses often don't play well with others.

  2. Awful article by Nick+Ives · · Score: 5, Insightful

    It conflates the results of several independent tests to form the view that XP is somehow best. It also bandies about meaningless numbers like one OS being x% faster than another without giving any hint of the metric.

    Avoid.

    --
    Nick
    1. Re:Awful article by iYk6 · · Score: 5, Informative

      Several problems with the article. No mention of metric, as parent said. No mention of what Linux-based OS they used. Choice quotes like the following, "but Linux is 'always faster' than Vista or Mac OS X -- to the tune of 1% to 2% -- because like Windows 2000, 'it never runs anything in the background.'" What do background applications have to do with anything? And both Windows 2000 and all Linux distros run stuff in the background. Even DOS does that.

      To top it off, the article is spread out over 3 pages. Here's the print link: http://www.computerworld.com/action/article.do?command=printArticleBasic&taxonomyName=Storage&articleId=9123140&taxonomyId=19

    2. Re:Awful article by Anonymous Coward · · Score: 3, Funny

      This article is 34% more shitty than the average /. article.

  3. Do we just need a new filesystem? by timeOday · · Score: 4, Insightful

    Filesystems are fundamentally engineered to cope with the high latency of hard drives, so I'd imagine there are a lot of assumptions to unlearn. But what other implications are there for the OS? Since the tradeoffs between RAM and persistent storage are smaller with SSD, maybe the changes should go beyond the filesystem into the virutal memory system?

    1. Re:Do we just need a new filesystem? by ChienAndalu · · Score: 4, Informative

      There is a new rising star called Btrfs, which was discussed on /. a few weeks ago, that has a "SSD optimized mode", activated through a mount option.

    2. Re:Do we just need a new filesystem? by SanityInAnarchy · · Score: 4, Insightful

      Well, the article is crap in many ways -- doesn't cite what benchmarks they actually used, just throws around meaningless percentages and outright lies (Linux and Win2k absolutely do run things in the background).

      One of the other little details they left out is which filesystem they used, on any platform. My guess is, they just used the default -- I wonder if they were even aware of alternatives (you can install Win2k on FAT32, if you really want).

      So, to answer your comment, Linux has at least two filesystems that are designed to work directly on solid-state media. Unfortunately, most SSDs pretend to be ATA hard drives, but the point still stands -- Linux has many filesystems. I wonder which one actually performs best on that ATA drive?

      --
      Don't thank God, thank a doctor!
    3. Re:Do we just need a new filesystem? by SanityInAnarchy · · Score: 3, Informative

      Bad analogy. This is a totally different issue. Memory fragmentation means you leave little gaps in the allocated blocks which are too small to reuse, effectively wasting memory.

      Given a sufficient number of small files, this can happen with filesystems, too. Of course, it's usually not as pronounced, as most filesystems won't pack more than one file into a block...

      Keep in mind, the block leveling algorithm will be abstracting the actual disk organization; defragmenting wouldn't accomplish anything on an SSD

      It would, at the very least, consolidate extents.

      I would also say, it's sad that SSDs have block leveling in hardware -- I mostly blame Windows for that.

      --
      Don't thank God, thank a doctor!
  4. Summary FAIL by Wonko+the+Sane · · Score: 3, Interesting

    "If you really want to go inside [the OS numbers], Windows 98 was the fastest of all," Far said.

  5. Nevers run anything in the background? You what? by Viol8 · · Score: 4, Insightful

    FTA:

    "Linux is "always faster" than Vista or Mac OS X -- to the tune of 1% to 2% -- because like Windows 2000, "it never runs anything in the background."

    I'm sorry , what? Have these people never heard of daemon processes? What the hell are they talking about?
    If this is their level of expertise I think I'd take any tests they do with a whole cellar full of salt.

  6. Stupid article... by Cyberax · · Score: 4, Interesting

    Have they tuned Linux for SSD? Like setting no-op IO scheduler (which gives about 20% speedup on some workloads)?

    I suspect that Win2000 and Win98 win because they have the most simple (and stupid) IO schedulers. That's a problem for conventional HDDs, but it's an advantage for SSDs.

    Also, they are talking about "Win98 doesn't support wear-levelling technology". But that's incredibly stupid since modern 'disk-like' SSDs do wear-leveling in hardware.

  7. No optimized OS = false by The+Man · · Score: 5, Interesting

    Since they didn't test Solaris, the test is meaningless. It's the only OS in existence right now with caching and data management features designed specifically to take advantage of flash to improve real-world performance. The submitter's assertion to the contrary is a deliberate lie, an assumption that until Microsoft does something it hasn't been done, or at best sheer ignorance.

    Read up on the ZFS L2ARC and the use of supercap/DRAM/flash subsystems for separate intent logs that make up the hybrid storage pool. There are plenty of white papers and other material out there, and of course you can also read the source code.

    1. Re:No optimized OS = false by nvrrobx · · Score: 5, Insightful

      With all due respect, I call shenanigans on your logic here. OpenSolaris is just as much of a desktop OS as Linux is. Have you looked at the hardware it supports and what runs on it recently?

      The word "desktop" isn't even mentioned in the article anywhere.

      After reading TFA, it all feels a bit vague anyhow. I see no real performance results, just a few percentages thrown around.

  8. Article is bullshit by francium+de+neobie · · Score: 5, Insightful
    When I read into the middle, it says,

    According to Far, Mac OS X runs "a little faster than Vista" with an SSD drive, but Linux is "always faster" than Vista or Mac OS X -- to the tune of 1% to 2% -- because like Windows 2000, "it never runs anything in the background."

    Ok, so Linux and Windows 2000 never run anything in the background. My head exploded so I stopped reading.

    1. Re:Article is bullshit by icydog · · Score: 3, Funny

      What? Don't you know that Microsoft invented multitasking with Windows XP? Linux and Windows 2000 are incapable of running background processes.

  9. it's not clear to me what's being measured by Trepidity · · Score: 4, Insightful

    The article is all over the map, discussing in vague terms everything from boot-up speed to I/O speed to some sort of generic "runs a little faster" that I assume (?) means overall system or app benchmark performance.

    When actual numbers are quoted, they sound somewhere between questionable and boring. The article quotes all sorts of differences in the range of 1% and 2%. Leaving aside the question of what this is a 2% difference in, and whether a difference that small is even consistently measurable outside of sampling error and quirks of their particular setup, does it actually matter? I'm certainly not going to choose an OS based on a 2% difference in SSD performance.

  10. ReiserFS is good by Anonymous Coward · · Score: 4, Funny

    for when you need to partition your wife

  11. Re:Windows 2000 is fastest of Windows and Mac OSX by JCSoRocks · · Score: 5, Informative

    Actually recent benchmarks have shown that defragging doesn't make *that* much of a difference - http://www.maximumpc.com/article/the_disk_defrag_difference?page=0%2C2 I've never heard of a fragmented drive affecting machine stability. That's like saying having a 5400 RPM drive instead of a 10,000 RPM drive in a server will make it crash... It makes no sense. Fragmentation has nothing to do with data integrity which is the only thing that would affect stability.

    Also, it's "its" not "it's".

    --
    You are using English. Please learn the difference between loose and lose; they're, there, and their; your and you're.
  12. Why would I care? by Trillan · · Score: 5, Insightful

    Even if their methodology was clear.
    Even if their methodology was valid.
    Even if every percentage point was accurate.
    Even if all of their arguments were valid.
    (And none of these are true.)
    Why would I care enough about 5% to let that pick my OS?

  13. Re:Confusing article by James+McP · · Score: 4, Insightful
    I find this a little scary too: Microsoft also plans a certification program for SSDs

    TFA: "Microsoft also plans a certification program for SSDs so that the drives properly identify themselves to Windows 7 and prioritize data I/O for the SATA interface. "

    While MS is known for embrace-extend-engulf, this is nothing to panic over. If the drive passes a string that identifies it as an SSD, Win7 (or any other OS) will use different disk control logic than they will for an HDD. All OSes will benefit if there's a clear way of identifying SSDs; MS, Linux, Apple, Sun, IBM, all of 'em. Change the preferred block size, alter garbage management, adjust caching to deal with 1 ms response times, (typically) fast reads,(typically) slow writes, etc.

    --
    I've been on slashdot so long I'm starting to get out of touch with the cool stuff if it ain't on slashdot.
  14. Re:Nevers run anything in the background? You what by Actually,+I+do+RTFA · · Score: 5, Interesting

    For example, XP will defrag your disk without you asking it to as soon as you're marginally idle

    XP will not. OS X will. In fact, OS X will defrag your thumb drive without your permission. It was bad enough that it was wearing my disk for no benefit, but it also made my thumb drive remarkably non-resiliant to power outages.

    --
    Your ad here. Ask me how!
  15. It's called dark humor by Anonymous Coward · · Score: 3, Funny

    Stop posting on Slashdot and go back to jail, Hans.

  16. What's wrong with this picture? by flajann · · Score: 4, Insightful
    This article fails in several respects:
    1. Linux, a very major OS, is not even included in their tests.
    2. A proper test would not have ANYTHING running in the background.
    3. Issues such as how much read and write caching the OS does will affect performance.
    4. Article does not list a performance table or chart -- but perhaps I missed that.
    5. The actual File System used is really at issue here, but the article did not mention anything about File Systems from what I could tell.
    6. Defragging a SSD? Shouldn't need that. And obviously defragging schemes which were written for magnetic hard drives will probably be less than optimal for the SSD anyway.
    7. Article, as far as I could tell, did not cite the benchmarking methodology used.

    Overall, I would state that this article is useless beyond "cocktail gossip." And really, SSD should have a specific FS written to its peculiarities, which would, of course, render the "OS" questions moot.

  17. Re:Windows 2000 is fastest of Windows and Mac OSX by ThePhilips · · Score: 4, Insightful

    LOL.

    I had in past run a Windows server for about 2 years. And it was terribly slow, despite the fact that in the beginning it was blazingly fast. I believe it was O&O Defrag which actually returned the server to life: downtime on Sunday with boot time defragmentation did the miracle.

    Same thing in the company I work for right now: IT recently took off net two file servers and exchange server to defragment file systems, because FS performance went considerably down. Folks have said that they "lose to fragmentation 30% of FS performance," meaning that system works about twice faster after defragmentation. That's why they schedule at least one down time for every windows server in company.

    Whatever synthetic benchmarks people perform - it is irrelevant.

    Long term real life experience tells otherwise.

    --
    All hope abandon ye who enter here.
  18. Re:Nevers run anything in the background? You what by Hal_Porter · · Score: 5, Funny

    That's because Mac users are non technical and open their files by name rather than cluster number. If you do that then defragmenting doesn't break anything.

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  19. Re:Windows 2000 is fastest of Windows and Mac OSX by Amouth · · Score: 4, Informative

    i alwasy got a kick out of the NT4 documentation for how to defragment a partition.. the "best pratice" was to back the data up to tape then format the partition and restore from the tape..

    alwasy gave me a good laugh..

    --
    '...if only "Jumping to a Conclusion" was an event in the Olympics.'
  20. Re:Windows 2000 is fastest of Windows and Mac OSX by yossarianuk · · Score: 3, Informative

    Linux will have good support SSD support, you can be sure of it as Linus uses it himself, he mentions it in his blog. (he is using an intel SSD drive) http://torvalds-family.blogspot.com/2008/10/so-i-got-one-of-new-intel-ssds.html

  21. Linus on SSD Vendors and Filesystems by zealot · · Score: 5, Interesting

    >I'm suspicious of the suggestion that a log-based
    >filesystem will cure all the ills of the limited flash-
    >controller based wear leveling.

    Yeah. Total bull.

    Anybody who thinks the filesystem can do really well has
    bought into the crud from most existing vendors about how
    you have to use those things differently. If you really
    do believe that, you shouldn't touch an SSD with a ten-foot
    pole.

    If the flash vendor talks about "limits" in the wear
    levelling, and how you have to write certain ways, just
    start running away. Don't walk. Run away as fast as you
    can.

    >A question keeps coming up in my mind about what happens
    >when you split an SSD into multiple partitions, and what
    >*you want to happen*. I use separate partitions for root,
    >boot, and var, because I tend to make root and boot
    >read-only.

    Again, if your SSD vendor says "align to 64kB boundaries"
    or anything like that, you really should tell them to go
    away, and you should do what Val said - just get a real
    disk instead. Let them peddle their crap to people who are
    stupider than you, but don't buy their SSD.

    So what you want to happen if you split an SSD into multiple
    partitions is exactly nothing. It shouldn't matter
    one whit. If it does, the SSD is not worth buying. If it is
    so sensitive to access patterns that you can't reasonably
    write your data where you want to, just say "No, thank you".

    Anyway, I have a good SSD now, so I can actually
    give some data:
    - Most flash-based SSD's currently suck.

    I don't have these ones myself, but last week we had the
    yearly kernel summit here in Portland, and a flash
    company that shall remain nameless (but is one of the
    absolute biggest and most recognizable names in flash)
    was selling their snake-oil about how you need to write
    in certain patterns.

    So I called them on it, and called them idiots. Probably
    one reason why I didn't get one of the drives they were
    handing out, but one of the people who did get a drive
    was the Linux block system maintainer. So he ran some
    benchmarks.

    Those things suck. You will never get any decent
    performance of anything but a very specialized filesystem
    out of them, unless you use them as essentially read-only
    devices.

    For a basic 4kB blocksize random write test, the SSD got
    around 10 IOps. That's ten, as in "How many fingers do
    you have?" or as in "That's really pathetic". It means
    that you cannot actually use it as a disk at all, and
    you need some special filesystem to make it worthwhile,
    and certainly means that wear levelling is probably not
    working right.

    (For the math-challenged, 10 IOps at a 4kB blocksize
    means 40kB/s throughput and 100ms+ latencies for those
    things. It also means that even if some operations are
    fast, you can never trust the drive)

    - In contrast, the Intel SSD's are performing exactly as
    advertised.

    I did get one of these, with warnings about how
    if I want to get low-power operation etc I need to make
    sure that disk-initiated power management is enabled etc.

    Whatever. The important thing is that the Intel SSD does
    not care one whit where you write stuff, or how you do
    it. With the same 4kB random write b

    --
    He said, "You'll be able to tell your grandchildren that you helped assemble the first NT supercomputer," and I cringed.
  22. Re:Linux, as a matter of fact by morgan_greywolf · · Score: 3, Funny

    Oh, come on now! *throws chair* Stop ruining my minions^H^H^H^H^H^H^Hteam's astroturfing with your 'facts' and 'logic'! *throws another chair* I'm gonna fscking KILL that Anonymous Coward guy!!

    -- Steve B.

  23. Re:Windows 2000 is fastest of Windows and Mac OSX by setagllib · · Score: 4, Funny

    I run a RAIV-5 array, you insensitive clod!

    --
    Sam ty sig.