ReadyBoost
Of course, not all systems have the luxury of large amounts of excess RAM, which brings us to another way of manipulating the cache hierarchy to extract better performance: inserting another level. Between expensive-and-fast RAM and cheap-but-slow hard drives, flash memory has quickly developed over the last decade as a storage medium that balances speed and size between hard drives and RAM - it's cheaper than RAM in similar quantities while still being an order of magnitude faster to access than a hard drive. ReadyBoost is Vista's technology to take advantage of flash memory as a new member of the cache hierarchy.
ReadyBoost functions as a compliment to SuperFetch, giving SuperFetch another place to cache data that - while not as good as RAM - is better than just reading data off of the hard drive. An important distinction however is that while RAM is both quick to access and has high transfer rates, flash memory only offers quick access times, with transfer rates below that of even hard drives. As a result ReadyBoost is only useful in situations where small random data accesses are required, whereas larger transfers that may need sequential access are sent directly to the hard drive. This makes ReadyBoost less readily beneficial than SuperFetch, but with USB flash drives going for under $20/gigabyte, it's a cheap and effective way to boost performance of RAM-limited computers in a number of situations.
ReadyBoost also serves as a read cache of the system pagefile, with the idea that swapping to disk is less painful if it's done to a USB flash drive. Don't worry about sensitive data being kept and lost on your USB drive though; the data is compressed and encrypted so that it should be fairly useless once the drive is removed from use.
While there's potential for ReadyBoost to actually reduce performance, if you have a very fast hard drive, Microsoft has done a lot to address this; before a ReadyBoost cache file is created on the flash drive Vista will run a quick series of tests to make sure the drive meets minimum requirements. If the drive fails these tests, you won't be able to use it as a ReadyBoost device. Most new drives will tell you on the packaging whether or not they will work with ReadyBoost. In our testing, ReadyBoost never reduced performance regardless of what hardware it was coupled with.
For all of our tests we used an 8GB Corsair Flash Voyager, but note that the maximum size for a ReadyBoost cache file is 4GB. You can also only use one ReadyBoost device per system, so don't get any crafty ideas of having 8 USB drives plugged in to improve performance.
Of course, not all systems have the luxury of large amounts of excess RAM, which brings us to another way of manipulating the cache hierarchy to extract better performance: inserting another level. Between expensive-and-fast RAM and cheap-but-slow hard drives, flash memory has quickly developed over the last decade as a storage medium that balances speed and size between hard drives and RAM - it's cheaper than RAM in similar quantities while still being an order of magnitude faster to access than a hard drive. ReadyBoost is Vista's technology to take advantage of flash memory as a new member of the cache hierarchy.
ReadyBoost functions as a compliment to SuperFetch, giving SuperFetch another place to cache data that - while not as good as RAM - is better than just reading data off of the hard drive. An important distinction however is that while RAM is both quick to access and has high transfer rates, flash memory only offers quick access times, with transfer rates below that of even hard drives. As a result ReadyBoost is only useful in situations where small random data accesses are required, whereas larger transfers that may need sequential access are sent directly to the hard drive. This makes ReadyBoost less readily beneficial than SuperFetch, but with USB flash drives going for under $20/gigabyte, it's a cheap and effective way to boost performance of RAM-limited computers in a number of situations.
ReadyBoost also serves as a read cache of the system pagefile, with the idea that swapping to disk is less painful if it's done to a USB flash drive. Don't worry about sensitive data being kept and lost on your USB drive though; the data is compressed and encrypted so that it should be fairly useless once the drive is removed from use.
While there's potential for ReadyBoost to actually reduce performance, if you have a very fast hard drive, Microsoft has done a lot to address this; before a ReadyBoost cache file is created on the flash drive Vista will run a quick series of tests to make sure the drive meets minimum requirements. If the drive fails these tests, you won't be able to use it as a ReadyBoost device. Most new drives will tell you on the packaging whether or not they will work with ReadyBoost. In our testing, ReadyBoost never reduced performance regardless of what hardware it was coupled with.
For all of our tests we used an 8GB Corsair Flash Voyager, but note that the maximum size for a ReadyBoost cache file is 4GB. You can also only use one ReadyBoost device per system, so don't get any crafty ideas of having 8 USB drives plugged in to improve performance.
105 Comments
View All Comments
Ryan Smith - Saturday, February 3, 2007 - link
That's up to Vista, it benchmarks a flash drive to make sure it's fast enough to be effectively used as a ReadyBoost cache. If ReadyBoost won't engage, then your drive isn't passing one(or more) of their tests.mlambert890 - Friday, February 2, 2007 - link
How is the PC hemmhoraging marketshare to the Mac? You've got to be kidding. Their marketshare in 06 rose from a pathetic 4.4 to a somewhat less pathetic 4.8. Thats with ALL of their ridiculous hype, ALL of the asskissing from the press (including you guys now I guess?) and ALL of the armies of lunatic "Mac priests" that pollute every forum.Its hillarious that you would position this tiny growth in a share that declined steadily for 22 years until it hit rock bottom at like 3% in 2003 as a "hemmhorage". I have to wonder why you would characterize it that way. To be honest, it reeks of bias.
quanta - Friday, February 2, 2007 - link
Think about it, ReadyBoost is treated by Vista as random access memory, to store temoprary contents than can change very often. Considering typical USB flash drive only has 100k write cycle, you will need to replace it very soon. Worse yet, when the flash drive is gone, so will your critical data at the worst possible time. With the hardware requirement of Vista, no amount of wear levelling is going to help.Ryan Smith - Friday, February 2, 2007 - link
No, this is wrong.ReadyBoost is a write-through data cache handled by the SuperFetch system; when enabled SuperFetch uses it as another cache location optimized for small files. Based on the information we've seen, it's used primarily to store DLLs and other static and semi-static data that is needed an intermediate amount of time(not important enough to spend valuable RAM, important enough to cache), with highly dynamic data sent to SuperFetch or the hard disk to avoid unnecessary wear out. It will most certainly put wear on flash memory, but it seems unlikely that it will put 51TB of write-wear(the amount of data that needs to be written on a 512MB flash card to write over all bits 100k times) before several years out.
Of course, this is as according to Microsoft. We don't really know what exactly is being stored on a ReadyBoost drive at any given moment, however we have no reason to believe that Microsoft isn't really taking efforts to minimize writes. We'll find out if/when flash memory starts wearing out.
mlambert890 - Friday, February 2, 2007 - link
We'll see. Please remember that the 100k write cycle is an average, that the flash is used as a small cache only, and that write leveling of COURSE will help before making assumptions.Ive been beating up flash for YEARS thats still going. There are moves to literally put OS's on flash based hard drives. Hybrid drives already use the same concept as ReadyBoost (and are also supported on Vista).
Using flash as a cache for magnetic media is not some untested concept that is going to lead to global data destruction.
MS must have really destroyed their mindshare that so many armchair scientists are just fully willing to believe that theyve figured out ALL the stuff that the "idiots" in Redmond dont realize. Give a little credit to the armies of PhDs that work on at least the basic concept for this crap. Maybe implementation gets flawed by the realities of release cycles and budgets, but BASIC CONCEPT is typically sound.
dugbug - Friday, February 2, 2007 - link
UAC is like a firewall -- chatty at first (during installs and configurations), but once you have set up your system you will hardly ever hear from it. This should be obvious to the authors.And for that matter, the 6-operation file delete they discuss in the beginning was for deleting a file on a shared desktop (meaning a delete was for all users). This is commonplace for enterprise and workplace users, it should be no surprise that a file used by others would require permissions to delete. Though Im glad the number of operations was greatly reduced.
As to the comments about vista being sluggish? Perhaps it is RAM? I have 2Gb and vista runs without any slowdown at all. Once you use it for a while you won't go back to XP.
-d
LoneWolf15 - Friday, February 2, 2007 - link
Untrue. Enthusiasts use lots of things like the Control Panel, MMC console, etc. and these all require UAC every time. Currently, I also have startup programs on my beta-test box that UAC blocks. This would be fine, if UAC had a feature saying "Yes, I know what this program is, let it run every time all the time" and be done. But, UAC doesn't have this option, so a user has to allow the program to run every single freaking time they boot their machine.I've tried changing the program properties so that it runs as Administrator; that hasn't solved the problem. I turned off UAC, which gives me a lovely annoying red-X shield in the system tray that every so often decides to warn me with a popup balloon that UAC is turned off and I could be in danger, so it's annoying even when turned off, and there's no easy way around it. Enthusiasts do a lot with their computers, and what they do is likely to increase their number of UAC prompts. Bottom line: Unlike OS X's methods, Vista's UAC happens far more often, and is far more annoying. And because it doesn't require a password (like OS X) and is just a click-through, I'll put money down that within a year, it will be worthless, as the average user will learn to click through it without reading a single bit of info.
funk3y - Sunday, February 4, 2007 - link
The red cross can also be disabled for sure; on my computer, which is a member of a domain I recieve no error message at all, even if UAC & co are disabled.haplo602 - Friday, February 2, 2007 - link
Realy. What's the hype all about ?SuperFetch - trivial change to caching mechanisms. Anybody that would require it would have already implemented it in *NIX systems. This is a purely desktop user feature to hid some processing overhead. There's nothing new about this that would prevent implementation in w2k already except MS incompetence ...
ReadyBoost - So the new standard is to have a permanently attached USB stick to have some performance ?
Compund TCP, Receive window auto tuning - I laughed like mad. So they finaly made a proper implementation of something network related? End even then Vista is SLOWER. I'd suggest take a stand-alone NIC that Vista nad XP have drivers for themselves and test it. Should rule out driver bugs.
I/O improvements - so I make an app that makes a high priority high capacity I/O operation (say 1GB) and you can go for lunch till the system is anyway usable. Seriously. I/O in small chunks makes perfect sense in multitasking environments since you have more entry point and can adjust the stream on OS level and tune performance. That XP or Vista are stupid enough to do this is their fault. I guess MS will hype this as the next best thing in a future OS ?
All in All every feature hyped in the article does not deserve a Marketing Name(tm) because it is a normal concept. So we have a shiny new bigger and slower OS that is hiding this behind hyped features. F.E. memory compression could very much improve system performance without relying on external devices (ReadyBoost).
mlambert890 - Friday, February 2, 2007 - link
Just admit your bias man. There is NOTHING MS could do that would cause you to give them kudos. I spend my days arguing with guys like you for a living (unfortunately) and its just exhausting.I could point you to REAMS of documentation of all the crap that has been rewritten and overhauled in Vista, but whats the point? You want to hate it so hate it.
Its sad that technology debates are STILL religion for so many after all this time :(