Slashdot Mirror


The Benefits of Hybrid Drives

feminazi writes "Flash memory is being integrated with the hard disk by Seagate and Samsung and onto the motherboard by Intel. Potential benefits: faster read/write performance; fewer crashes; improved battery life; faster boot time; lower heat generation; decreased energy-consumption. Vista's ReadyDrive will use the hybrid system first for laptops and probably for desktops down the road. The heat and power issues may also make it attractive in server environments."

193 comments

  1. Finally... by Cherita+Chen · · Score: 3, Insightful

    This is not a new idea, nor is it new technology... This has been a long time coming.

    --
    I'm not fat, just big boned...
    1. Re:Finally... by TwentyLeaguesUnderLa · · Score: 2, Insightful

      But it's still pretty cool - a new way to integrate existing technologies, bring them together to make computers work better. I thought TFA was an interesting read, even though it didn't have anything particularly earth-shattering in it.

    2. Re:Finally... by grammar+fascist · · Score: 4, Interesting
      This is not a new idea, nor is it new technology... This has been a long time coming.

      The prices finally fell to where it's economically feasible.

      Personally, I like Intel's idea better (embedding the flash memory in the drive controller), because it should work just fine with existing drives. It might also be upgradeable, but I'm not holding my breath.
      --
      I got my Linux laptop at System76.
    3. Re:Finally... by NitsujTPU · · Score: 1, Interesting

      I don't think that's what he's driving at.

      People have been talking about doing exactly this technique for quite a while. It just never hit the mainstream. I even think that there were a couple commercial implementations of this, but I'm not sure on that last point. It is definitely talked about in research papers on filesystems that I have read.

    4. Re:Finally... by Knetzar · · Score: 4, Insightful

      I don't like that idea, since if a system failure occurs and I want to move my harddrive to another system, there is a chance that the harddrive is in a bad state. Where as if you have th flash integrated with the HDD, then the write buffer is with the disk (as it should be).

    5. Re:Finally... by amRadioHed · · Score: 1

      That's what I was thinking. If the IO call returns as soon as the data is written to the flash , then that data sure as hell should be on the disk somewhere. Keeping what is basically a disk cache on the system board sounds like a terrible idea to me.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    6. Re:Finally... by x2A · · Score: 1

      You'd move your harddrive in a bad state? Surely in the case of a system crash / power outage, you'd be best just booting up the machine first, establishing the state of the harddrive, and then move it? Otherwise you've no idea what you're putting into the other machine... (or did you mean something else?)

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    7. Re:Finally... by orim · · Score: 1

      You don't think anybody has thought of that? That there won't be utilities to commit cache to disk before moving the hard drive?

      --
      "If you could only see what I've seen with your eyes..." - Roy Batty
    8. Re:Finally... by dfghjk · · Score: 1

      No there's not. The hard drive will have a conventional filesystem just as it does today. The flash storage contents are managed separately. Flash storage is not a "write buffer".

    9. Re:Finally... by dfghjk · · Score: 2, Informative

      Technically, the drive controller is in the drive (that's what IDE stands for). The controller they referred to was one that was added to support the flash. These flash parts aren't cache RAM's like everyone seems to be imagining, they're additional storage.

    10. Re:Finally... by Beale · · Score: 1

      Well, yes, but if the harddrive is in a bad state because, say, the mainboard has caught fire?

    11. Re:Finally... by adolf · · Score: 1

      Oh, cool.

      So when the flash-containing controller chip wears out after n writes, you get to buy a new motherboard. Awesome.

      Just think of all the new chipsets Intel will be able to sell that way!

    12. Re:Finally... by PhoenixPath · · Score: 1

      So much for using a 5-yr old motherboard then...

      Unless they make the flash chips replaceable.

      Even though they've improved the number of writes dramatically, flash memory is still limited. Once they hit that barrier, the flash becomes useless.

      Then it's a question on whether they've allowed for that fact by making it so the controller is still useable even if the flash is toast.

      Still, I'd prefer a pluggable / replaceable module somewhere on the system instead of built in to *any* device.

    13. Re:Finally... by Knetzar · · Score: 1

      "Windows, however, is more transactional. It tends to trickle log files and other data even when systems are idle, keeping drives spinning. Placing that data in the write cache allows disk drives to power down."

    14. Re:Finally... by Knetzar · · Score: 1

      And if motherboard problems end up being the reason for the crash? Or even a bad CPU...you might not want to replace the CPU, but instead you might just want to move your drive to a new system.

    15. Re:Finally... by Fordiman · · Score: 2, Interesting

      Still, it might not be a bad idea to have flash journalling; have the controller record a disk-to-disk write and return immediately, intelligently handle disk reads, even if the data hasn't been relocated yet, etc. The flash chip just stores a list of actions (like in a journalled FS) and the controller performs them. They can be suitably small (1 block) so as to keep state granularity high.

      No, seriously. Sure, lots of filesystems journal, but how many can journal with separated control? In a normal journalled fs, the journal is stored on the same media as the disk - and thus suceptable to the same corruption.

      It's like the issues that put journalling in place originally; sure, some data can fail and we're ok, but if the filesystem structures fail, everything is effectively lost.

      --
      110100 1101000 1101000 1100110 0 1101111 1101000 1100011 1
    16. Re:Finally... by x2A · · Score: 1

      ...oh, you own a Dell? :-p

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    17. Re:Finally... by dfghjk · · Score: 1

      ok, they may call it that but it's not the same as the cache in the drive. it's the write cache of the OS.

    18. Re:Finally... by Knetzar · · Score: 1

      Why couldn't the drive have a write cache in it? It makes perfect sense to me.

    19. Re:Finally... by 241comp · · Score: 1

      Ah, but there is already a solution to this on the market. 3Ware Escalade cards which use an on-controller cache of up to 1GB are capable of accepting a backup battery unit (BBU) which enables the controller to retain the data in the on-card cache when power is lost. The only requirement is that you power on the drive connected to the controller card once before disconnecting it and moving it to another system. While this isn't perfect, it's pretty good.

    20. Re:Finally... by dfghjk · · Score: 1

      It does, but it's RAM not flash.

      In this context, the OS has data to store and it wants to decide where to store it. Do you want the OS to have the ability to make that decision above the filesystem or do you want it to happen at the block level? Obviously, blocks are the wrong place.

      Once you realize that, you understand that it would be better to have the part on the MB even though it could clearly be in the drive. The reason drive makers are lobbying the other way is that they get to sell and profit from it. Obviously having it in the drive allows for transparent retrofits into existing systems much like the USB drive does.

  2. Old? by Mr+EdgEy · · Score: 1

    Old news.. but still, it all depends on how well the drive caches. If it's writing useless data it's worthless... a swapfile to "slower" memory could be nice.

    1. Re:Old? by Kuroji · · Score: 1

      Windows creates an immense swapfile anyway - why not just get the system to do it on either a designated part of the hard drive, or on a USB 2.0 flash drive?

      Actually, has anyone tried that? I expect you could see a decent increase in performance that way.

    2. Re:Old? by kevlarman · · Score: 1

      since flash memory is only good for a limited number of writes, i would think that a swap file is thing you want to put there.

      --
      A mouse is a device used to point to the xterm you want to type in
    3. Re:Old? by nmb3000 · · Score: 5, Informative

      Windows creates an immense swapfile anyway - why not just get the system to do it on either a designated part of the hard drive, or on a USB 2.0 flash drive?

      Actually, has anyone tried that? I expect you could see a decent increase in performance that way.


      Windows' swapfile usage is pretty similar to the way Linux does swap, except that Windows uses a file instead of a partition. By default it's 1.5 times the amount of RAM installed in the system and is made all at once to ensure a contiguous file. On systems with plenty of RAM it's still good to have because it means the OS can commit to having plenty of memory for applications which request a lot, most of which they might never use. Without a page file 10-20% of physical memory is wasted because the OS has committed to having it (think Photoshop, etc).

      I don't know how well the pagefile would work on a USB drive since if you're using much swap you're already seeing serious degradation. Besides, flash drives still suck at write speeds, being many times worse than even an old IDE drive. That's the biggest problem with integrating the two technologies I would think--making sure that you don't introduce bottlenecks due to stuff like that.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    4. Re:Old? by Anonymous Coward · · Score: 0

      Vista does, in fact, have a feature to use any USB flash drive as a swap disk. I believe it performs software-level load evening such that it doesn't wear out the drive too quickly. I've seen a demo, and performance with multiple applications open is much improved.

    5. Re:Old? by DrXym · · Score: 3, Informative
      Windows' swapfile usage is pretty similar to the way Linux does swap, except that Windows uses a file instead of a partition. By default it's 1.5 times the amount of RAM installed in the system and is made all at once to ensure a contiguous file.

      Sadly, it isn't always contiguous since it has an initial size and a maximum size. If you run too many apps or an app goes crazy and consumes all your memory, your pagefile goes through the roof.. I was horrified to discover the pagefile.sys on my laptop was split into 3000+ pieces. I had to page defrag over it (a SysInternals tool). After running it a bunch of times, it's still at 800 pieces even now.

      I I prefer the Linux method since you can choose a swapfile or a swap partition. A partition guarantees no fragmentation (and optimal performance since there is no underlying fs), but you have the flexibility of a swap file if you need it.

    6. Re:Old? by nmb3000 · · Score: 1

      Sadly, it isn't always contiguous since it has an initial size and a maximum size. [...] I had to page defrag over it (a SysInternals tool). After running it a bunch of times, it's still at 800 pieces even now.

      You're right. "Ensure" is too strong a word I suppose. You can minimize fragmentation of the pagefile by setting custom values, using the same number for the initial and maximum size (1.5 x RAM). This will prevent it from growing and fragmenting that way. The other way it can fragment is by creating the file on an already fragmented volume. If you defragment the disk first, then re-create the pagefile it should be better.

      I think the easiest method to defragment a pagefile is just to remove it (assuming you can), reboot, and then re-create it with custom sizes like I mention above. This will make the system re-allocate space for the file, and assuming the disk you're using is not too fragmented, it's easy to get a 100% contiguous file.

      I prefer the Linux method since you can choose a swapfile or a swap partition. A partition guarantees no fragmentation (and optimal performance since there is no underlying fs), but you have the flexibility of a swap file if you need it.

      I've known a guy who did that with Windows. He would make a partition just for the pagefile, and swore it made a difference, though aside from preventing fragmentation, I never saw how it could. Putting it on a different physical disk from the system drive can help some though.

      Here's more pagefile tips.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    7. Re:Old? by NSIM · · Score: 1

      If you set the upper & lower limits of a Windows swap file to the same value, then the entire pagefile is allocated on the disk which solves your probelm and makes the Windows pagefile work much like the LINUX partition. It's a tradeoff, consume less space on disk vs. pre-allocate. The benefit of doing it through the filesystem like Windows (and many commercial UNIX implementations) is that you aren't locked in to a specific size, i.e. you don't have to re-partition the disk or find an unused partition when you add a lot more memory.

    8. Re:Old? by glesga_kiss · · Score: 1

      Mod parent up, what he is describing is known as a "swap brick". The best way to create one is to close everything, set swap to a D: drive only, defrag the C: drive in safe mode (or another OS if you can) then enable the swap with the min/max the same as described. Your swap file will now consist of one very large file with no fragmentation. I tend to set min to 2x the ammount of physical ram.

      Defraging from another OS will also fix this issue. A windows boot disk should be sufficient but I run two windows installs on my desktop making it very easy. Each OS is set to background defrag the other drive using Diskeeper. It's by far the best way to defrag as none of the files will be locked by the OS.

  3. Hybrid Drives! by Sixtyten · · Score: 4, Funny

    Will they increase fuel economy as well?

    1. Re:Hybrid Drives! by Kryptonian+Jor-El · · Score: 1

      imagine a day when our drives will be free of fossil fuels and will be powered by electricity alone!!!...wait a minute...

      --
      All your 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 are belong to us
    2. Re:Hybrid Drives! by Toba82 · · Score: 1

      Since part of the point is to save power, yes.

      Oh, you were just making a pointless joke to get modded up. Carry on.

      --
      I pretend to know more than I really do by mooching off google and wikipedia.
    3. Re:Hybrid Drives! by grammar+fascist · · Score: 1
      Will they increase fuel economy as well?

      I hear the worst part about them is refilling the bits after they run out. The cells are large and clunky and you have to wear special gloves to do it. Even worse, it actually takes many times more bits to create a cell than the cell stores, meaning that it's more economic just to get them from the pump!

      What a waste.
      --
      I got my Linux laptop at System76.
    4. Re:Hybrid Drives! by moro_666 · · Score: 3, Insightful

      Actually the saving power hype quite stunned me :)

      The article said that it will be integrated into windows server architecture, so that your servers will power down the hdd's to save power. but this idea has flaws

      * first of all, who the hell wants to spin down server hdd-s ? you can't cache hudred of gigabytes, and servers that would save any noticeable amount of power from that can't cache all the necessary data to the tiny dram or flash.
      * second, there is no real "mega power save" here, intel makes cpu's that still float near 100W while they are at fullspeed, whereas a modern hdd goes under 10W in normal conditions while spinning normally.
      * third, if it's mainly used as booting speedup, how many times do you really want to start your server (yeah ok, on windows, the update cycle needs you to boot once per month, but still ...)
      * fourth, spinning any physical item down and up again will reduce it's lifetime, temperature changes in the oil and materials make it less resistable to damages.
      * fifth, spinning up the hdd requires a lot more power than keeping it spinning.
      * sixth, unless this works transparently (emulating some 'natural' disk operations will certainly make it slower than just disk access), who the hell is going to rework all the raid software that you have enhanced your boxes with ?
      * seventh, add all the things up from here, and althrough you find the disks inexpensive, the total cost will be expensive, may not save you a dime.

      To save power i currently look at amd geode and laptop cpu's (from both, intel and amd). if i stack up my machines with those i will save more power per work unit than any flash trick.

      For a desktop or notebook that you boot once per day, this ofcourse seems like a nice idea, way to go.

      --

      I'd tell you the chances of this story being a dupe, but you wouldn't like it.
    5. Re:Hybrid Drives! by Anonymous Coward · · Score: 0

      Of course! Since the flash allows to stop the hard drive most of the time, you'll need less fuel for your fuel cell powered laptop!

    6. Re:Hybrid Drives! by jibjibjib · · Score: 1

      Yes, definitely. Because the hard drive moves less, you'll need less nanotube lube.

    7. Re:Hybrid Drives! by Anonymous Coward · · Score: 0

      For laptops this config will be good. For server rooms? Probably not as good. Maybe for some staic type applications?

      So you can now spin a drive half as fast most of the time. In theory half as much wattage. Also as the cpu does not have to wait as long for something to come back from the drive. Thus saving some power from the CPU too. Less wait is good. This should help quite a bit for battery life. Also my laptop seems to use the most power right when it is booting up and or restoring. Also HD's give off quite a bit of heat when running full blast. So the system in theory should need less cooling too.

      I personally am waiting for the 128GB flash drives. Those will be much more interesting. I am also willing to bet people start putting them into RAID configs also for more speed. As the idea of RAID still applies to flash drives.

    8. Re:Hybrid Drives! by prisoner-of-enigma · · Score: 1

      first of all, who the hell wants to spin down server hdd-s ? you can't cache hudred of gigabytes, and servers that would save any noticeable amount of power from that can't cache all the necessary data to the tiny dram or flash.

      I think you misunderstand the meaning of how this would be applied. Currently, products are being developed that will spin down unused drives in something like a large SAN array, then spin them up once capacity (or performance) requires it. This could result in noticeable power savings.

      second, there is no real "mega power save" here, intel makes cpu's that still float near 100W while they are at fullspeed, whereas a modern hdd goes under 10W in normal conditions while spinning normally.

      Modern CPU's all have power saving circuitry built into them, and they can power themselves down to under 20W-30W. I'm not talking laptop CPU's here; Opteron's and (I think) Xeon's can do this, too. This is significant.

      third, if it's mainly used as booting speedup, how many times do you really want to start your server (yeah ok, on windows, the update cycle needs you to boot once per month, but still ...)

      A good point, but there's still a huge upside: servers can take several minutes to boot off standard hard drives. Every minute a server is down, hundred or thousands of people cannot make use of the server. For a big company or website, that's a lot of lost money. If you can shave a minute or two off the total boot time, it is significant.

      fourth, spinning any physical item down and up again will reduce it's lifetime, temperature changes in the oil and materials make it less resistable to damages.

      Which is why you don't spin up, spin down, spin up, spin down all the time. If you had a big SAN array, it's very unlikely it's going to be at 100% capacity on day one. If you could spin down all the drives that aren't in use but still make it appear as if they were "up," why wouldn't you?

      fifth, spinning up the hdd requires a lot more power than keeping it spinning.

      That depends on how long it's spinning but not doing anything useful.

      sixth, unless this works transparently (emulating some 'natural' disk operations will certainly make it slower than just disk access), who the hell is going to rework all the raid software that you have enhanced your boxes with ?

      See prior comments. Folks like EMC are all over this already.

      seventh, add all the things up from here, and althrough you find the disks inexpensive, the total cost will be expensive, may not save you a dime.

      Since you're missing several key points, I think your conclusion is not...correct.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    9. Re:Hybrid Drives! by mr_mischief · · Score: 1

      Good points. If it's not a DB server, a very busy file server, or a rather large mail server, though, there's a very good chance it won't be a hundred gigabytes at a time that needs caching. Speed on something that randomly accesses a wide set of small files each infrequently needs a cache speedup much more than huge reads and writes or over data that's always in the OS's cache in main memory.

      Also, if during a write the cache can fill during a seek and empty before the next write request from the OS (I haven't read anything that claims this will be the norm for this arrangment, but it'd be the ideal case for a disk cache) then it will offer a speedup no matter what other conditions exist.

      I'm not saying these two things outweigh your well-stated checklist. It's just a couple more things to consider.

  4. Been there done that by ganjadude · · Score: 1

    I remember in 2002 when I was enrolled in the CISCO CCNA classes, we were playing around with a hybrid console. It was a small HD maybe 5 gig and small flash drives working in conjunction. Ok so it wasnt EXACTLY the same but it worked on the same principal. I only wish I could remember the model number...

    --
    have you seen my sig? there are many others like it but none that are the same
    1. Re:Been there done that by ChaoticChowder · · Score: 1

      If I had a little more info, I might be able to help you remember. Information about whether it was a switch or a router would be nice. Now, I do know that some 7200 series routers come with the ability to write configs to a hard drive. I guess it really depends on the modules you put in the Cisco equipment(it seems to me that they have a module for just about anything.)

    2. Re:Been there done that by ganjadude · · Score: 1

      Wow.... it was a router, I think it might have been the 7200 or a 9X00 series it was too long ago.

      --
      have you seen my sig? there are many others like it but none that are the same
    3. Re:Been there done that by ChaoticChowder · · Score: 1

      Yeah, I had the pleasure of working with 7206 VXR routers for a couple of years. The only reason I remember is because it was out of our traditional setup and it took me couple of minutes to figure out where the configs were being saved. I think I remember the drive being 10 GB and 32 MB of flash...

  5. Maximum Writes for Flash Memory? by graphicartist82 · · Score: 2, Interesting

    Most flash memory i've seen (such as the USB keychain drives), have a rated maximum writes before the memory starts having problems.

    Am I missing something here? How are they going to overcome this if they plan on using the same type of memory for disk cache?

    1. Re:Maximum Writes for Flash Memory? by KingJackaL · · Score: 1

      Unfortunately, I have a sinking feeling their 'fix' may just be to ensure that:

      MeanWritesBeforeFailure / AverageWriteRate > WarrantyPeriod

      ...here's to hoping the longevity of flash memory being produced is improving with time.

      --
      Perfecting the art of insanity since 1982
    2. Re:Maximum Writes for Flash Memory? by NitsujTPU · · Score: 1

      Yes. There are companies offering solid state storage devices commercially as high-speed replacements for hard drives. BitMicro is one of them, and offer terrabyte RAIDS of the stuff.

    3. Re:Maximum Writes for Flash Memory? by Joebert · · Score: 1
      How are they going to overcome this if they plan on using the same type of memory for disk cache?

      Simple.
      By commenting out the section of source that checks the read/write count registers.
      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    4. Re:Maximum Writes for Flash Memory? by DDLKermit007 · · Score: 5, Informative

      An age old method called write leveling. In practice it usualy doesn't work since most people do it with USB thumb drives and/or flash memorycards which are all removed on a regular basis so the reader/writer of the media gets changed allot or the controler doesn't impliment write leveling. As such the write leveling never really gets done very well. With a system like this the write leveling would be exact and the flash memory would end up outlasting the moveing parts of the hard-disk. Also as parts of the card went bad the controler would skip over those sectors in the future which would lead to it working even longer. Even one part of a regular hard disk goes bad and your boned completely.

    5. Re:Maximum Writes for Flash Memory? by phoebe · · Score: 2, Informative

      They are not flash though, the solid state storage devices use banks of DIMMS with backup batteries and hard drives to save state when power failure occurs.

      Flash isn't a terribly fast medium either, hence all the marketing over 12x, 20x, 50x compact flash cards in the digital camera market.

    6. Re:Maximum Writes for Flash Memory? by djdavetrouble · · Score: 1

      How about adding one of those red jewels from Logan's Run ? When the jewel starts flashing, you send it of to Carousel and it can Renew!
      Oh wait, they just died in Logan's Run too..

      --
      music lover since 1969
    7. Re:Maximum Writes for Flash Memory? by earnest+murderer · · Score: 2, Informative

      Am I missing something here?

      Yes, durability has improved tremendously. Also, they aren't using it for swap. Most of the files that will get cached here are things the OS developer knows (or the system obsreves) are going to be asked for frequently. Data will also be saved here sometimes to avoid spinning up the disk.

      The sum of these writes are not going to exceed the durability (some millions of writes was the last spec I saw) of modern flash in any reasonable time frame.

      Also, if someone is abusing the technology or just keeps the same drive around that long the whole system doesn't fail, it just becomes a bog standard disk. Since a write failure is known at the time it is written you don't even loose data.

      --
      Platform advocacy is like choosing a favorite severely developmentally disabled child.
    8. Re:Maximum Writes for Flash Memory? by Anonymous Coward · · Score: 0

      From the paper at Microsoft.com (available at http://www.microsoft.com/whdc/device/storage/hybri d.mspx, have a read)

      NV Cache Flash Wear
      NAND flash memory is rated for a limited number of write-erase cycles before individual cell failure. The result is that heavy use of the NV cache could deplete the available capacity over time.

      To avoid the possibility of this happening, H-HDD vendors are likely to employ wear-leveling algorithms that spread the wear across all of the available flash blocks and extend the useful life of the entire cache. Also, ReadyDrive algorithms have been designed to limit the writing and erasing of contents in the NV cache, so even for the smallest NV cache sizes, the useful life of the cache is expected to extend beyond the useful life of the device it is packed in. If the NV cache does experience any wear, it will result in a smaller capacity NV cache and will eventually be treated as a standard HDD by Windows Vista. For larger NV cache capacities, proper wear leveling will ensure that this outcome is even less likely.

    9. Re:Maximum Writes for Flash Memory? by rew · · Score: 1

      There are several things. First: flash chips are easy to make in such a way that some cells have a much longer longlivety. So many flash chips come with say 10k max writes, but a specific 1% of the chip is specified to last at least 10 times longer.

      Secondly, things go bad if you write the same spot repeatedly. Don't do that then. This is much easier to implement for a harddisk-write-cache than for an USB stick. In the write-cache write something like: "write-ID 1234, sector 4567, data:..." // write-ID 1235, sector 9876, data" etc. When the disk powers up, you just start writing at the lowest write-ID. All flash-sectors get used equally. No need to do balancing (which they have to do for the USB sticks to prevent say the FAT from wearing out before the rest does).

      Thirdly, you could think a bit about what goes into the cache and what doesn't. If the disk is spinning, just write to the disk. Suppose you have a 100Mbyte flash backup, you will need to write a total of 1 terabyte of data to the flash before it wears out (at 10k cycles per cell). Take into account that this is for power-saving on laptops. On that laptop you'll install an OS, and never touch that region of the harddrive again. That's static data. When you work on the laptop, your work will be saved occasionally, but how long untill that adds up to a terabyte? Suppose you save a gigabyte a day: the terabyte will last you three years! So even IF you don't get smart about bypassing the cache if possible, the lifetime of the flash is easily comparable to that of the drive.

      Last, if you keep count of how many times you've used the flash you can fallback to "the old way" if your count (or the number of ECC-fixups required) indicates that the flash might be nearing the end of it's life. You shouldn't lose any data.

    10. Re:Maximum Writes for Flash Memory? by aztracker1 · · Score: 1

      I am guessing that it will be dedicated to OS system, and boot files that don't change often... not for a swap file.

      --
      Michael J. Ryan - tracker1.info
    11. Re:Maximum Writes for Flash Memory? by crmartin · · Score: 1

      Also, it's a write limitation. There are a lot of files (the gcc executable, say) that get written very rarely, like once, and read thousands of times.

    12. Re:Maximum Writes for Flash Memory? by Eivind · · Score: 4, Interesting
      You're missing that the typical comercial flash-module is built to withstand 1 million writes or more.

      A 1GB flash-module bein written to *constantly* (24 hours a day, 365 days a year) with a sustained speed of 5MB/s would thus wear out sometime after 6.5 *YEARS* of continous operation.

      I'm guessing you can see why this problem is purely hypothethical for 99.99% of all laptops out there. You don't write to disc *constantly* and even if you did, you don't typically use the laptop 24/365, and even if you did, having a laptop-drive fail after 6-7 years is normally not a showstopper.

      If, more realistically, the laptop is used 8 hours/day 250 days/years, and writes to disc 10% of the time when turned on, then the 1 million writes to flash will get reached after aproximately 30 years.

      Even these numbers are high -- my laptop is heavily used as a developer workstation, and it certainly does not write to disc 10% of the time it is turned on.

    13. Re:Maximum Writes for Flash Memory? by NitsujTPU · · Score: 1
    14. Re:Maximum Writes for Flash Memory? by Anonymous Coward · · Score: 1, Informative

      eh? since when did bad disc sectors make a hd die? regular magnetic drives have been working around bad sectors long before the inroduction of flash. no, the problem with magnetic hd drives are the movings parts that die which elimates the drives completely, which will still exist in these hybrid drives. until a pure flash hd comes out, all these hybrids does is create a minor improvement in performance. flash unfortunitely still has a bit to improve in performance(faster then hd speeds are expensive for flash), size, and cost. as stated by you, write leveling will make flash last quite a while, probably to the life of the hd but i don't see how useful the addition of flash would be instead of say a flash slot (you already have a ram slot, a connector for hd, why not add a flash slot into the mix that is far more flexable where the os could be read from it or something along thsoe lines) (i'm aware the idea has been put out, just can't remember what intel called it)

    15. Re:Maximum Writes for Flash Memory? by Antony-Kyre · · Score: 1

      I agree. A bad sector on a spinning disc drive doesn't ruin the drive. The drive dying ruins the drive, more or less. Well, unless you're going to spend thousands on doing one of those data recovery things.

      Solution: Doing a RAID so if a drive does go bad, there's the second drive. Just replace. (I don't know too much about RAID, so correct me if I'm wrong.)

      The advantage of flash is what the article says though. Faster O.S. booting. Hybrid drives is a really good idea. Something fast to put the O.S. onto meaning no more 3-5 minute boot-ups for Windows.

    16. Re:Maximum Writes for Flash Memory? by DDLKermit007 · · Score: 1

      Yet a bad sector on an HD usualy is not caught until the user does a complete scandisk of the drive so the bad data continues to march on. With flash based systems the bad sector is caught on the first write. Bad sectors aren't much of an occurance anymore with HDs though. The actuall moveing components is what I was refering to which there are many to have die on you. Also if you actually RTFA this type of application would be for LAPTOPS primarily to save power (not slap another power hungry drive in). Of which the only laptops I've ever seen have RAID is the overpriced Alienwares.

    17. Re:Maximum Writes for Flash Memory? by retep · · Score: 1

      No, you're wrong. The write leveling is done by the controller on the USB thumb drive itself, not the computer it's attached too.

      Ref: http://www.storagesearch.com/siliconsys-art1.html

    18. Re:Maximum Writes for Flash Memory? by cnettel · · Score: 1

      You're wrong. A bad sector is caught by any read. A recoverable read error that's bad enough will cause the disk to remap it internally for future use. This means that things are really bad if you get a lot of bad sectors reported by the file system. A scandisk or some other complete sweep of the disk will of course be triggering those reads of every sector, and so SMART stats for a drive might change after such a sweep.

    19. Re:Maximum Writes for Flash Memory? by Anonymous Coward · · Score: 0

      The media gets changed 'allot'? That doesn't even make sense. I presume you meant to use the two words 'a lot', not the word 'allot' (the meaning of which, for those deprived of knowledge of the English language, is similar to 'assign').

    20. Re:Maximum Writes for Flash Memory? by IcePop456 · · Score: 1

      I thought one of the purposes for this flash memory was increased speed. 5MB/s doesn't cut it. However, your point, very similar to a post above, still holds true.

  6. Magnetic-RAM. by Anonymous Coward · · Score: 2, Insightful

    MRAM would have been a better choice.

  7. A good idea by apathy+maybe · · Score: 2, Interesting

    This is a good idea (even if it is old). In fact flash memory is so small that you could scrap hard drives altogether if you had enough money.

    Imagine twenty 1 gig flash memory cards in a row ... less space then the equivelent hard drive.

    --
    I wank in the shower.
    1. Re:A good idea by Heembo · · Score: 0, Redundant

      NYET, Flash memory has a much reduced shelf-life compared to hard-drived in terms of maximum writes before it degrades, not to mention hard drives are way cheaper than flash. Good old hard drives are much more reliable in the long term and cheaper, at least for now...

      --
      Horns are really just a broken halo.
    2. Re:A good idea by LordLucless · · Score: 1

      Imagine twenty 1 gig flash memory cards in a row ... less space then the equivelent hard drive.

      Now imagine 500 1 gig flash memory cards in a row - I bet the 500GB HDs beat them out on form-factor quite considerable. Not to mention the other problems with flash as a replacement for harddrives - read/write times and the relatively low write-limit are the things that jump to mind.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    3. Re:A good idea by LordVader717 · · Score: 1

      Cheaper yes, but that's only an issue if you're dealing with large files. As it is, alot of people using laptops use it for documents, web browsing, and other low-performance tasks.

      But as for longterm reliability, I would be more sceptical. I've heard plenty of stories of Hard Drives crapping up. The thing about them is that they fail because of mechanical wear.
      Flash memory on the other hand has no moving parts, and that's always a big plus. I've never heard of flash memory losing data.

      It would be interesting to compare the longterm reliability of HDs and Flash drives, but saying that HDs are invaiably better is a little one-sided.

  8. another "benefit" by plasmacutter · · Score: 2, Interesting

    another benefit of integrating flash memory onto the motherboard is the ability of hackers to hack your motherboard independently of the OS, and for friendly companies like microsoft to protect you from yourself by placing code they control in places you cant access on your machine.

    no, I dont like this one bit, it's just a huge security hole begging for exploitation by hackers and DRM vendors.

    --
    VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
    1. Re:another "benefit" by Frogbert · · Score: 1

      What the hell are you talking about? Most modern day motherboard integrate flash memory in the form of a flashable bios. Hackers don't abuse this because it is such a narrow target, every motherboard is different.

      Regardless, this article is about flash in hard disks.

    2. Re:another "benefit" by plasmacutter · · Score: 4, Interesting

      I hate to reply to my own post but look, it's not offtopic.

      flash memory is persistant. Unless you provide open apis to allow anyone to develop applications to wipe it, there is no real way to confirm anything that gets stored on it is actually removed.

      Every platform, but especially windows, has a history of security exploits, and now the viruses will have somewhere to hide where they will be much harder to dig out, and anyone wanting to implement DRM could build an OS designed to hide critical components of it by burying it on the flash memory.

      --
      VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
    3. Re:another "benefit" by plasmacutter · · Score: 3, Insightful

      Hackers don't abuse this because it is such a narrow target, every motherboard is different.

      exactly, every mobo is different.. this sounds like something which could make its way in as a standard part of windows computers.. much less narrow a target.

      --
      VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
    4. Re:another "benefit" by DAldredge · · Score: 0

      And the technical ability of the typical /. user continues its downward spiral.

    5. Re:another "benefit" by plasmacutter · · Score: 2

      please illustrate to me exactly how I am wrong, otherwise please don't decry my post as technically inept.

      I really am interested in how exactly the hypothetical I put forward is not possible, it would certainly ease my mind, but from my substantial time weeding out viruses and malware, experience has shown that if you are unable to delete every part of it it will grow back like a friggin weed.

      --
      VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
    6. Re:another "benefit" by spauldo · · Score: 1

      One of the key points of cache is that if you change something on the disk, that overrules the cache. That's implemented in hardware.

      Disks have cache now, although it's volatile. All this should change is that the cache will be there when the system boots. Sure, getting a virus in there will be just like if you had a virus on your hard drive, but any changes to the disk should be changed in the cache as well by the controller. The system itself probably won't have any way of directly accessing the cache itself, unless the ATA standard is expanded.

      All that, of course, applies to the hybrid drive setup. The other idea, where the cache is on the motherboard, might be implemented differently, and might be cause for alarm. You can't really tell, but unless they're going to break a few fundamental ideas behind the ISA, there should be little to worry about.

      --
      Those who can't do, teach. Those who can't teach either, do tech support.
    7. Re:another "benefit" by Anonymous Coward · · Score: 0

      DAldredge only knows how to do two things: tell people they are wrong when they are not and demanding that people cite their sources despite his 'habit' of making things up when he posts. Just ignore him. He is a bigger drain on /. than the goat sex troll.

  9. Less expensive and probably just as effective by keith134 · · Score: 2, Informative

    Plug in a USB or Flash drive and mount it as a non removable drive (drivers exist for this purpose...google them) then set your page file and temp files, etc. to the flash drive.

    1. Re:Less expensive and probably just as effective by Arramol · · Score: 1

      The problem with this is that you're then bottlenecked by the speed of the USB bus. USB 2.0 is only capable of 480 Mbit/s, which is slower than PATA's 1064 Mbit/s.

      USB speed: http://en.wikipedia.org/wiki/USB#USB_compared_to_o ther_standards
      PATA speed: http://en.wikipedia.org/wiki/Serial_ATA#eSATA_comp ared_to_other_buses
    2. Re:Less expensive and probably just as effective by vga_init · · Score: 1

      I've done that before, and it's not as good of an idea as it sounds. Don't use flash for paging! It's not designed for that. It will perform slower than a hard drive by an order of magnitude or two, and the amount of stress put on the memory will cause it to degrade quickly.

    3. Re:Less expensive and probably just as effective by MaynardJanKeymeulen · · Score: 1

      Err.
      No hard disk will be able to saturate a USB 2.0 bus, let alone a PATA bus.
      So that won't be the bottleneck.

      --
      "The day Microsoft makes a product that doesn't suck is the day they make a vacuum cleaner."
    4. Re:Less expensive and probably just as effective by Silver+Gryphon · · Score: 1

      And you don't want to see what happens when Windows gets its swap file corrupted. Twice I've seen the effects of a single-bit memory error firsthand. First at home, random symptoms and crashes for 6 months until even my backups had been recycled and I lost a whole lot of files. Memtest86 was the only memory tester that caught it. Then at work, where billing information was sent out with a random character's ASCII value added by 8. M's where there should have been E's looked like human error until it got into the program code.

  10. Impracticle in large data storage... by Fallen+Kell · · Score: 2, Insightful

    The solid state portion of the drives are really only good for data that will not change often. That section suffers from limited number of re-writes before the data integrity degrades. The hybrid disks work well mainly for the primary system OS disk and that is really just about it. The kernel and main OS components will rarely change (patches and kernel updates are the only times). This is why boot times are increased using these disks, because the OS and kernel is contained on the faster solid state memory...

    Again, in an environment where data is constantly being written and deleted, these disks will fail a lot sooner.

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
    1. Re:Impracticle in large data storage... by Matthias+Wiesmann · · Score: 1

      In some sense, I have the feeling we have gone full circle. What this amounts to is having the operating system and core libraries in some sort of pseudo-ROM device, that can be read fast and written a limited number of times. This is not so different from the classical macintosh computer that had a large part of the OS in ROM, the Mac classic had even a bootable disk image in ROM, plus ça change....

  11. preference by spykemail · · Score: 2, Insightful

    I'd prefer something longer lasting (and faster) than flash memory.

    1. Re:preference by cb0nd · · Score: 1

      Why not make it cheaper too?? This reminds me of a piece from the Hennessy and Patterson Computer Architecture book. In the chapter about memories, it says that a memory should be very fast, persistent, large and, why not not make it cheap, while you're at it. Yes, my friend, people have thought about this before. If someone found a better solution, people would use it, as surprising as that might seem.

    2. Re:preference by Anonymous Coward · · Score: 0

      MRAM might fit the bill... in several years. Right now freescale makes half-meg MRAM chips.

    3. Re:preference by vertinox · · Score: 1

      I'd prefer something longer lasting (and faster) than flash memory.

      Well... That rules out my old Seagate hard drive.

      Hey at least at least Seagate's RMA process was painless no matter how many times you had to send it back ;)

      --
      "I am the king of the Romans, and am superior to rules of grammar!"
      -Sigismund, Holy Roman Emperor (1368-1437)
    4. Re:preference by spykemail · · Score: 1

      Too bad everyone is going to cling to their flash factories. If it weren't for that darn commercialization we could have the best technology as soon as it's invented! Of course, we would also have to pay 100x as much for it :(. Mark my words, investing in the first companies to begin offering large MRAM (or similar) chips at competitive prices is a recipe for $$$.

  12. Not applicable to server environments by pestilence669 · · Score: 3, Interesting

    "...The heat and power issues may also make it attractive in server environments..."

    Not necessarily... perhaps during boot time. These potential savings are reserved for end-users who aren't doing anything data intensive. Last time I checked: database, web, email, and file servers are all data intensive... meaning that the drives will have to be spinning.

    Hybrid drives do less in a server environment than a RAM disk. They can help boot faster, which is great for disaster recovery. If heat & power are a huge concern, flash drives, that are here now, solve those problems.

    1. Re:Not applicable to server environments by Knetzar · · Score: 1

      In an enterprise environment, if your database server or web server is often reading from the disk, then chances are you have a major performance problem. Disk I/O should be limited in any environment where you want high performance.

      I can see this being very helpful when writing logs though. Instead of keeping the drive constantly spinning, it can just write to the flash memory and only occationally spin the drive up to dump that to disk.

    2. Re:Not applicable to server environments by greg1104 · · Score: 1

      Most e-mail servers fit your description, but there are plenty of server environments with a mix of peak times where the hard drive is going constantly and off-times where it isn't. For example, it would be nice if corporate servers that get hammered only from 9-5 could reduce their power usage during the evenings with less nuisance than the current power management schemes require.

    3. Re:Not applicable to server environments by pestilence669 · · Score: 1

      What about nightly backups? Even if your drives spin down at 5pm, they'll have to spin back up between 9pm and 4am for tape backup (or other time block).

      All of my servers, even at home, use RAID. The idea of 18 drives starting and stopping makes me cringe. The power saved by spinning them down is potentially lost by the amount of power it takes just to start them back up. Then there's added stress to the Taiwanese power supplies, which thank God, are redundant on my systems.

      Each drive starts 5 seconds before the next to prevent the UPS from being tapped out. If I start them too close together, the UPS beeps, complains, and trips a fuse. That's one and a half minutes before the RAID is completely online... assuming that the requested data isn't already cached, which makes starting the drives a total waste of time. This is assuming that hybrid drives will even be supported by suitable RAID controllers.

      I just don't see how hybrid drives work in a real IT department. A workgroup server in a five person company... sure, but that's hardly enterprise class. A server than doesn't have RAID, for redundancy alone, is bad form. Starting and stopping the drives will only add to the wear and tear making RAID that much more necessary.

      Pop in a $99 USB flash drive for log files and use the standard power management features in your O/S, and you have a hybrid solution today. I honestly don't think hybrid drives will be that much better.

  13. They forgot one... by mattmacf · · Score: 3, Insightful
    Potential benefits: faster read/write performance; fewer crashes; improved battery life; faster boot time; lower heat generation; decreased energy-consumption.

    What about increased reliability? I realize a lot of this might depend on how the flash memory is interfaced, but it would be awesome to have a small built in flash chip capable of live backups of critical data. With say a spare gig of memory on the hard drive, it should be more than feasible to have data of certain folders (e.g. My Documents and system folders) in the off chance that your hard drive actually does fail. Being able to boot directly to the flash chip would be great in emergencies, and a copy of DSL/Puppy Linux/*Your favorite recovery tool* would be perfect to store there. Bonus points if you can easily (i.e. without a soldering iron) swap the flash chip to a fresh drive and do a Stage 1 Gentoo reinstall from scratch.

    Come to think of it, the possiblities of RAIDing these things together could be interesting as well. With a RAID 1, all but the most paranoid wouldn't need to include the flash memory in the mirror. Or, should the flash memory get sufficiently large (say, 20-25% of the hard drive size), you could use the flash memory as dedicated parity in a RAID 4 array. Obviously this means squat if you can't interface the flash memory properly, but hey, at least the possibilities are there.
    --
    I only mod funny =D
    1. Re:They forgot one... by Nimey · · Score: 1

      If your data is really critical, do an off-site backup. At the least, burn a CD using a high-quality blank with the most important stuff and put it in a bank safe-deposit box. In another town.

      Putting it in a different area of the same disk drive, using the same drive controller, the same motherboard, the same RAM (you get the idea), is asking for trouble.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    2. Re:They forgot one... by gnuman99 · · Score: 1

      How about when your PS fails and sends a 120V jolt over the 12V rail (been there, done that)? Backup is not a backup if data is destroyed when the original computer is stolen, blown up, etc...

      RAID 1 is good only for situations where the drive fails and you don't want down time. It doesn't guarantee that failure will not result in data loss.

  14. Catastrophic Failure of Flash Memory by reporter · · Score: 4, Interesting
    The technical specifications of the flash memory in my USB drive says that it is guaranteed to work for, at most, 100000 (i.e., one followed by 5 zeros) writes. People do not talk about this limitation, but I have seen this limitation written into the technical specifications of the flash memory in many devices.

    The hard drive in my Compaq x86 workstation has been humming nicely for more than 5 years. Due to the nature of my work at the institute, the number of writes to the hard drive have easily exceeded 100000 during that time.

    Using flash memory as a fast cache for the hard drive will increase the performance of the drive but will decrease the overall life of the drive. Someone will be awfully upset when she makes a final save of her million-dollar PowerPoint presentation for the CEO and discovers that the save is the 100001st write to the hybrid drive.

    Hopefully, the engineer who designed this hybrid drive has, at a minimum, integrated an LCD counter and a tiny speaker into the drive. The counter shall display the running total of the number of writes to the flash memory. The tiny speaker shall beep like crazy when the total exceeds 99900.

    1. Re:Catastrophic Failure of Flash Memory by servognome · · Score: 5, Funny
      Hopefully, the engineer who designed this hybrid drive has, at a minimum, integrated an LCD counter and a tiny speaker into the drive. The counter shall display the running total of the number of writes to the flash memory. The tiny speaker shall beep like crazy when the total exceeds 99900.

      It was in the original engineering design, but the lawyers said it would be cheaper to just include a warning in the fine print of the warranty.
      --
      D6 63 0D 70 89 81 BB 8E 7B 7C 5F 5D 54 EA AB 73
    2. Re:Catastrophic Failure of Flash Memory by Volante3192 · · Score: 5, Insightful

      The technical specifications of the flash memory in my USB drive says that it is guaranteed to work for, at most, 100000 (i.e., one followed by 5 zeros) writes. People do not talk about this limitation, but I have seen this limitation written into the technical specifications of the flash memory in many devices

      But, on the other hand, how often do you write to your windows folder? There's the monthly update, the occassional reg hack, but all in all, once it's established, that's a pretty static area of your drive. I could see this as an incredible benefit to system files, which, as has been discussed oft here before, the big reason for this.

      Loading your PPT file in flash won't help bootup. Loading that fuster-cluck of the system32 folder, though, would.

      Someone will be awfully upset when she makes a final save of her million-dollar PowerPoint presentation for the CEO and discovers that the save is the 100001st write to the hybrid drive.

      Backups? Alternate locations? If this is what it takes for them to learn the necessity of redundant copies, it's even better.

      There should be some level of safeguard built in that anything user created should be stored to the magnetic part of the drive, my documents, program files, but they should have this anyway. I mean, nothing like the last save and then having to call Dell because your drive is spitting out an Error Code 7...

    3. Re:Catastrophic Failure of Flash Memory by miyako · · Score: 1

      It seems like the sane design would be to use the flash memory if available, but otherwise function like hard drives do today. In otherwords, if the flash memory craps out, you can still read and write to the drive, although with a performance hit.
      Given, as you mention, the limited number of writes on these, it might also be neat to have using the flash as a supplement to increase speeds something that can be turned on or off from the OS. I could see that being useful in a number of ways, if it was written in a sane manner that wouldn't simply kill the flash memory too quickly from exessive rights.

      --
      Famous Last Words: "hmm...wikipedia says it's edible"
    4. Re:Catastrophic Failure of Flash Memory by evilviper · · Score: 4, Funny
      Someone will be awfully upset when she makes a final save of her million-dollar PowerPoint presentation for the CEO and discovers that the save is the 100001st write to the hybrid drive.

      Yes. Everyone knows flash RAM will explode in a gigantic fireball on the 1st attempt to write to it, once it has gone beyond spec.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    5. Re:Catastrophic Failure of Flash Memory by OverflowingBitBucket · · Score: 1

      The hard drive in my Compaq x86 workstation has been humming nicely for more than 5 years. Due to the nature of my work at the institute, the number of writes to the hard drive have easily exceeded 100000 during that time.

      During which you weren't purchasing new drives for your machine.

      I can see why hard drive manufacturers might like the idea of a limited-life-span device...

    6. Re:Catastrophic Failure of Flash Memory by Bacon+Bits · · Score: 1

      Yes, it just means you add a new level of storage. Essentially, flash is less than primary but more than secondary storage. Since it has write limitations, you need to make sure that it is mostly WORM files, such as OS and program files. Write-intensive files such as user data files, temp files, transactional databases, paging files or swap partitions, etc should remain on magnetic media. Flash offers very high read performance, plain and simple. It is not a replacement for a hard drive any more than a DVD-RW is or a tape drive is. Linux will very easily work in this type of environment. You mount the partitions you mount read-only on your flash media, and then mount your userspace, /tmp, /var, and swap partition on magnetic.

      --
      The road to tyranny has always been paved with claims of necessity.
    7. Re:Catastrophic Failure of Flash Memory by flooey · · Score: 4, Interesting

      Using flash memory as a fast cache for the hard drive will increase the performance of the drive but will decrease the overall life of the drive. Someone will be awfully upset when she makes a final save of her million-dollar PowerPoint presentation for the CEO and discovers that the save is the 100001st write to the hybrid drive.

      The thing to note is that that limitation is per flash block, not for the whole thing. So for a 1 GB flash component, given perfect block mapping, you can write around 100 TB of data to it before it wears out. With a 150MB/sec transfer rate, it would take more than a week of continuous writing to write that much. As well, modern flash can withstand a couple million writes, extending the life to several months of continuous writing. Given that this would generally be containing operating system components, which are read often but written to rarely, the lifespan of the memory should be no worry at all.

    8. Re:Catastrophic Failure of Flash Memory by Cerium · · Score: 2, Insightful

      True enough, but what customers are going to pay more for a drive that costs more AND needs to be replaced more often when the only advantage is a possibly insignificant performance increase?

      I doubt many people are going to take this route when existing technologies (RAID comes to mind) work fine for those who absolutely need the extra performance (or rather, have convinced themselves they need it [Hi, owner of that $7,500 gaming rig!]).

    9. Re:Catastrophic Failure of Flash Memory by caseih · · Score: 1

      That's really 10000 writes to a single cell on the flash chip. All flash memory has built-in algorithms to statistically spread out those writes over all the cells of the chip, so it's not like if you wrote a file 10000 times you'd have an instant failure. If you only write to on average, say 10% of the disk, then you wouldn't see a failure for probably 100000 writes. Given a 4 GB flash chip, the average write is probably just a few megabytes, so works out to even longer time between failures. Still not a huge lifetime, but not as short as you say.

    10. Re:Catastrophic Failure of Flash Memory by adrianmonk · · Score: 3, Informative
      The technical specifications of the flash memory in my USB drive says that it is guaranteed to work for, at most, 100000 (i.e., one followed by 5 zeros) writes.

      I thought I'd seen specs an order of magnitude larger than that in many cases, but the problem still may not be as bad as you think in many cases even if it is as bad as 100000 writes. The reason? Flash devices have systems built in to their controllers specifically to deal with these problems. The mechanisms may vary, but the ones I know about are wear leveling and excess capacity (beyond the capacity that the device reports to the operating system) that can be pressed into service when a block fails.

      Briefly, wear leveling means that if you write to the same logical address over and over, the controller will map that write to different physical addresses each time. That means that you can't wear out the device by rewriting the same file over and over again; instead, you only add a little bit of wear to each physical block on the flash device. The concept is a little bit like rotating the tires on your car except that it's a more dramatic win since write patterns can be much more uneven than wear on tires on a car.

      The other mechanism for mitigating the effects of limited flash life is putting excess capacity aside (so that it's not reported to the OS) to be used when a physical block does fail. Since it's a matter of probability just which write will cause a given block to fail (meaning that some will fail after less than 100,000 writes and some will probably last much longer), even with wear leveling it's unlikely that all blocks will fail at once. It should be easy to tell when the pool of spare blocks is nearing exhaustion and give you advanced warning that your flash device is wearing out. So in that sense, it is actually safer than hard drives, which tend to fail without warning.

      Finally, this whole thing reminds me of the reaction some people (mostly audiophiles) had to compact discs, and digital audio in general, when it first began to replace analog systems. There was some resistance to the technology because it was sure to sound artificial: after all, you were taking the music apart into discrete steps and putting it back together again. Obviously, a system which broke a waveform down into a discrete step can't ever really reproduce exactly the same waveform as the original. And that's true, but what they missed was the fact that analog systems can't ever reproduce exactly the same waveform as the original either. Both systems have limitations, in this case distortion of the signal, and the true question should be not whether the proposed new system has limitations, but whether the limitations of the new system are worse or better. (The answer to that may depend on the intended use.)

      I think the same thing applies to flash devices. Yes, you may have a hard drive that has been humming along for 5 years without a problem, and that's fairly common, but hard drives do fail. When I was a system admin, I saw my fair share of them. (I've seen a few since then too.) The key in the case of flash is probably to get in place a nice warning system that can take advantage of the ability to notice that spare blocks are being depleted and warn the user when failure of the device is nearing. I haven't researched it carefully, but perhaps SMART would be useful for this in some applications, such as where flash is replacing hard disks.

    11. Re:Catastrophic Failure of Flash Memory by Kaktrot · · Score: 1
      The technical specifications of the flash memory in my USB drive says that it is guaranteed to work for, at most, 100000 (i.e., one followed by 5 zeros) writes. People do not talk about this limitation, but I have seen this limitation written into the technical specifications of the flash memory in many devices.

      Actually, that depends on which kind of flash memory it is. I would assume that they would use the newer, cheaper, more robust NAND flash. 100,000 cycles was the low estimate, at least according to Wiki. NAND would have an endurance of 1,000,000 to 10,000,000 erases. Not forever, but that's a big difference. I am also cautiously optimistic of more durable flash before too much longer.

      --
      BSD: The most efficient way of subsidizing the enemy.
    12. Re:Catastrophic Failure of Flash Memory by Anonymous Coward · · Score: 0

      "True enough, but what customers are going to pay more for a drive that costs more AND needs to be replaced more often when the only advantage is a possibly insignificant performance increase?"
      That is even not that... you will primary get faster boot times... cause the flash will be filled up with Windows' files.

    13. Re:Catastrophic Failure of Flash Memory by dynamo · · Score: 1

      How about if it just becomes a normal drive once the flash dies?

    14. Re:Catastrophic Failure of Flash Memory by Osty · · Score: 5, Interesting

      But, on the other hand, how often do you write to your windows folder? There's the monthly update, the occassional reg hack, but all in all, once it's established, that's a pretty static area of your drive. I could see this as an incredible benefit to system files, which, as has been discussed oft here before, the big reason for this.

      Depends on what you're doing. For example, if you run IIS, your log files (by default; you can change this) are in %WINDIR%\Sytem32\LogFiles. That's going to have a lot of writes. Any new hardware or software installation may cause writes to %WINDIR%. There's a lot of other stuff that legitimately writes to %WINDIR% like installing a new printer (think roaming -- you may print to a different printer every day), the .NET Global Assembly Cache, Visual Styles and themes, and a whole lot more. Whether these things should be in %WINDIR% or not is a different question. The point is that using flash for %WINDIR% under the assumption that you'll not write there very often is a little naive. Perhaps Vista reorganizes %WINDIR% somewhat so that fewer processes need to write there.

      There should be some level of safeguard built in that anything user created should be stored to the magnetic part of the drive, my documents, program files, but they should have this anyway. I mean, nothing like the last save and then having to call Dell because your drive is spitting out an Error Code 7...

      All of this is a moot point anyway, because this use of flash is only as cache. Anything written to the flash drive should eventually be flushed to the hard drive. Similarly, if you've exhausted your write cycles and try to write to the cache, it should seamlessly catch the fault and go directly to hard drive. In that case it would be nice to give an occasional notice that your flash chip is exhausted and you need to replace it, but you should not risk losing any data. I'm not a big fan of on-board flash simply because it may be unreplaceable. Any onboard flash chips should not be surface-mounted, but socketed like RAM, CPU, or the clock battery. That will require some standardization on sockets, but as long as there are only two or three different options and the designers of said options let others build chips using that interface (*cough*Sony*cough*) it shouldn't be a problem.

      In the long run, I think computer manufacturers will love this. How likely do you think your parents will be to replace their onboard flash when they run out of write cycles? The average consumer will just buy another PC for a couple hundred dollars rather than buying a new flash chip and installing it (or paying someone to install it).

      How soon do you think the conspiracy theories will start up that manufacturers like Dell are intentionally shortening the life of onboard flash through factory "testing"?

    15. Re:Catastrophic Failure of Flash Memory by Anonymous Coward · · Score: 0

      Due to the nature of my work at the institute, the number of writes to the hard drive have easily exceeded 100000 during that time.
      Are you sure you have made over 500 writes a day to the exact same area for say 2000 consecutive days? Let's say you have: doing a simple CRC check after writing enables the system to immediately discover failure, mark the bad blocks and relocate the file. You have only lost the part that was used for this bit of data, not the entire flash memory. The check doesn't cost that much time (a lot of it is happening anyway) and besides, you will have plenty of usable area anyway, as flash will cost next to nothing in the near future.

    16. Re:Catastrophic Failure of Flash Memory by greg1104 · · Score: 1

      You're describing this disaster scenario as if it's a new problem introduced by this technology. I've already had plenty of demos I was doing for important people blow up because of a hard drive error (I'm just lucky that way). Which is more likely: that you'll hit the flash write limit, or that the mechnical part of the drive will crash and burn? My experience with hard drives suggests they're none too reliable right now, and anything that can reduce the amount of time they spend moving around has a potential to improve the mechanical failure rate.

      With wear leveling and some spare capacity to replace early bad bits, 100,000 write cycles for each bit works out to quite a bit of data with a decent size chunk of flash. An analysis I liked at http://www.sudhian.com/index.php?/articles/show/68 6/3 suggests a typical office worker will get 33 years out of a hybrid drive, while even someone who writes 6GB of data every day should get 4 years out of the drive. There are plenty of drives out there that aren't even warrantied for 3 years right now.

      As for too much writing induced disasters, you just have the flash part of the drive start throwing SMART errors when it gets low on useful bits, the same way drives right now can report when they're running out of spare sectors to relocate bad drive sections into. That should catch the issue well in advance of a flash crash.

      When you run the numbers it doesn't sound that difficult to create a flash-based design that would likely outlast the mechanical parts of a standard hard drive.

    17. Re:Catastrophic Failure of Flash Memory by ClamIAm · · Score: 1

      How much did your flash drive cost, 10 or 15 bucks? I think I can say with some certainty that it wasn't designed to be a long-lasting, high-performance, super-rugged device.

      The tech we're talking about here is not as cheap and crappy. Flash/platter combo drives will most definitely be rolled out on drive makers' "premium" lines way before you see it in a $400 Dell.

      Yeah, we are talking about "flash memory". But that doesn't mean that all flash memory is the same.

    18. Re:Catastrophic Failure of Flash Memory by dillee1 · · Score: 2, Funny

      You mean Dell is so much ahead of the market and already integrated the technology into their laptops?

    19. Re:Catastrophic Failure of Flash Memory by jawtheshark · · Score: 2, Funny

      Hopefully, the engineer who designed this hybrid drive has, at a minimum, integrated an LCD counter and a tiny speaker into the drive. The counter shall display the running total of the number of writes to the flash memory. The tiny speaker shall beep like crazy when the total exceeds 99900.

      Just enter "4, 8, 15, 16, 23, 42" and everything will be okay.

      --
      Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
    20. Re:Catastrophic Failure of Flash Memory by OverflowingBitBucket · · Score: 1

      but what customers are going to pay more for a drive that costs more AND needs to be replaced more often when the only advantage is a possibly insignificant performance increase?

      Very true. I was being a touch cynical hey. ;) It would probably also take phasing the non-combined drives out of the market as well, something we may not see for a while, or never.

      or rather, have convinced themselves they need it

      Probably a viable market there come to think about it. People who need (or think they need) that little bit of extra performance and may be happy to pay $200/year rather than $200 for five years to get that extra 10% on a drive with decaying components. People spend disproportionately on high-end PCs all the time.

      Hi, owner of that $7,500 gaming rig!

      Ye Gods, anyone who has a gaming rig that costs $7.5k... and will be worth $3k in six months... can probably afford disposable drives as well without blinking. ;) Cripes, I sure could that kind of cash to upgrade my current setup, and I guarantee it wouldn't go on just one machine...

    21. Re:Catastrophic Failure of Flash Memory by Anarchitect_in_oz · · Score: 2, Insightful

      Indeed, but i would think the main market for this would be laptops. Where the value is in making the computer useable in the fastest time or lowest battery useage, hopefully both. Something like the UMPC/ PDA type tablet could boot without firing up the hard drive, till you need something on it. Then just use pretty graphics to get the user to not notice the wait (log in screen should do it).

      Alot of data is write rarely read often, such as individual track info for media player, and the media player itself. Fire up the harddrive as soon as the user picks the media player app, by the time they have picked a tune the drive is ready to go.

      Careful use of what user data goes on flash but backed up to magnetic could mean you have a system that might not even firing up the hard drive for 90% of user activity. Sure you have the max write cycle thing, but a well thought out system is not going to have a big issue with this.

      --
      "Call us when the New age is old enough to drink" Beck
    22. Re:Catastrophic Failure of Flash Memory by iamplasma · · Score: 1

      How about if it just becomes a normal drive once the flash dies?

      I imagine this is exactly how they would do it, though perhaps be a bit more advanced about it. It'd be easy enough I hope to have some simple error detection and correction built into the flash. Whenever a particular block is detected to have started to turn bad, it can be recovered (since it's quite fair to assume the vast majority of failures would begin as single-bit ones), then marked as bad from then on. Over time, the amount of flash available reduces, and so the amount that is cached is reduced. It would take a nearly impossibly large time to get every single block of flash to fail (I would expect), but it's a fairly fail-proof way of doing things. Indeed, from my understanding even magnetic disks do much the same thing, with almost all drives having bad blocks which are transparently detected, disabled, and reallocated by the drive firmware these days.

    23. Re:Catastrophic Failure of Flash Memory by Anonymous Coward · · Score: 0
      you may print to a different printer every day
      And you can go and change your printer for a million days until the flash wears out. That's more than 273 years of daily printer changes. I'll grant you the IIS logfiles (but who is concerned with bootup times on servers that run IIS?), but changing themes or intalling hardware is quite unlikely to be a problem, assuming proper wear-levelling mechanisms.
    24. Re:Catastrophic Failure of Flash Memory by x2A · · Score: 1

      Erm... well here on slashdot, it /always/ gets bought up. Few points, that's not how many /writes/ it can handle, but complete writes, or to put it another way, that's how many times each block can be overwritten. To get full advantage out of the flash memory, the files you want to store on it are the files that are /read/ most often, not written most often, for example (as others have said) your system files, to make bootup and program startup faster.

      That aside, should the flash memory fail, there's no reason why the data should not still be written to the harddrive. You may lose the speed increase of the flash, but there's no reason to be losing the actual data.

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    25. Re:Catastrophic Failure of Flash Memory by laffer1 · · Score: 1

      What about
      C:\Windows\TEMP
      C:\WINDOWS\Downloaded Installations
      C:\WINDOWS\msdownld.tmp
      C:\WINDOWS\Offline Web Pages
      C:\WINDOWS\ftpcache
      the windows update folders.... ...

      There are a lot of places where files are written. Plus I don't remember anywhere that said the drive was smart enough to selectively handle certain PATHs which are seen at the operating system level and not at the drive level. Are we trying to get the hard drive to understand NTFS/FAT32/HFS/HPFS/UFS/ZFS/EXT2/EXT3/ReiserFS/JFS ...

    26. Re:Catastrophic Failure of Flash Memory by Ben+Hutchings · · Score: 1
      All flash memory has built-in algorithms to statistically spread out those writes over all the cells of the chip,

      No it doesn't. Some flash controllers have wear-levelling, as do some filesystems specifically designed for flash memory. But it's not done on-chip. The xD and SmartMedia formats have no controller and thus no wear-levelling.

    27. Re:Catastrophic Failure of Flash Memory by mclipsco · · Score: 1

      is that 100000 after dividing by 1024 or 1000?

      --
      Take off every 'SIG'!!
    28. Re:Catastrophic Failure of Flash Memory by slamb · · Score: 1
      Hopefully, the engineer who designed this hybrid drive has, at a minimum, integrated an LCD counter and a tiny speaker into the drive. The counter shall display the running total of the number of writes to the flash memory. The tiny speaker shall beep like crazy when the total exceeds 99900.

      More likely, they'd use SMART to let you monitor the flash's health programmatically, just as they use for the rest of the drive. This is far from the only designed limitation of modern hard drives, and SMART is a nice system for tracking them. Makes sense to keep using it.

      As someone else mentioned, it'd be need to be more than a simple counter - the 100,000 writes lifetime estimate is per-sector. I don't know if it's practical or necessary to maintain such a large counter array. Decent wear leveling may be enough to ensure this limit is not reached.

    29. Re:Catastrophic Failure of Flash Memory by Jerf · · Score: 1
      Depends on what you're doing. For example, if you run IIS, your log files (by default; you can change this) are in %WINDIR%\Sytem32\LogFiles.
      I'd like to see the flash available as a separate partition that I can directly access and manange, because then it would be a big win for the Linux way of doing things. Except for my Portage dir (which I could symlink in from another directory), 1GB is enough to hold all of /usr, and I'd probably toss /boot and /etc/ in there too, leaving just my personal files and /var on the disk. (Assuming I can access this flash as a separate partition.) Bump it up to 2GB and I know I could fit my entire OS on it, easily, with only a few minutes fiddling. Turn down the logging sensitivity (it is just a laptop after all) and that would eliminate a major reason to spin up the drive. (Or set a small limit on the log size and leave them on the flash; a laptop's log isn't going to reach the flash writing limit in this century.)

      I don't have a MacOSX machine, but they may be as clean too. I know they have an Application folder system that nicely isolates the application from your user data, but I don't know if they casually scatter logs around the system. Somehow I doubt it, but I don't know.

      Unfortunately, the odds of this are low because Windows would stink this plan up, as you explain, and of course if it doesn't work with Windows it doesn't work. Plus it might require protocol work. (Although perhaps there is hope; maybe if you poke it right, a drive could present itself either as one drive that uses the Flash as a transparent cache, or as two drives, one flash, one conventional hard drive. If the SATA protocol could deal with that, which I have no idea about (I know SCSI can), that wouldn't take much extra work from the hard drive manufacturor, and server-type people might appreciate that finer grained control even in Windows, too.)
    30. Re:Catastrophic Failure of Flash Memory by gr8dude · · Score: 1

      When the all of the write-cycles are used, the drive cannot be written to anymore, but the data can still be read from it. So the lost one-million-dollar presentation scenario is not likely to happen.

    31. Re:Catastrophic Failure of Flash Memory by cthulhu11 · · Score: 1

      If I remove 10,000 files in a directory, does that end up being one write, or 10,000? I've never seen this discussed wrt wear leveling -- or any list of which cards do/don't implement this.

  15. Another benefit... by mbstone · · Score: 4, Funny

    Another benefit of hybrid drives is, you can use the carpool lane even if you're by yourself.

    1. Re:Another benefit... by glsunder · · Score: 1

      or just take the hyper-transport and not have to fight the traffic jams.

  16. Past Its Time by distantbody · · Score: 0, Redundant

    I think that this would have been a much relavant product if it was released 10 years ago, when flash memory was much harder to come by. But I would say we're less than one upgrade cycle away from completely solid state drives anyway, the ones that several manufacturers have been showing of over the past year and due very soon. I say don't bother with this concept that is a decade too late and soon to be obselete anyway. Why Linux sucks #42104: [SHIFT] + ["] ! = "

  17. Not in most servers... by evilviper · · Score: 3, Interesting
    The heat and power issues may also make it attractive in server environments.

    No, it won't. Servers have large ammounts of system RAM, which is far faster than flash on the hard drive bus could ever be. They also have battery-backed RAID controllers, meaning flash would be a step down, not a step up.

    This is only really useful in notebooks.
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    1. Re:Not in most servers... by QuantumFTL · · Score: 2, Insightful

      Servers that don't access much of the disk (say, less than 1GB or whatever the size of the flash cache is) the majority of the time would benefit from this the same as laptops, by letting their disks spin down.

      Also fast restart is especially good for critical servers as a method of reducing both planned and unplanned downtime. I know at lylix.net, we will be getting one of these as soon as Gentoo Linux properly supports it - you don't want an Asterisk box down longer than it has to be.

    2. Re:Not in most servers... by dbIII · · Score: 1
      Servers that don't access much of the disk (say, less than 1GB or whatever the size of the flash cache is) the majority of the time would benefit from this
      What you call a "server" I call a "node" and it may as well not have any disk at all and boot from the network (or boot from flash memory if you want). If you are only talking about 1GB the very fast alternative is a RAM disk. I think all of knoppix can fit inside a 1GB RAM disk.
    3. Re:Not in most servers... by Anonymous Coward · · Score: 0

      You're not running much of a server if you would be spinning down your disk and serving off of a cheap flash card.

      Sorry, this technology will not be of use to any server of note, despite your naive dreams.

    4. Re:Not in most servers... by greg1104 · · Score: 1

      It would seem you've never had a RAID battery backup fail or run out before power could be restored. I have, and as a result I wouldn't suggest flash is a step down from that approach. Sideways instead of up, maybe, but not down.

    5. Re:Not in most servers... by Anonymous Coward · · Score: 0

      Right now battery-backed RAID requires a rechargable battery that will keep a half-gig of RAM up for a couple days, and needs to be replaced once a year (at a cost of about $100 plus labor to take the server apart). If the battery fails before you get a chance to spin up the hard drives again, you're screwed.

      If you put in flash, the battery would only need to be big enough to keep the RAM going until it could be written out to flash. The flash would hold the data indefinitely until the hard drives are powered again. Odds are you could do this with just a capacitor or lithium battery (the kind used to keep the clock in your computer running), making the system much cheaper and more reliable.

      On top of that, the flash could also be used as a cache, or as a place to temporarily hold data while the hard drive(s) are spun down to conserve energy. For example, most servers probably have a set of mirrored hard drives to boot from, but rarely do much reading or writing once their apps have started. Those drives could be spun down and any changes could be written to flash to prevent constantly spinning up the drives to write to the event logs.

      dom

    6. Re:Not in most servers... by the_ed_dawg · · Score: 1
      Yes, servers have large banks of RAM. However, Linux performs dirty page writeback every five seconds to avoid congestion on disk writes.

      Without onboard flash, the disk must service the request. The 3.5" disk in my office machine must be shutdown for at least 30 seconds to save energy. A sensible timeout (provably 2-competitive) is 60 seconds. Servers have higher performance disks than my desktop, so their timeout is going to be longer than that. The disk can never shut down and save energy due to dirty page writeback. Sure, you could disable dirty page writeback by turning on laptop_mode, but you would encounter a serious performance hit on your first demand miss.

      With the onboard flash, the writes are serviced but the disk is still able to remain idle and shut down. Since servers tend to access files according to a Zipf distribution, the idleness will significantly increase because the most commonly written files are likely to remain resident in the flash and not produce disk accesses. Furthermore, the most common accesses will only have to be written to disk once because overwrites will be serviced in the flash cache, whereas current approaches would require the disk to service each overwrite. Hence, significant energy savings are likely using onboard flash.

      Therefore, this would be useful for servers.

      --
      There are two types of people: those prepared for the zombie apocalypse and those who will be eaten.
    7. Re:Not in most servers... by evilviper · · Score: 1
      Servers that don't access much of the disk (say, less than 1GB or whatever the size of the flash cache is) the majority of the time would benefit from this the same as laptops, by letting their disks spin down.

      First off, they'd barely benefit at all, since that 1GB of data can be easily cached in RAM early on, and served up far faster than this flash drive could possibly hope to do so.

      Also, servers that only need 1GB most of the time, generally don't exist. If they did, they would boot from a 1GB CompactFlash card, and have the hard drive (on the secondary ATA bus) spun down.

      Also fast restart is especially good for critical servers as a method of reducing both planned and unplanned downtime.

      True, but we're talking about a few seconds difference here. Something that matters a lot if your rebooting/hibernating a lot (Notebooks) but wouldn't even be noticed if you're only rebooting once every couple weeks.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  18. Finally! Something Vista will have first! by Ohreally_factor · · Score: 1
    Vista's ReadyDrive will use the hybrid system first for laptops and probably for desktops down the road.


    Run, Vista! Run! Don't let those bullies Linux and OS X catch you!
    --
    It's not offtopic, dumbass. It's orthogonal.
  19. USB Flash, Swap, Windows Vista by Zan+Lynx · · Score: 2, Informative

    Haven't any of you been playing with the Vista betas? Vista has a sort of swap file / prefetch feature that you can enable on USB flash drive. Vista first benchmarks the device, to determine if it is fast enough. Then you can create a sort of swap file on it, as big as you like.

    It's part of the Vista SuperPrefetch.
    http://www.windowsitpro.com/Windows/Article/Articl eID/48085/48085.html

  20. Are standard file formats fine for use on flash? by Chonine · · Score: 2, Interesting

    Are the standard NTFS or Ext3/Reiser/Whatever optimized for use on hard drives? If flash drives start appearing as main system drives, would new or modified versions of file systems help in any way? Or are modern file systems abstract enough to where they dont deal with all the little fiddly-bits? I don't know enough about this area, but it would seem to me that a new hardware device to store files may benefit with a change in the way the OS uses it.

  21. Where to put the flash? by Michael+Woodhams · · Score: 4, Interesting

    The article discusses this. Intel want to put it on the MB, the drive manufacturers want to put it in the drive. A third option is to attach it separately and externally (e.g. a USB flash drive.) A final option would be to (e.g.) have a compact-flash-card (or similar) socket on the hard-drive, and users provide their own flash.

    To my mind, the logical place to put it is on the drive. This is where the useful caching information is most easily available. (Which sectors are read/written how often? Which reads are often delayed by waiting for the disk to spin up?) This is also where you can make the process most transparent. The drive's firmware can make the system "just work", like a standard HD, but faster - whatever the OS, no drivers needed. (Although you'd possibly like to have drivers to give the OS more control over what is flash-cached.)

    --
    Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
    1. Re:Where to put the flash? by Locutus · · Score: 2, Interesting

      how about using CF and a CF->IDE adapter for desktops and hang the adapter off the IDE bus. CF based PCcard adapters in laptops maybe? You can do this today and IIRC, CF cards have builtin wear leveling. move your /boot onto this for quicker boots and/or put your swap here and have quicker restores from hibernates.

      LoB

      --
      "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    2. Re:Where to put the flash? by dfghjk · · Score: 1

      If that were realistic then you wouldn't need OS support at all. The drive is the worst location because it lies underneath the filesystem where much of the knowledge of what is being done is lost. Flash storage is additional nonvolatile storage that is made available to the operating system and hiding it in the drive is the worst place. If you wanted to do that you'd be better off using RAM and just enough battery back to ensure the data gets flushed.

    3. Re:Where to put the flash? by MobyDisk · · Score: 1
      Which sectors are read/written how often? Which reads are often delayed by waiting for the disk to spin up?
      I speculate that it can't be at the drive level because files move around on the disk. Suppose I constantly read and write foobar.dat. Then the file is constantly changing in size so the sectors that it occupies constantly change. Caching the sectors won't help since the sectors change. The cache needs to know that foobar.dat is cached, regardless of what sector it occupies.

      It is the same reason that the OS needs a cache in addition to the drive itself. The cache in the drive itself is useful for caching data that lasts a few milliseconds (for example, pre-reading the next sector), but it isn't useful for something like "cache foobar.dat for the next 2 weeks".

      It might work on something that isn't changing very often though. Like caching system files (someone else mentioned this too).
    4. Re:Where to put the flash? by Barlo_Mung_42 · · Score: 1

      If the memory is removable MS is calling this ReadyBoost. It's kind of like ReadyDrive except it only caches the reads. If the memory is on the drive it caches both reads and writes. I'm not sure about if it's on the MB.

  22. How is this redundant when 15 mins BEFORE others?! by Fallen+Kell · · Score: 1, Insightful

    Hey mods next time look at the timestamp before you mod redundant. Just because the other posts replied to a post before mine doesn't mean that the information contained in those replies came before my information did.

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
  23. Hybrid Momentum by Doc+Ruby · · Score: 1

    I like the part best where these hybrids fund the R&D for pure transistor drives without moving parts.

    --

    --
    make install -not war

  24. Excellent for servers but what does linux support? by QuantumFTL · · Score: 1

    At we host many Asterisk VPSes, and because our customers rely on us for their phone service, any downtime, even planned well in advance, is something we try very hard to avoid. Because downtime from security patches is inevitable, this would be a big win for us, and a good selling point, so using it seems to be a no brainer.

    My question is - what kinds of support can/will the linux kernel have for this? We run Gentoo Linux as our host OS, and I cannot see us migrating to Windows for the forseeable future. I searched a bit online, and found this ask slashdot story, but no authoritative answer. Anyone?

  25. Re:Are standard file formats fine for use on flash by I+kan+Spl · · Score: 4, Interesting

    Most filesystems are in fact optimized for use on magnetic media. Ext3 uses algorithms to place data on the disc in order to minimize the amount of waiting done for data.

    There are research filesystems that are optimized for this kind of a hybrid environment. These were written for MEMS insetead of flash, but the basic ideas are nearly the same.

    http://www.ssrc.ucsc.edu/proj/mems.html

    Disclaimer: I work there. I may be biased.

    --
    My UID is prime and so is this number: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0.
  26. Re:Excellent for servers but what does linux suppo by QuantumFTL · · Score: 1

    Well, I guess we know why the preview button's there... good thing I code better than I post, otherwise I'd be fired!

  27. Damn, can't show off! by kickdown · · Score: 3, Funny

    Damn. The RSS feed made me think this might be about hybrid _cars_, not hard drives. I was already dreaming of making clever comments about how cool it is to own a Toyota Prius. Now I make whiny comments about getting it wrong instead. Damn. Mod me down for futility and insignificance.

    --
    Continuous positive slashdot karma since... uh, maybe next year.
    1. Re:Damn, can't show off! by Zigg · · Score: 1

      Mod me down for futility and insignificance.

      I'm looking, but I don't see those options.

  28. Suspend to disk + flash for better boot times. by Chonine · · Score: 2, Interesting
    It seems like there is a huge demand for faster booting systems, but so few people use suspend to disk (hibernate for windows, goes by other names too). Shutting down and booting are faster, and it uses *no* power when off. It seems to me that some people are overly fixated on faster boot times, so long as no interesting software tricks such as suspend are used. Why is that? Many people want a faster booting computer, but refuse to do so with anything other than a traditional boot. I understand the limitations and the need to do a traditional reboot from time to time anyways, but suspending to disk is a great feature that is here now, that doesnt even need ACPI or any sort of power management doo hickery.

    Flash is great but even with its random access speeds, the throughput isn't much better than drives, and so I don't see such a huge boost in boot times from flash alone. To have your cpu do all of that work every boot seems a bit rediculous. Reading a 512+ MB file into memory and a few adjustments, you are back to where you were.

    (As an aside, can anyone tell me how BeOS was able to boot in only around 7 seconds for me a decade ago, to a fully usable desktop? From fully off to fully usable, that was nuts.... what can modern operating systems do to approach this?)

    1. Re:Suspend to disk + flash for better boot times. by llyenn · · Score: 1

      BeOs...fond memories... Booted that fast for me too, on a Celeron 400 with 64 megs of ram...ran like a champ to...damn shame

    2. Re:Suspend to disk + flash for better boot times. by Anonymous Coward · · Score: 0

      You may debate whether RISC OS is a modern operating system, but it can boot to a usable desktop in seven seconds. The longest waits are for DHCP, USB and PCI. If you could scratch those, you could be up in under 5 easy.

      The core of RISC OS (including its Desktop components) is typically kept entirely in flash memory (or ROM if you are using Adjust, OS 4 or earlier.)

    3. Re:Suspend to disk + flash for better boot times. by cnettel · · Score: 1

      I love hibernation. BUT, putting the first 256 MB or so on flash, together with a BIOS which could initiate booting before the disk is done spinning up, would be even better.

  29. Re: about the limitation of flash memory by Anonymous Coward · · Score: 0

    ofcourse what will be written in the flash memory will not be the data, but program code what is seldom changed.

  30. The Allison Hybrid Drive. . . by Anonymous Coward · · Score: 0

    has lots of benefits! http://www.shadetreemechanic.com/allison_hybrid_dr ive.htm/

    1)Faster startup times.
    2)Lower noise.
    3)Fluid-coupled technology.
    3)Better power efficiency.

    FTA: "This is pretty incredible technology."

    By using more of these we could reduce energy usage, pollution, and global warming!

    Coupled with an HOV lane, it may even result in faster transfer rates!!

  31. SPAM by Anonymous Coward · · Score: 0

    I thought Digg was bad.. then i saw this guy.

    1. Re:SPAM by Aladrin · · Score: 1

      And yet you completely managed not to answer his very valid question.

      I'll rephrase it:

      'But, does it run Linux?'

      The obviously answer is: It doesn't exist yet, how could linux possibly have drivers for it yet? On the other hand, name some 'basic' hardware that Linux -doesn't- support. Some intrepid soul will eventually write a driver for it, it's just a matter of time. I don't know whether they left Linux out on purpose (knowing someone else would write an open source driver if they wasted their time on a closed source driver anyhow) or if they are just thoughtless and didn't think about it.

      Time will tell.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
  32. Looks like a job for linux! by Anonymous Coward · · Score: 0

    I hope the flash goes straight on the motherboard, and can be made to operate independently of the hard drive. Damn Small Linux only takes up 64 MB on the disc and ~100 MB of RAM (I could be off). With that 512 MB of flash straight on the motherboard, I'd be able to boot up and suspend instantly! Now, if they'd start making laptops with OLED screens, just think of they battery life!

  33. Won't someone think of the Journals? by coffeeisclassy · · Score: 1

    On high end systems its been fairly common to write the journals to nvram. Since journals have to be synchrous writes, this being available on commodity drives could greatly improve the performance of ext3 and other journalling file systems. Otherwise, your stuck waiting for journal commits to get to disk before you can move on.

  34. It's not a brand new idea by goldcd · · Score: 1

    nor is it a brand new technology - but it's only going to happen and appear on the site of your favorite component supplier because MS has decided to support it in it's new OS.
    A whole load of new hardware tech never takes off as it's a bit chicken and egg - I'm not buying a PhysX card until I actually find my software will support it and the software's not going to be made until I buy the card etc.
    People might bitch and moan about MS, but it looks like they can actually make new stuff happen.
    MS decide they're going to support a new type of drive -> All the drive makers start making the new sort of drive -> Linux/OSX will get drivers to support the new drive -> We all benefit.
    See MS is good for something.

  35. 640mb by jlebrech · · Score: 0

    640mb of hard drive flash cache, should be enough for anyone.

  36. Flash RAID by Bombula · · Score: 1

    I've not been able to figure out why flash RAID setups aren't more popular in portable devices. 10 4GB flash disks in a RAID would give you what, 20GB drive space with 100Mb/s bandwidth. Not bad for memory that doesn't have any moving parts and doesn't vanish without power. And a 'drive' like that would be about the size of a typical laptop network adapter card. I'm guessing cost is the main problem?

    --
    A-Bomb
  37. Massive disk cache by nmg196 · · Score: 4, Interesting

    We seem to be going backwards. About 10 years ago, I had a vesa local bus HDD controller which took SIMMS to use as cache. You could shove up to 32mb on it and it would remain powered even when the system was shut down. This meant you could load DOS and even Windows 3.11 entirely from the disk cache after rebooting. As far as I'm aware, there are no SATA controllers which can take DIMMS or similar to use as a large cache. PLEASE correct me if I'm wrong.

    Why doesn't this exist today? I think it was a really good idea. The closest thing I've found is Gigabyte's iRam, but this isn't really the same thing - as it's purely a RAM drive and doesn't persist to hard disk.

    I think that slow booting is the one of the biggest annoyances of computers and the primary reason many people never turn off their machines in an office environment (hiberating on XP rarely works reliably in my experience - usually due to driver issues not reinitialising the hardware properly rather than there being any problem with XP itself).

    If people's machines booted to the desktop in under 10 seconds, far more people would turn them off at the end of the day and worldwide power consumption would be significantly reduced.

    1. Re:Massive disk cache by Jeff+DeMaagd · · Score: 1

      Hibernate has been pretty reliable for me, but you can't use it on garbage, the hardware must be good, with good drivers. Sleep mode has always been reliable, I don't think there is any excuse to not use it.

    2. Re:Massive disk cache by 241comp · · Score: 1

      Actually the 3Ware 9500-series RAID controllers use a SO-DIMM (notebook memory) as on-controller cache. They come with 128MB cache and support up to 1GB cache (by replacing the SO-DIMM with a 1GB SO-DIMM). There may be others...

  38. I've always wondered... by MrOuija_AK · · Score: 1

    I've always wondered why MS hasn't considered putting Windows on a memory chip that could plug into a custom Operating System port. They could fully document the hardware, so that other OSes can use the technology without them being accused of a monopoly. I'm sure it would make instant booting more of a reality. And with full access to the windows installation on the chip you wouldn't have anything to copy over on an install, it'd just be a matter of detecting the hardware and making some settings files (overly simplified, but you know what I mean); in fact not having the Windows eat up hard drive space could be a selling point for some users. But I suppose this hybridization will help a bit, but I don't think it was neccesary to incorporate it into the Hard Drive. I'm more picturing a port on the front of your case where you plug in your OS with a chip emblazoned with a Microsoft, Apple, Debian, Red Hat, Gentoo etc. etc. logo.

  39. Write Limitation by xdxfp · · Score: 2, Interesting

    100,000 writes is only a median of the distribution. Some will be higher and some will be lower, so a counter would be useless. I'm sure it's made of a higher quality RAM than your typical flash drive. 100,000 writes would last about one day on a server, and probably less than four days for your typical PC [if you assume one write per second for a busy server, which is not unreasonable]. I'm not sure a flash cache makes a hell of a difference. Why not just use RAM, and have a battery to keep the memory state for 20 or 30 minutes if the power were to shut off? Plus even the fastest static RAM is no where near the fastest regular RAM. If they can get the size, speed, and reliability up to par perhaps it could be useful.

    --
    HRESULT WinAPIGetSystemProcessThreadMetricsMenu...
    LibraryVolumeModuleHandlePtrEx(PHSPTMMLVM PHndl);
  40. The Other Benefits by Odonian · · Score: 1
    ...Plus they let you do the Kessel run in less than 12 Parsecs, get away from Imperial Star Destroyers, and you can fix them by taking C3PO to the back and plugging him in.

    Oh wait. Hybrid Drives? Never mind.

  41. Curious about applications of NVRAM by wirelessbuzzers · · Score: 1

    For quite a while I've been curious about a similar application of flash. Suppose someone builds an NVRAM card or drive, which is RAM with a battery backup; the battery holds enough power to save the RAM to flash should the power go out. Between the interface, battery, controller chip, flash and RAM it should cost on the order of $100-$150/GB, retail, if it became reasonably popular; if Dell put a half-gig chip in every outgoing workstation, it would probably cost them $20-$50. It could be in a PCI card for servers, or it could go into high-performance disks. Furthermore, if the controller were clever, it could improve price/performance by using flash as a clean cache for slowly-changing files, much as these hybrid drives do; if the power went out, this cache would be overwritten with the contents of the RAM, but that would merely cause a performance penalty on the next boot.

    If such a chip became standard would revolutionize filesystem storage. In half a gig, you could cache the entire filesystem's metadata (locate would become obsolete), most of the boot sequence, a transaction log, and a cache of most recently accessed files. And since it would be writing to RAM first, it would be much, much faster than disk, and it wouldn't wear like flash (since the flash is only used when the power goes out, or when you shut down).

    You would be able to build transaction-oriented filesystems much more easily can be done with disk alone. Write-anywhere filesystem layouts (ReiserFS, Netapp, ...) would be more performant: writes could be batched without violating transaction semantics, and metadata could be updated in place. Writes in general would have much lower latency and higher burst bandwidth, as they could be made to NVRAM first. It would be easier to incorporate Sun's "RAID-Z" technology to improve performance for higher-levels of RAID, and because of the transaction log, RAID5 would no longer carry the corruption risk that it currently does.

    Database designers currently use 10kRPM (and higher) disks for their transaction logs. Why can't they use NVRAM?

    I'm sure someone has thought of this before, and I've heard of NVRAM cards in high-end servers, but why doesn't it go to the desktop or laptop market?

    --
    I hereby place the above post in the public domain.
    1. Re:Curious about applications of NVRAM by JustNiz · · Score: 1
  42. you're thinking of the wrong kind of flash... by YesIAmAScript · · Score: 4, Informative

    NOR flash (like the BIOS chip in your PC) is good for 1M writes or more.

    But NOR flash is low density. An 8MByte NOR flash is large.

    The flash that is being integrated into these drives is NAND flash. NAND flash is the kind of flash you use in your digital camera. NAND flash is high density.

    And it is crap.

    SLC NAND flash is good for 100,000 writes. But SLC is on the way out because it's only half as dense as MLC NAND flash. MLC NAND flash is good for 10,000 writes.

    Are you scared yet?

    That's a statistical measure, so often cells last longer than 10,000 writes before crapping out. And systems that use NAND flash use ECC (error correction codes) and wear levelling to try to hide the flash wearing out. It's complex, but it does work pretty well.

    But a coworker made a flash burner app to wear out some flash on purpose. It wrote constantly. He able to wear it out in a couple days. It didn't wear out the entire flash chip, but that's when the flash started to develop sectors that were unusably bad, even with ECC.

    --
    http://lkml.org/lkml/2005/8/20/95
    1. Re:you're thinking of the wrong kind of flash... by Eivind · · Score: 1
      OK. A 10000 write flash is a bad idea as cache for a harddisk. I somehow don't think those people desining these things haven't thougth about that though.

      For most uses 10.000 writes is perfectly fine. I'm willing to bet that 99% of all harddisc sold never reach anything close to that number. Remember that it's 10000 times write to the entire surface, wear-leveling will make sure of that.

      For a 500GB hard-disc to be written to 10.000 times you'd need to (combined, over the lifetime of the disc) write 5000 TB to it, I'm convinved the typical hard-disc doesn't see 1% of that. 5000TB is 10MB/s for 500000 seconds, or not even a week. So obviously you could easily wear out such a disc. And some machines would, like those swapping a lot, or those doing database-work with lots of writes.

      The typical home-machine though, gets a OS and aplications installed, then it slowly fills up with files which are then rarely replaced, the average file on my harddisc is certainly atleast a year old (i.e. not a single bit in it has changed the last year)

  43. Dumb idea by JustNiz · · Score: 1

    Flash has a limited no. of write cycles (10^5 - 10^6 depending on tehchnology) so when the flash memory has been written too many times, then you have to replace the hard drive too. Great idea only if you're an HD manufacturer. Costly for consumers.

    Its a much better idea to keep the flash separate, say on a PCI-e card. So you could replace it when it burns out without replacing the drive. Even better would be something like this but with a bigger battery:
    http://www.gigabyte-usa.com/Peripherals/Products/P roducts_Others_Storage.html.

    Another benefit of memory on a system bus rather than the ATA bus is I/O performance.

    1. Re:Dumb idea by JustNiz · · Score: 1

      Sorry, the link in my first post is broken. try this: http://www.gigabyte-usa.com/Peripherals/Products/P roducts_Others_Storage.htm

  44. Yeah, and... by Nom+du+Keyboard · · Score: 1

    Yeah, and what happens if your flash chips "wear out" well before your hard-drive platter? Does your performance subtly degrade, or do OS that "require" this hybrids suddenly refuse to operate? Will the flash be replaceable?

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  45. Two Words: Page File by ab762 · · Score: 1

    C:\Windows\pagefile.sys is a very high traffic file. Now, you can manage that with a separate drive ... but few people do.

    1. Re:Two Words: Page File by Bobsledboy · · Score: 1

      The pagefile defaults to the root of the drive, not to the windows directory. XP and W2k.

  46. You can reserve a partition for swap in Windows... by WoTG · · Score: 1

    There's nothing preventing you from creating a separate partition for the swap file in Windows. But personally, I think the Windows way is more flexible. Why use up a large chunk of hard drive space for that one time you happen to use an obnoxious amount of swap?

    Besides, only in rare circumstances will the swap file fragment - if your swap file is grows automatically, it usually won't fragment badly unless the drive is mostly full and fragmented. For most people, slashdot crowd excepted, hard drives are ridiculously large, so the swap won't fragment.

  47. Look at the server RAID controllers... by WoTG · · Score: 1

    I probably wasn't old enough to care about anything other than games when the controller you describe was sold... however, I'm going to guess that it was just too expensive a feature when computers got cheaper and cheaper. If you want a drive controller with DIMMs for cache, just check out the server RAID controllers - each card cost more than a cheap Dell workstation!

    IMHO, hibernate works reasonably well. The biggest problems in my personal use relate to network activities that can't be worked around with the "cached" concept. Network connections die and often programs don't know what to do.

    My idea for saving power in the office would revolve around a smarter use of Wake-on-Lan. Maybe a central server to boot up all the PC's at 8:00AM or so. But that's another story...

  48. Wear levelling not possible by jetmarc · · Score: 1

    > > The technical specifications of the flash memory in my USB drive says that it is
    > > guaranteed to work for, at most, 100000 (i.e., one followed by 5 zeros) writes.
    >
    > I thought I'd seen specs an order of magnitude larger than that in many cases, but
    > the problem still may not be as bad as you think in many cases even if it is as bad
    > as 100000 writes. The reason? Flash devices have systems built in to their
    > controllers specifically to deal with these problems. The mechanisms may vary, but
    > the ones I know about are wear leveling and excess capacity (beyond the capacity
    > that the device reports to the operating system) that can be pressed into service
    > when a block fails.

    Wear levelling can only work, if the changes are done to tiny portions of the whole memory capacity. It can't work, when the whole device is changed.

    Why? It's simple. Lets say a cell can be written 100000 times. A device with 32*8 million of those cells (32 MB), can accept a total of 100000 * 32*8 million single bit writes. Or half that amount of 2-bit writes. Or 100000 writes of a 32*8 million bit block.

    The idea of the hybrid harddisk is that a RAM cache holds all the changes. Once RAM is full, changes are flushed to the magnetic media. The write-acceleration stems from the fact, that several individual writes (*) can be combined to single operations, and write order can be optimized according to the relative positions of head / platter.

    For this to work, RAM utilization has to be high. High RAM utilization also means that lots of RAM must be dumped to FLASH on power failure. But in the ideal situation (100% RAM utilization), FLASH write size is 100%, too. That is, no place for wear levelling. No worn blocks can be exempt from such a write. All blocks have to join, sorry.

    On the other hand, 100000 writes mean that you can power-cycle your computer once per minute, 24h per day, during almost 3 months. Or once every hour during 10 years. I bet the power supply unit bails out first..

    Marc

    (*) Operating systems already try to combine writes of course, but they can only do so to a certain extent. For example, journaled filesystems must write the journal first, then the data, and then journal, and so forth. It's not possible to combine several (related) journal updates within the scope of the operating system, but a hybrid harddrive can easily do so.

  49. Re:You can reserve a partition for swap in Windows by DrXym · · Score: 1
    As I said, you can do it the both ways - either a swap partition or swap files. Linux even allows you to mix and match, such as use multiple swap (files) on multiple drives if you like. This might be too much flexibility for some but its a perfectly adequate solution.

    I don't have a problem with the way Windows does things, but I do think Linux is more flexible. And as mentioned, my pagefile literally disintegrated. I'd be tempted to turn off VM, reboot and delete the pagefile.sys and turn VM back on if I thought I could guarantee it worked afterwards, but it's a company machine so it is a risk I don't feel comfortable taking.

  50. Another benefit...a more silent computer by Bugbear1973 · · Score: 1

    I am suprised that no-one has considered the fact that using flash storage would remove one more moving part from your computer - the spinning hard disk. Admittedly, disk noise has reduced considerably over the years, but has anyone had a listen to a HDD that has been running in a server for a year or so? You get that annoying high pitched whine (feel free to insert joke here...). I must also admit that I am a bit of a scavenger when it comes to IT equipment - anything my company is throwing out is usually only a few years old and still usable, but I tend to draw the line with HDDs - they are just too noisy and I'm better off getting something new.

    --
    Wanted: A better sig than this one. I have neither the wit nor motivation...