Boost Windows 7 SP1 USB Storage Devices Performance by Increasing Maxi

That an impressive increase woolswell

Danny
 

My Computer My Computer

At a glance

Windows 7 Home Premium x64 SP1intel(R)core(TM)2 duo CPU T6600 @ 2.20GHz3 gb ddr3ati radeon hd4570/512mb
Computer Manufacturer/Model Number
acer aspire 5935g
OS
Windows 7 Home Premium x64 SP1
CPU
intel(R)core(TM)2 duo CPU T6600 @ 2.20GHz
Motherboard
intel gm45/gm47 revision 07
Memory
3 gb ddr3
Graphics Card(s)
ati radeon hd4570/512mb
Monitor(s) Displays
lop156wh2-tle1 15.3 flat
Screen Resolution
1366x768
Hard Drives
OCZ-Agility3 60gig ssd
320gig external hdd
500gig external hdd
Mouse
Optical
Internet Speed
30Mbps Down/30Mbps Up

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1Core i7 920 (D0) @ 4Ghz, *26c idle *65c full ...12GB DDR3 Corsair Dominator -CMD12GX3M6A1600C...Zotac Geforce GTX 770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Airbot 2.0
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7 920 (D0) @ 4Ghz, *26c idle *65c full load on air
Motherboard
Asus P6X58D Premium - Sata 6Gb/s - USB 3.0
Memory
12GB DDR3 Corsair Dominator -CMD12GX3M6A1600C8 at 1600MHz
Graphics Card(s)
Zotac Geforce GTX 770
Sound Card
ASUS Xonar D2X
Monitor(s) Displays
1 LG 24" Flatron W2453V-PF 1 Samsung 24" P2450H both 2ms RT
Screen Resolution
1920x1080@60hz
Hard Drives
1 Samsung 250GB 840 Evo SSD
1 OCZ Vertex2 180GB SSD
1 TB Samsung Spinpoint F1 7200RPM 32MB cache
2 500GB WD Caviar Blacks 7200RPM 32MB cache (WD5001AALS)

Pioneer DVD Burner DVR-S18M
PSU
Corsair HX1000W
Case
Cooler Master HAF 932
Cooling
Case Fans *3 230mm, *1 140mm/CPU - *Tuniq Tower 120 Extreme
Keyboard
Logitech Wireless MK700
Mouse
Logitech Wireless MK700
Internet Speed
DL 15 Mbps UL 0.98 Mbps
Antivirus
None
Browser
Firefox Nightly
Other Info
Processor-7.7 *RAM- 7.9 *Graphics-7.9 *Gaming Graphics- 7.9 *SSD- 7.8 W.E.I final score= 7.7
*Phone- LG Nexus 5

My Computer My Computer

At a glance

Windows 7 Home Premium x64 SP1intel(R)core(TM)2 duo CPU T6600 @ 2.20GHz3 gb ddr3ati radeon hd4570/512mb
Computer Manufacturer/Model Number
acer aspire 5935g
OS
Windows 7 Home Premium x64 SP1
CPU
intel(R)core(TM)2 duo CPU T6600 @ 2.20GHz
Motherboard
intel gm45/gm47 revision 07
Memory
3 gb ddr3
Graphics Card(s)
ati radeon hd4570/512mb
Monitor(s) Displays
lop156wh2-tle1 15.3 flat
Screen Resolution
1366x768
Hard Drives
OCZ-Agility3 60gig ssd
320gig external hdd
500gig external hdd
Mouse
Optical
Internet Speed
30Mbps Down/30Mbps Up

My Computer My Computer

At a glance

Server 2008 R2 SP1, Win7 x64 Pro SP1Intel Core 2 Duo E6700 @3.3GHzTranscend DDRII 800 4GB (2 x 2GB )GeForce 7950GX2
OS
Server 2008 R2 SP1, Win7 x64 Pro SP1
CPU
Intel Core 2 Duo E6700 @3.3GHz
Motherboard
ASUS P5W DH DELUXE
Memory
Transcend DDRII 800 4GB (2 x 2GB )
Graphics Card(s)
GeForce 7950GX2
Sound Card
Realtek ALC882M Integrated on board
Monitor(s) Displays
ACER AL2723 27" LCD
Screen Resolution
1920x1200
Hard Drives
WD 6401 AALS 640G x 1
Seagate 160 GB (Barracuda 7200.7) x 2
PSU
Zippy PSL-6720P(G1)720W
Case
Thermaltake Kandalf VA9000SWA
Cooling
Zalman CNPS9500
Keyboard
Standard
Mouse
Standard
Internet Speed
10M, Cable
Other Info
Above is one of my desktops.
I believe I know why some people are not seeing a difference.
It lies within the following note: I underlined the key parts.

>>>>>>>
Note For some USB storage devices, performance can be improved if the maximum transfer size is increased from the default 64 KB. This update supports this change when the hardware vendor provides a device information file (INF) to set this value for the USB storage devices.
>>>>>>>

If your device does not have an inf file, then the setting is not set in the inf file and Windows
automatically adjusts the value most likely to the possible max.

Since it is not clear which devices this applies to, it is good to apply the mod to all
devices listed under usbstor.

What Microsoft is telling us is that the lower performance is due to device manufactures
setting the maximum transfer size to 64kb within the inf file.

That said, would it not be better to just edit the inf file to 2GB rather than modifying the
registry? That would of course only last until the inf file was subsequently overwritten.

I tried this and got a bit of a boost on my USB3.0 external drive. I have not tried this on
external flash drives. However, the speed did not remain stable. As without the mod, the
speed of the files being transferred did not remain steady. It was variable just as file downloads
from the internet are.

[
Edit: I copied a folder with 242 Megabytes of data to the drive.
My USB 3.0 drive went from a peak of 6 Gbs to a peak of 8 Gbs.
But as I previously stated, this is a peak and not the transfer rate of the
entire transfer. I imagine if I had copied a single file, the transfer rate would
have remained consistent throughout the entire transfer.
]

I have USB 2.0 ports and figure that if I had USB 3.0 ports, the transfer rate would be much higher.
 

My Computer My Computer

At a glance

Windows 7 Professional x64
OS
Windows 7 Professional x64
I made an account just to post better instructions for this tweak, as virtually every guide on the internet gets it wrong. I have tested this extensively and the tweak does work provided you do it properly. This works best for USB powered HDDs (and SSDs), which are bottlenecked by the default USB protocols (generally, the speed before the tweak is probably 20-40% slower than the internal speed of the device, so that a faster disk will still be faster than a slower disk near the centre of the spindle, however even in the second case it will be slower than the actual read speed so it's not a hard bottleneck, but a general reduction in speed or overhead). This post gets it right. Creating a key "VVVVPPPP" does nothing, nor does putting the DWORD entry into the existing key "054C00C1".

First, you need to install the hotfix. Secondly, you need to look at the properties for the removable drive and get the VID and PID from "Parent", as per post above. You then combine these two 4 hexadecimal digit IDs to to create the value for key. Note, you will need to do this for each type of device you want increased transfer speed for. However, you can create a key which is VVVVxxxx which will work for any device of a particular vendor (eg. 0BC2xxxx works for multiple different Seagate products). Unfortunately, xxxxxxxx does not work (as a wildcard for all devices).

So create key named above under usbstor, and place the MaximumTransferLength DWORD entry in there. A reboot is required to see the difference.

For my drives, I found even going just to 512k was enough to max out the bandwidth of my devices actual speed. For testing, you must transfer some large files (multi GB). If you do smaller files, windows caching will mess up the results (even though write caching is supposedly disabled). I found the difference even greater on encrypted (TrueCrypt) drives. When you copy files, the transfer rate will start very high (caching), then slow down. You should notice that it slows down less and at the end of the transfer, the average speed (ie. actual) is faster when using this tweak. Unlikely it will speed up most flash memory because these are usually only 20 MB/sec write or so maximum, so no use making this tweak for those. It also does work on USB 2.0 ports/HDDs (at least for me), it speeds them up closer to the theoretical maximum of USB 2.0. I went from ~25 MB/sec read/write to just over 40 MB/sec read/write. YMMV, I found the performance increase higher on my PC which has USB 3.0 ports than my laptop which only has USB 2.0 (but the laptop was certainly still faster than before the tweak). USB 3.0 writes were improved essentially to what I estimate was the maximum for my HDDs.

Hopefully these instructions should help anyone needing help with this tweak. I preferred using this method over installing the ASUS Suite / BOT driver on my two PCs.

Edit: Upon further testing, the USB 2.0 devices couldn't handle 2MB when doing read+writes. Working fine though on 512k, which gives me just as good speed (it's already 8x more efficient in terms of required transaction). 2MB is probably only required for super-fast SSD type drives.
 

Attachments

  • Tweak.png
    Tweak.png
    23 KB · Views: 61
Last edited:

My Computer My Computer

At a glance

Windows 7 Professional x64
OS
Windows 7 Professional x64
Back
Top