The InformationWeek -- Blogs
Welcome Guest. | Log In| Register | Membership Benefits

Microsoft

Topics:   Microsoft

  • Email this page E-mail this page
  • Print this page Print this page
  • Bookmark and Share
  • icon

Vista SP1 Fixes Slow File Copies--Here's Why


Posted by Dave Methvin, Feb 6, 2008 12:29 PM

One of the first things I noticed when setting up Vista for the first time was that file copies seemed to be slower. Plenty of other people noticed it, too. This week, Mark Russinovich put together a blog entry with details about how this Vista "improvement" went awry.


This is to some extent a story about how no good deed goes unpunished. Windows XP has its own bad behavior when it comes to file copies. Copying large files will cause other useful code and data to be thrown out of memory, and that can cause poor performance and swapping down the line. So Microsoft set out to fix this problem with Vista. Many changes were made; one of the most important was to avoid using the file cache on file copies larger than 256 KB, and instead do the file I/O directly to disk.

In some cases, this change to noncached I/O made file copies slower. One of the situations Russinovich identifies is when there are real-time virus and/or spyware scanners in use. Reading or writing any file often triggers a flurry of activity by these programs; noncached I/O creates a further bottleneck as these programs vie to take a look at the copied bytes.

Other times, Vista's reduced performance was more perceived than real. When the I/O is cached, as it is on XP, the copy dialog may go away before the last of the file is actually written to disk. In Vista, the copy dialog stays up until the last byte is written, which gives the user the impression that the copy operation was slower.

Starting with Vista SP1, Microsoft has returned to using cached I/O for file copies when the files are on the local system. There are some downsides to this in certain situations, as Russinovich details in his blog post, but on balance it will probably give users the copy performance they have come to expect on XP systems.

I would love to see Microsoft provide this kind of detail more often about bugs and fixes. It is easier to have more sympathy for Microsoft's design choices when you can see the reasoning behind changes that initially seem to create more hassles than they fix.

« National Intelligence Director: Cyber Risks Rising | Main | With HTC Shift, Intel's UMPC Is Finally Real »



Sign Up Now
For InformationWeek News Alerts




This is a public forum. United Business Media and its affiliates are not responsible for and do not control what is posted herein. United Business Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of United Business Media LLC and may be edited and republished in print or electronic format as outlined in United Business Media's Terms of Service.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.




 
 

  1. Hurry Quick! There is Pandemonium on the Blackboard!
  2. Microsoft Extends Visual Studio 2010 and .NET Framework 4 Beta Period
  3. Visual Basic 10 Beta 2 Also Supports Task-Based Programming


Join The InformationWeek Group On LinkedIn


                           


  1. Mobile Round-Up: iPhone On Verizon Edition
  2. Google Earth Brings 3D Maps To Audi A8
  3. 9 Reasons Enterprises Shouldnęt Switch To Hyper-V
  4. AT&T: No Tiered Plans, But Network Remedies Forthcoming


  1. Top 10 Smartphone Advances Of 2009
  2. Chief Of The Year: Vivek Kundra
  3. Federal CIO Kundra Talks IT Strategy
  4. Government Technologist: Holding The Fed CIO's Feet To The Fire
  5. CIO Profiles: Mujib U. Lodhi, CIO At DC Water And Sewer Authority
  6. The Dark Side Of Data Loss Prevention

 

  Ars Technica
Boing Boing
Channel 9 Forums
CRN Blogs
Dr.Dobb's Portal: Blogs
Engadget
Gizmodo
GrokLaw
  Lifehacker
Schneier on Security
Slashdot
TechCrunch
Techdirt
Techmeme
Valleywag

  DECEMBER 2008
NOVEMBER 2008
OCTOBER 2008
SEPTEMBER 2008
AUGUST 2008
JULY 2008
JUNE 2008
MAY 2008
  APRIL 2008
MARCH 2008
FEBRUARY 2008
JANUARY 2008
DECEMBER 2007
NOVEMBER 2007
OCTOBER 2007
SEPTEMBER 2007