Windows ReadyBoost

If there is one thing that can really help applications on Windows Vista run better, it's memory.  When comparing the performance of Windows XP and Windows Vista on a PC with 1 GB of main memory, Windows Vista is generally comparable to Windows XP or faster.  However, we also know that in some cases, on PCs with 512 MB of main memory, applications on Windows XP may seem more responsive.  Why?  Mostly because the features in Windows Vista use a bit more memory to do the things that make it so cool, like indexing your data, keeping the fancier AERO UI running using the desktop window manager (DWM), etc.  The less memory in your machine, the more often the OS must randomly access the disk.  This slows system performs in cases where your applications just barely fit in memory on Windows XP but not quite in Windows Vista.

We redesigned the memory manager in Windows Vista so that if you give the system more memory, it uses that memory much more efficiently than previous operating systems via a technique called SuperFetch -- part of Windows Vista's intelligent heuristic memory management system.  And so Windows Vista on a PC with even more than 1 GB of primary memory (say 2 GB) will generally outperform Windows XP on that same machine -- especially once you have been using the machine for some time because Windows Vista learns what you do the most often and optimizes for this.

While I fully expect the generation of PCs that ship with Windows Vista to include more memory, we also know that many existing PCs have 512 MB.  While memory has gotten much less expensive, many (non-geek) people I know are just not comfortable opening up their PC and installing more memory.  While there are some great PC shops that will do this for you, a lot of people may not want to bother.  Well with Windows ReadyBoost, if you have a flash drive (like a USB thumb drive or an SD card) you can just use this to make your computer run better with Windows Vista.  You simply plug in a flash drive and Windows Vista will use Windows ReadyBoost to utilize the flash memory to improve performance.

I should be clear that while flash drives do contain memory, Windows ReadyBoost isn’t really using that memory to increase the main system RAM in your computer.  Instead, ReadyBoost uses the flash drive to store information that is being used by the memory manager.  If you are running a lot of applications on a system that has limited memory, Windows ReadyBoost will use the flash drive to create a copy of virtual memory that is not quite as fast as RAM, but a whole lot faster than going to the hard disk.  What is very cool here is that there is nothing stored on this flash disk that isn’t also on the hard disk, so if you remove the flash drive, the memory manager sees the change and automatically goes to the hard disk.  While the performance gain from ReadyBoost is gone, you don’t lose any data and there is no interruption.  And because the Windows Readyboost cache on the flash drive is encrypted using AES-128, you don’t need to worry about exposing sensitive data if the flash drive is stolen or lost.  Also, the memory manager compresses the pages before writing them into the cache on the flash disk, which means you’ll get more mileage from each MB.

So, if you just want your PC to run faster with Windows Vista -- it's pretty simple -- connect your flash drive through any USB 2.0 socket or PCI interface and when the autoplay interface comes up, choose "Speed up my system using ReadyBoost."  You need to have at least 230 MB free on the flash drive and some flash disks are not fast enough to support Windows ReadyBoost, although you’ll be told if that's the case.

If you want to learn more about ReadyBoost, Matt Ayers, the program manager for ReadyBoost, created a great FAQ that Tom Archer posted on his blog that is really worth reading.  Tom also did a great job of showing all of the set-up screens in his blog.

If you are like me, you may have a few flash drives in your desk.  If not, you can buy 1 GB drives online for less than $50.  If you put a flash drive into a Windows XP PC, you get access to files on the drive -- if you add that same drive to an identical machine running Windows Vista, you can also boost the performance of your PC with ReadyBoost.  Just one more way that Windows Vista helps you get the most from your hardware.

jim


Comments

  1. Posted on: November 27, 2006 at 12:31PM  

    RyanLM--I have tested Vista on both nVidia and ATI cards, and from personal experience can say that the nVidia drivers are just not very solid yet (although the latest are much better than earlier releases).  I had much better results with ATI cards, so I think your suspicion of the nVidia drivers is correct.

    BTW--are you using two nVidia cards?  Were they driving those two 30" Apple displays with single or dual cards?  I tried out a quad-core Mac Pro + a single 30" display at Microcenter two weeks ago, and it seemed to me that window resizing was still not silky-smooth (though the text re-rendering was appropriately fast).  I certainly wouldn't turn one down, though. ;)  And those 30" and 24" Dells are too much for your setup, I know someone that could put them to use. :D

  2. Posted on: November 28, 2006 at 5:27AM  

    Alright, I'm a longtime Windows (since 2.0/286) and Mac (since System 6.0.3) user.  I think Vista will be the best upgrade ever, even or better than OS X Tiger in most ways.  But I still think OS X Leopard will be better in most ways.

    As for the comparison, yes, you need to compare to Quartz 2D Extreme, which is not enabled yet.  And that DOES require as much horsepower as Aero requires.  And, Aero Glass looks MUCH better (from a tech-geek perspective, not necesarily from a usability perspective.)

    As for the 64-bit question?  OS X has had the ability to execute 64-bit processes since 10.2.8 that came out with the Power Mac G5 in 2003.  The GUI apps couldn't be 64-bit; but in modern programming, that isn't exactly a glaring limitation.  And Windows NT 4.0 and 2000 on Alpha were still only 32-bit.  The CHIP may have been capable of 64-bit operation, but Windows only ran it in 32-bit mode.  Windows XP 64-bit Edition for the Itanium was the first 64-bit release of Windows.

    But, for all intents and purposes, Vista and Leopard will be the first MAJOR releases of both OSes to be 64-bit.  (Sorry, XP Professional for x64 systems doesn't qualify.  It is just an extended public beta, much like Apple did with OS X before version 10.0 came out.)

  3. Posted on: November 28, 2006 at 4:21PM  

    re: 64-bit--other than the hi-performance/scientific computing world, enabling 64-bits for GUI apps is quite important... perhaps even more important for the Mac user base (Photoshop-heavy) than for the Windows user base.  But more importantly, the Cocoa and Carbon APIs aren't 64-bit (yet).  This is actually similar to the Alpha days--the Win32 (uh, the 32 part should give it away!) APIs weren't 64-bit.  64-bit programming was possible on Alpha, but messy at best.  Considering the cost of RAM at the time (not to mention the demand/maturity of NT at the time for such tasks), that wasn't a disappointment for many people! ;)

    In reality, I think you're right, though--essentially, we're just witnessing the dawn of the 64-bit era for consumers on both platforms.

  4. Posted on: November 29, 2006 at 7:32AM  

    1GB of ReadyBoost on an elderly Tosh tablet makes a big difference - not just to performance but we're finding it gives an extra ~15 minutes of battery life. I was surpised how few of the flash sticks we've tried have been fast enough - we have quite the stash - and RTM hasn't made a big difference there, but I'm not quibbling about that because this needs to be near-memory speeds.

    I have a note from one MS event where they calculated life of a stick for ReadyBoost at anything from 16 to 1800 years based on the read/write cycle. 10 sounds fair...

    My wish for Vista SP/Fijii would be to allow more than one ReadyBoost stick on a PC at once, aggregated through a hub perhaps ;)

  5. Posted on: December 05, 2006 at 1:07AM  

    1. Say you are running Vista on a machine with 16GB FB-DIMM and no pagefile. Would there be a performance increase using ReadyBoost?

    2. If someone has a 16GB flash drive, can the ReadyBoost compression be turned off for better performance and would it make a difference?

    3. If I use four really fast 2GB flash drives on USB2.0, will ReadyBoost be able to use all four drives like you can split the pagefiles?

    4. I see the progression of this technology. How long do you think it will take the industry to get HDD w/Flash to market? Or even Mobos with 16-32GB flash caches on them?

  6. Posted on: December 06, 2006 at 8:23PM  

    Hey egbet:

    I've conferred with my colleagues and they've asked me to relay the following responses to you:

    1) Probably not one that would be readily noticeable to typical end-users.  The ReadyBoost cache is really separate from physical memory, and thus is protected when important file pages are pushed out of memory.  Here’s an example: let’s say you have a technical computing application that uses 15GB of physical memory for its purposes.  That would leave 1GB or so for the rest of what you might want in memory.  In this case, the ReadyBoost cache may help in that it may have some cached pages you really wish were still there.  How well this works in practice depends on a number of factors including the I/O patterns for those files and the size of the file set.

    2) We don’t allow compression on/off to be controlled.  

    3) We don’t support multiple devices in this release, although it is something we’re exploring for the future.

    4) ReadyDrive based hybrid drives are coming, but this is different from ReadyBoost.  We’ve built in support for ReadyDrives in Windows Vista and major drive manufacturers have already announced products that will be in the market in 2007.  Due to cost scaling, we expect it will be quite awhile before the non-volatile cache sizes in these devices get anywhere near 16GB for mainstream customers.

  7. Posted on: December 13, 2006 at 1:17PM  

    ReadyBoost is really a great feature !!!

  8. Posted on: December 27, 2006 at 6:25PM  

    Hi

    ReadyBoost is really Cool and useful BUT I have a question ???

    If I unplug my flash suddenly !?? How Vista can keep my data a live ??

    O.K , if we say that the flash contains ONLY a COPY So, How Windows Vista continuously updating he two sides ? the Flash and The Hard Disk ??

    BUT Vista is My Next Cool,productive OS ....

    Thanks

  9. Posted on: December 27, 2006 at 6:34PM  

    Hey VistaIsMyLove:  take a look at the FAQ mentioned in the post above (http://blogs.msdn.com/tomarcher/archive/2006/06/02/615199.aspx), as it will answer your question better than I can -- namely:

    Q: Isn't this just putting the paging file onto a flash disk?

    A: Not really - the file is still backed on disk. This is a cache - if the data is not found in the ReadyBoost cache, we fall back to the HDD.

    Hope this helps.  

  10. Posted on: December 28, 2006 at 12:31AM  

    I noticed that when i put in my 2GB stick it seems to peg the cpu more. I have an AMD Sempron 2800+(1.6ghz) and 1 Gig of ram.  It *seems* like it actually runs faster without the drive because of the cpu going up.  I just received the drive today. (cruzer 2GB)

Trackbacks

  1. Posted by: TechBlog on November 21, 2006 at 1:02PM

    One of my favorite features in Windows Vista is one I don't think Microsoft is emphasizing enough: ReadyBoost. It lets you use a flash drive to speed up Vista, and it does so noticeably. I'd love to see Microsoft selling...

  2. Posted by: Robert Burke's Weblog on November 21, 2006 at 4:47PM

    One of the Vista features I was intrigued by, and formerly a little confused by, is Windows ReadyBoost,

  3. Posted by: Sam Gentile on November 23, 2006 at 10:12AM

    I thought Thanksgiving morning is for adults to be sleeping in. Instead, not only are the kids up at

  4. Posted by: TechBlog on December 02, 2006 at 1:50PM

    Last month I wrote about ReadyBoost, the feature in Windows Vista that takes advantage of the cheap memory available in USB 2.0 flash drives. I linked to a Jim Allchin post at the Windows Vista Team Blog that gave a...

  5. Posted by: .:: Stefan's blog - IT Pro ::. on December 04, 2006 at 10:00AM

    Windows Vista integreaza tehnologia Windows ReadyBoost pentru performantele sistemului printr-un singur

  6. Posted by: Windows Performance Blog on December 13, 2006 at 9:54PM

    Hi, all & welcome to the Windows Performance Blog. My name is Matt Ayers and I’m a Program Manager

  7. Posted by: Windows Performance Blog on December 13, 2006 at 9:56PM

    Hi, all & welcome to the Windows Performance Blog. My name is Matt Ayers and I’m a Program Manager

  8. Posted by: Windows Vista Team Blog on January 03, 2007 at 7:59PM

    Many people share the dream that the various electronic devices they use should do what they want without

  9. Posted by: David Cohen Microsoft France on February 12, 2007 at 5:04AM

    J'en ai parlé plusieurs fois, lors de réunions, présentations, etc... ReadyBoost est une des nouvelles

  10. Posted by: Ask the Performance Team on March 29, 2007 at 3:27PM

    Today we are going to discuss two new Vista performance enhancements, SuperFetch & ReadyBoost. We

  11. Posted by: Connected to Vista Bookmarks on April 02, 2007 at 12:15PM

    Boost Windows Vista system performance with ReadyBoost Is your flash drive fast enough for Vista’s ReadyBoost?

  12. Posted by: GerardoDada on May 08, 2007 at 2:25PM

    1. ReadyBoost - if you upgraded to Vista, you can add a USB flashdrive or an SD Card to speed up your

  13. Posted by: Windows Vista Team Blog on August 14, 2007 at 1:18AM

    A new issue of the Official Windows Vista Magazine is about to hit, packing quite a bit of information

  14. Posted by: The Official Blog of the SBS "Diva" on April 22, 2008 at 10:47PM

    I was asked after my Vista presentation on how much sticking a USB memory drive that uses readyboost

  15. Posted by: Windows Versus Macbook ♦ Apple MacBook and MacBook Pro News on July 28, 2008 at 12:41AM

    [...] an interesting post was made today on this site [...]...

  16. Posted by: Windows ReadyBoost « jiangsan on November 09, 2009 at 6:32PM

    Pingback from  Windows ReadyBoost «  jiangsan