Solved USB Flash ReadyBoost Write-Cache

rubyrubyroo

I defy U 2 define me
Guru
Local time
6:42 PM
Messages
1,108
Location
tampa bay area, fl
A dedicated ReadyBoost flash drive, running win 7 defaults to preset properties. Of concern to me is the DEFAULT policy for drive removal of a solid state flash, which is restricted to a pair of radio buttons. The first, "Quick Removal mode" IS the DEFAULT where write-cashing is DISABLED. alternatively, write cashing can be turned on using the second option "High Performance mode" although, as we all know unplugging such a drive, can quite dire consequences, often including data corruption/loss. A ".sfcashe" appears to be a single file, at least by NTFS standards, although it is unlikely accessed in the traditional manner, I still can't help but imagine a small sprinkle of corruption goes a long way, possibly rendering the entire file useless.

How, if at all, does this setting affect a ReadyBoost file, would write cashing actually be carried out on the paged virtual memory storage file? And what effects would turning of write-cashing (a.k.a. "Quick Remove mode") have on the same file entity?

In an ideal world it would be limited to a mere speed issue, but my primary concern emanates from the ultra-micro-miniaturization of such USB-flash devices, esp. where the outer grounding shell is omitted and the only anchor is a flimsy 1/16" piece of polypropylene or whatever cheap plastic they can get, which when bumped, touched, shaken or breathed on at certain angles, must bend/twist a contact or two away from the socket pin(s) on a microscopic level, leading to the two tone melody we all know as USB device disengagement, almost immidiately followed by the similar musical arrangent notifying the user that a USB device has been sensed being plugged-in.

So with win 7 will I be poised to lose my precious processes in this manner? or are the RB v-mem files outside of the "protection" of this "cashing of a cashe" (which by the way sounds terribly aquard and slow, even at flash speeds)

any advice would be appreciated
mike
 

My Computer

Computer Manufacturer/Model Number
Custom self build - Desktop
OS
MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
CPU
AMD Phenom II X6: Black Ed 1090T - AM3 / 3.2GHz / 8MB
Motherboard
Biostar TA790XE3
Memory
2 dual ch sets OCZ DDR3 PC3-10666 Platinum 1333MHz 8GB total
Graphics Card(s)
Onboard
Sound Card
Onboard 5.1 channel HD
Monitor(s) Displays
SyncMaster "Legal-sized" LCD (rotatable)
Screen Resolution
unknown (8.5"x15")? pixels are not known
Hard Drives
HDD1: WD RE3 Enterprize [p/n: WD500ABYS-NDW]
________SATA-II (3Gb/s) 500GB/7200rpm/16MB

HDD2: Deskstar 7K1000.C [p/n: HDS721010CLA332]
________SATA-II (3Gb/s) 1TB/7200rpm/32MB
PSU
Antec 900W mATX 20+4 w/6-8SATA;2MLX;4x6(+2)PCIe[p/n HCG-900]
Case
Mid 10-bay tower - free space design interior & well vented
Cooling
CPU HS cooler, 14.5" Case-sysfan1, dual sysfan2, exhaust
Keyboard
Blue Star Ergonomic - ps/2
Mouse
LED coorded w/v. roller wheel - ps/2
Internet Speed
GbLAN 10/100/1000 & WLAN - on T1 (Peer Network)
Other Info
Harmon-Karden speakers (L,R @ sub)

APC (Lead/Acid Batt backup UPC+Surge protector+etc)

Sony DVD SATA(300) - RW DVD/CD SATA-II(300)
ReadyBoost data written to the cache is still backed by pages on disk, so if you pull the key during an I/O operation, the file is simply pulled from disk instead. As to corruption, ReadyBoost isn't cached, regardless of the setting, although setting any USB key to "high performance" makes it in essence no longer a removable drive. You shouldn't be doing this anyway if you're going to simply pull the device and not eject it from the taskbar before pulling this.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 10 Pro x64
CPU
Intel Core i7 4790K @ 4.5GHz
Motherboard
Asus Maximus Hero VII
Memory
32GB DDR3
Graphics Card(s)
Nvidia GeForce GTX970
Sound Card
Realtek HD Audio
Screen Resolution
1920x1200
Hard Drives
1x Samsung 250GB SSD
4x WD RE 2TB (RAIDZ)
PSU
Corsair AX760i
Case
Fractal Design Define R4
Cooling
Noctua NH-D15
i know it was a long read, but i was not going to pull the drive, i have been groing consciously aware of the miniaturization of flash drives, and most importantly their loose anchoring without an outer metal shield. They constantly will "virtually" become pulled and immediately reinserted by their weak nature, and it doesn't take more than a extremely minor touch w/ some drives, even the high end one's, as they strive to be smaller.

Also, how is a (positive) performance enhancement gained by writing to paged virtual mem, then additionally copying it to the flash IC, when before RB is activated it only has the one write to a HDD? it seems counterintuitive, at least superficially.

thanks for your previous reply, and in advance for any future assist
Mike
 

My Computer

Computer Manufacturer/Model Number
Custom self build - Desktop
OS
MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
CPU
AMD Phenom II X6: Black Ed 1090T - AM3 / 3.2GHz / 8MB
Motherboard
Biostar TA790XE3
Memory
2 dual ch sets OCZ DDR3 PC3-10666 Platinum 1333MHz 8GB total
Graphics Card(s)
Onboard
Sound Card
Onboard 5.1 channel HD
Monitor(s) Displays
SyncMaster "Legal-sized" LCD (rotatable)
Screen Resolution
unknown (8.5"x15")? pixels are not known
Hard Drives
HDD1: WD RE3 Enterprize [p/n: WD500ABYS-NDW]
________SATA-II (3Gb/s) 500GB/7200rpm/16MB

HDD2: Deskstar 7K1000.C [p/n: HDS721010CLA332]
________SATA-II (3Gb/s) 1TB/7200rpm/32MB
PSU
Antec 900W mATX 20+4 w/6-8SATA;2MLX;4x6(+2)PCIe[p/n HCG-900]
Case
Mid 10-bay tower - free space design interior & well vented
Cooling
CPU HS cooler, 14.5" Case-sysfan1, dual sysfan2, exhaust
Keyboard
Blue Star Ergonomic - ps/2
Mouse
LED coorded w/v. roller wheel - ps/2
Internet Speed
GbLAN 10/100/1000 & WLAN - on T1 (Peer Network)
Other Info
Harmon-Karden speakers (L,R @ sub)

APC (Lead/Acid Batt backup UPC+Surge protector+etc)

Sony DVD SATA(300) - RW DVD/CD SATA-II(300)
No, I didn't mean the pages were duplicated, I meant they were backed - Superfetch is simply a cache for whatever is on disk, and if you pull the USB key hosting the ReadyBoost cache (which is mostly just an extension of the Superfetch cache), the request simply goes back to disk as a "miss". Nothing would ever be on a ReadyBoost key (or in the Superfetch cache itself) that wasn't already on disk.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 10 Pro x64
CPU
Intel Core i7 4790K @ 4.5GHz
Motherboard
Asus Maximus Hero VII
Memory
32GB DDR3
Graphics Card(s)
Nvidia GeForce GTX970
Sound Card
Realtek HD Audio
Screen Resolution
1920x1200
Hard Drives
1x Samsung 250GB SSD
4x WD RE 2TB (RAIDZ)
PSU
Corsair AX760i
Case
Fractal Design Define R4
Cooling
Noctua NH-D15
OHHHHH! I didn't realize that. so it basically extends the SFetch to a much faster "buffer" (the usb drive)

mike
 

My Computer

Computer Manufacturer/Model Number
Custom self build - Desktop
OS
MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
CPU
AMD Phenom II X6: Black Ed 1090T - AM3 / 3.2GHz / 8MB
Motherboard
Biostar TA790XE3
Memory
2 dual ch sets OCZ DDR3 PC3-10666 Platinum 1333MHz 8GB total
Graphics Card(s)
Onboard
Sound Card
Onboard 5.1 channel HD
Monitor(s) Displays
SyncMaster "Legal-sized" LCD (rotatable)
Screen Resolution
unknown (8.5"x15")? pixels are not known
Hard Drives
HDD1: WD RE3 Enterprize [p/n: WD500ABYS-NDW]
________SATA-II (3Gb/s) 500GB/7200rpm/16MB

HDD2: Deskstar 7K1000.C [p/n: HDS721010CLA332]
________SATA-II (3Gb/s) 1TB/7200rpm/32MB
PSU
Antec 900W mATX 20+4 w/6-8SATA;2MLX;4x6(+2)PCIe[p/n HCG-900]
Case
Mid 10-bay tower - free space design interior & well vented
Cooling
CPU HS cooler, 14.5" Case-sysfan1, dual sysfan2, exhaust
Keyboard
Blue Star Ergonomic - ps/2
Mouse
LED coorded w/v. roller wheel - ps/2
Internet Speed
GbLAN 10/100/1000 & WLAN - on T1 (Peer Network)
Other Info
Harmon-Karden speakers (L,R @ sub)

APC (Lead/Acid Batt backup UPC+Surge protector+etc)

Sony DVD SATA(300) - RW DVD/CD SATA-II(300)
Well, I'd argue very few USB keys (even USB3) are faster than main system RAM, but yes - you are extending SuperFetch beyond what you have available in the system itself (a portion of RAM) to also include the USB key(s) as well, up to 8 keys (32GB a key for 256GB max ReadyBoost cache).
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 10 Pro x64
CPU
Intel Core i7 4790K @ 4.5GHz
Motherboard
Asus Maximus Hero VII
Memory
32GB DDR3
Graphics Card(s)
Nvidia GeForce GTX970
Sound Card
Realtek HD Audio
Screen Resolution
1920x1200
Hard Drives
1x Samsung 250GB SSD
4x WD RE 2TB (RAIDZ)
PSU
Corsair AX760i
Case
Fractal Design Define R4
Cooling
Noctua NH-D15
ironically i was told by someone seemingly knowledgeable and of high standing in the forum that an unlimited number of usb flash drives can be used (i assume USB 2.0 - so that could potentially be 128 I joked fanned out with many powered hubs, and he knew/of no size limitations (all pertaining to win 7 as i think vista only allowed 1 flash, and made it hard to use media cards.

mike:sarc:

EDIT: I just caught your post to that other thread and got ya'

thanks for the answers
Mike
 
Last edited:

My Computer

Computer Manufacturer/Model Number
Custom self build - Desktop
OS
MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
CPU
AMD Phenom II X6: Black Ed 1090T - AM3 / 3.2GHz / 8MB
Motherboard
Biostar TA790XE3
Memory
2 dual ch sets OCZ DDR3 PC3-10666 Platinum 1333MHz 8GB total
Graphics Card(s)
Onboard
Sound Card
Onboard 5.1 channel HD
Monitor(s) Displays
SyncMaster "Legal-sized" LCD (rotatable)
Screen Resolution
unknown (8.5"x15")? pixels are not known
Hard Drives
HDD1: WD RE3 Enterprize [p/n: WD500ABYS-NDW]
________SATA-II (3Gb/s) 500GB/7200rpm/16MB

HDD2: Deskstar 7K1000.C [p/n: HDS721010CLA332]
________SATA-II (3Gb/s) 1TB/7200rpm/32MB
PSU
Antec 900W mATX 20+4 w/6-8SATA;2MLX;4x6(+2)PCIe[p/n HCG-900]
Case
Mid 10-bay tower - free space design interior & well vented
Cooling
CPU HS cooler, 14.5" Case-sysfan1, dual sysfan2, exhaust
Keyboard
Blue Star Ergonomic - ps/2
Mouse
LED coorded w/v. roller wheel - ps/2
Internet Speed
GbLAN 10/100/1000 & WLAN - on T1 (Peer Network)
Other Info
Harmon-Karden speakers (L,R @ sub)

APC (Lead/Acid Batt backup UPC+Surge protector+etc)

Sony DVD SATA(300) - RW DVD/CD SATA-II(300)
Vista did indeed have a limit on the number of devices as 1, 4GB flash device. Also, the data on the ReadyBoost key was not persisted across power events (sleep/hibernate, reboot, etc), meaning it had to be rebuilt every time, which is not the case in Win7 (it is persistent until you remove the device from being usable via ReadyBoost). Also, the device is available to be used to precache boot data (called ReadyBoot), which a ReadyBoost key could also not do under Vista.

Also, reading/writing of a ReadyBoost cache on a flash device is a lot faster under Win7 than it was under Vista, due to improvements in the way flash devices are used, and ReadyBoost itself (also, the cache is compressed 2:1, encrypted, etc).
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 10 Pro x64
CPU
Intel Core i7 4790K @ 4.5GHz
Motherboard
Asus Maximus Hero VII
Memory
32GB DDR3
Graphics Card(s)
Nvidia GeForce GTX970
Sound Card
Realtek HD Audio
Screen Resolution
1920x1200
Hard Drives
1x Samsung 250GB SSD
4x WD RE 2TB (RAIDZ)
PSU
Corsair AX760i
Case
Fractal Design Define R4
Cooling
Noctua NH-D15
Back
Top