Hashemian Blog

Web Tools, Financial Markets, Technology

Friday, June 05, 2009

Robocopy Slow on Windows Vista and Windows Server 2008 

A few years ago when I needed to synchronize large collection of files for a number of Windows Server 2003 hosts I stumbled upon a Windows Resource Kit utility named Robocopy. This is a great file synchronization tool with lots of switches that can quickly copy entire folders from one Windows host to another along with their NTFS data such as dates and security details, yielding exact duplicates.

There are a number of tools on the market that can do the job, but Robocopy is free, fast, and easy to use. I had a number of hosts auto-synchronized using Robocopy in scheduled tasks and they worked admirably without any hassles. It's one of those set-it-and-forget-it utilities that once configured, it doesn't need any further attention.

Apparently Robocopy was such a useful tool that Microsoft decided to bundle it with Windows Vista and Windows Server 2008. There's even a GUI interface for it for those less inclined to run it from a command prompt. The newer bundled version may have a few extra switches but is otherwise almost identical to the previous versions that were part of the Resource Kit. There's also one more difference that is perhaps less noticeable. It runs substantially slower that the past versions.

I discovered the performance issue today while doing a routine check on the scheduled tasks I had configured for our newer Windows Server 2008 hosts. It appeared that the Robocopy tasks I had set up on the new servers were taking considerably longer time to finish than comparable tasks configured on Windows Server 2003 hosts. The copy operations were still being performed flawlessly but the completion times were drastically longer, specially for servers with large numbers of folders and files.

I spent a number of hours investigating this issue on multiple servers. I took various measurements, tweaked networking parameters, and used various Robocopy switches and values, but no matter what I did the performance issue kept persisting.

The Solution
Out of options and with no solutions at hand, I made one final attempt that I hadn't thought of before. I copied an older version of Robocopy (a version that came with the Windows Server 2003 Resource Kit) to one of the Windows Server 2008 hosts and proceeded to synchronize folders using that version. To my amazement, the copy operation completed as fast as it used to do under Windows Server 2003. We're not talking a small improvement here. The job ran over 40 times faster than it had using the newer bundled copy of Robocopy. Incredulous, I tested this multiple times on multiple servers and the results were the same. The older version of Robocopy dramatically outperformed the newer version even when executed on Windows Server 2008.

There you have it. If you are not happy with the speed of Robocopy on Windows Vista or Windows Server 2008, give the older version, included with Windows Server 2003 Resource Kit, a try and see if it does the same for you as it did for me.

There are a couple of caveats here you should be aware of. First, I checked and rechecked my results quite extensively but I wouldn't claim that to be exhaustive. Do your own detailed verification before you let the old Robocopy loose on your hosts. Second, I ran the old version of Robocopy (a 32-bit image) on 64-bit Windows Server 2008 hosts and as mentioned, I had great results. But that version of Robocopy is not even supported on 64-bit Windows Server 2003, let alone Windows Server 2008. So I suppose there is a slight inherent risk of malfunction. For me, that risk is worth the performance gain, but your risk tolerance may be lower.

,,,,,

Labels: ,

<Robocopy Slow on Windows Vista and Windows Server 2008>

0 comments

0 Comments:

Post a Comment

This page is powered by Blogger. Isn't yours?

Links
  • Hashemian Blog Feeds
  • Add to Google
  • Read Hashemian.com/blog/ with Bloglines
  • Subscribe to Hashemian.com/blog/ with My Yahoo!
  • Technorati Profile
  • TMCnet.com
  • ARCHIVES
  • 09/01/2003 - 10/01/2003
  • 03/01/2004 - 04/01/2004
  • 04/01/2004 - 05/01/2004
  • 05/01/2004 - 06/01/2004
  • 06/01/2004 - 07/01/2004
  • 07/01/2004 - 08/01/2004
  • 08/01/2004 - 09/01/2004
  • 09/01/2004 - 10/01/2004
  • 10/01/2004 - 11/01/2004
  • 11/01/2004 - 12/01/2004
  • 12/01/2004 - 01/01/2005
  • 01/01/2005 - 02/01/2005
  • 02/01/2005 - 03/01/2005
  • 03/01/2005 - 04/01/2005
  • 04/01/2005 - 05/01/2005
  • 05/01/2005 - 06/01/2005
  • 06/01/2005 - 07/01/2005
  • 07/01/2005 - 08/01/2005
  • 08/01/2005 - 09/01/2005
  • 09/01/2005 - 10/01/2005
  • 10/01/2005 - 11/01/2005
  • 11/01/2005 - 12/01/2005
  • 12/01/2005 - 01/01/2006
  • 01/01/2006 - 02/01/2006
  • 02/01/2006 - 03/01/2006
  • 03/01/2006 - 04/01/2006
  • 04/01/2006 - 05/01/2006
  • 05/01/2006 - 06/01/2006
  • 06/01/2006 - 07/01/2006
  • 07/01/2006 - 08/01/2006
  • 08/01/2006 - 09/01/2006
  • 09/01/2006 - 10/01/2006
  • 10/01/2006 - 11/01/2006
  • 11/01/2006 - 12/01/2006
  • 12/01/2006 - 01/01/2007
  • 01/01/2007 - 02/01/2007
  • 02/01/2007 - 03/01/2007
  • 03/01/2007 - 04/01/2007
  • 04/01/2007 - 05/01/2007
  • 05/01/2007 - 06/01/2007
  • 06/01/2007 - 07/01/2007
  • 07/01/2007 - 08/01/2007
  • 08/01/2007 - 09/01/2007
  • 09/01/2007 - 10/01/2007
  • 10/01/2007 - 11/01/2007
  • 11/01/2007 - 12/01/2007
  • 12/01/2007 - 01/01/2008
  • 01/01/2008 - 02/01/2008
  • 02/01/2008 - 03/01/2008
  • 03/01/2008 - 04/01/2008
  • 04/01/2008 - 05/01/2008
  • 05/01/2008 - 06/01/2008
  • 06/01/2008 - 07/01/2008
  • 07/01/2008 - 08/01/2008
  • 08/01/2008 - 09/01/2008
  • 09/01/2008 - 10/01/2008
  • 10/01/2008 - 11/01/2008
  • 11/01/2008 - 12/01/2008
  • 12/01/2008 - 01/01/2009
  • 01/01/2009 - 02/01/2009
  • 02/01/2009 - 03/01/2009
  • 03/01/2009 - 04/01/2009
  • 04/01/2009 - 05/01/2009
  • 05/01/2009 - 06/01/2009
  • 06/01/2009 - 07/01/2009
  • 07/01/2009 - 08/01/2009

  • Read Financial Markets  |   Home  |   Blog  |   Web Tools  |   News  |   Articles  |   FAQ  |   About  |   Contact

    © 2001-2009 Robert Vahid Hashemian
    Support the effort
    Liked this page?
    Please consider creating a link to it
    from your Web site.

    hashemian.com
    هاشمیان.com

     Home

     Blog

     Web Tools Add Free Web Tools custom Google Toolbar button (Requires Toolbar >V4)
    Usage

     News

     Articles

     FAQ

     About

     Contact

     Financial Markets Book
    Read Complete Book



    BOOK
    Make It Fast, Cook It Slow: The Big Book of Everyday Slow Cooking
    Stephanie O'Dea
    $19.99


    BOOK
    Cooking Light Cook's Essential Recipe Collection: Slow Cooker: 57 essential recipes to eat smart, be fit, live well (the Cooking Light.cook's ESSENTIAL RECIPE COLLECTION)
    Editors of Cooking Light Magazine
    $17.95


    BOOK
    Fix-It And Forget-It Big Cookbook: 1400 Best Slow Cooker Recipes
    Phyllis Pellman Good
    $29.95

    BOOK
    The Greatest Show on Earth: The Evidence for Evolution
    Richard Dawkins
    $30.00


    BOOK
    Half the Sky: Turning Oppression into Opportunity for Women Worldwide
    Sheryl WuDunn
    $27.95

    |robocopy-slow-on-windows-vista-and|

    more…




    Get Kindle, $259

    aStore - Hashemian.com on Amazon

    Visits: Powered by hashemian.com

     

     

     

     

     

    Search Hashemian.com





    Manchester United Men's L Soccer Jersey Sewn On NWT
    $17.17
    Ends: Tue Nov 24, 2009 22:55:26 EST


    Vintage Tatting Pattern Purse In Tatting And Beads
    $0.99
    Ends: Tue Nov 24, 2009 22:55:26 EST


    Porsche 914-6 shifter rods and couplings
    $20.00
    Ends: Tue Nov 24, 2009 22:55:29 EST


    HE-MAN AND THE MASTERS OF THE UNIVERSE Animation Cel
    $5.95
    Ends: Tue Nov 24, 2009 22:55:30 EST


    Pikmin 1 and Pikmin 2 (Game Cube, 2004)
    $39.99
    Ends: Tue Nov 24, 2009 22:55:30 EST

    more…