Performance Impact of Windows Offline Files

A little known fact about the Windows Offline Files functionality is it slows down network operations considerably. Here is how and why.

Test Results

The following tests were performed with a set of 1,114 files of a total size of 408 MB. In the copy test the files were copied from a Windows 7 client machine to a file server over a 100 MBit LAN connection. In the delete test the files were deleted on the file server. No antivirus or other security products were running on either side. Each test was run twice, the table lists the average.

Target configurationFile copyFile delete
Target file share not available offline6.6 MB/s225 files/s
Target file share available offline4.6 MB/s90 files/s
Impact of offline files30%60%

Analysis

The tests clearly show that Offline Files in online mode reduce the performance of network operations by as much as 60%. The amount of performance degradation depends on the type of network operation. It differs between copy and delete operations, for example. The reasons for the degradation lie in the architecture of Offline Files. Every IO request passes several filter drivers: CSC (Offline Files), DFS, RdpRdr, LanmanRedirector, Webdav. The Offline Files filter driver is first. It examines whether the IO affects its cache. In the best situation - a read request of a file present and up to date in the cache - the IO request can be satisfied without every reaching the network. In another situation - a write request - CSC clones the write and sends it both to its local cache and to the network. As the tests show the overhead involved with this cloning process can be significant. This analysis has been confirmed by Microsoft support. In other words: this is by design.

See also my other articles about offline files.

Comments

Related Posts

Windows 11: How To Configure Secure DNS (DoH) for All WiFi Networks

Windows 11: How To Configure Secure DNS (DoH) for All WiFi Networks
This post explains how to configure DNS over HTTPS (DoH) for all WiFi networks in Windows 11 via the Settings app. Unfortunately, this is less intuitive than it should be; I need a reminder every time I connect to the German railway’s WiFiOnIce, which only seems to work with Deutsche Bahn’s (insecure) DNS server (you can switch to more secure DNS servers once you’ve accepted the terms on their captive portal).
Networking

Latest Posts

Fast & Silent 5 Watt PC: Minimizing Idle Power Usage

Fast & Silent 5 Watt PC: Minimizing Idle Power Usage
This micro-series explains how to turn the Lenovo ThinkCentre M90t Gen 6 into a smart workstation that consumes only 5 Watts when idle but reaches top Cinebench scores while staying almost imperceptibly silent. In the first post, I showed how to silence the machine by replacing and adding to Lenovo’s CPU cooler. In this second post, I’m listing the exact configuration that achieves the lofty goal of combining minimal idle power consumption with top Cinebench scores.
Hardware

Fast & Silent 5 Watt PC: Lenovo ThinkCentre M90t Modding

Fast & Silent 5 Watt PC: Lenovo ThinkCentre M90t Modding
This micro-series explains how to turn the Lenovo ThinkCentre M90t Gen 6 into a smart workstation that consumes only 5 Watts when idle but reaches top Cinebench scores while staying almost imperceptibly silent. In this first post, I’m showing how to silence the machine by replacing and adding to Lenovo’s CPU cooler. In a second post, I’m listing the exact configuration that achieves the lofty goal of combining minimal idle power consumption with top Cinebench scores.
Hardware