|
Originally Posted by Mike Calligaro (Windows Mobile Team)
|
Okay, I've done my research, and here's what I've found.
That axim site suggested that you change these registry keys:
HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt\ReplStoreCacheSize=4096
HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ MSFlash\FATFS\DataCacheSize=0x1FA0(4096)
HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ MSFlash\FATFS\Flags=0x28(40)
That will have no effect for the same reason changing the CompactionPriority keys have no effect (see the "What about these registry keys" section of http://blogs.msdn.com/windowsmobile/...6/552996.aspx).
If you could change the keys (which you can't), the sizes are pretty large. 0x1FA0 is 8K, not 4, and would result in burning 4M of RAM. And the RepleStoreCacheSize is measured in records, not bytes, so 4096 is really excessive. 256 is a more reasonable number.
Setting these two keys:
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Cac heSize=4096
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Ena bleCache=0x1(1)
Will have an effect, but probably not the effect you expect. Those are the default values that are used if there's no specific value overriding them. THe MSFlash keys override those values for internal flash (assuming internal storage is using MSFlash and not some other filesystem). So, most likely, those two keys will only affect CF/SD cards. By the way, setting those two values to that amount will consume 2 megs of RAM. So make sure you understand the tradeoffs before changing them.
Setting the TempPath registry key should work. You can point it to an SD card, or a RAMdisk you've installed. (Hey, if you're willing to set your device to have 6M of caches, maybe a RAMDisk is a good idea...)
|
Take care as to which of those registry tweaks you do.
btw, I'm sure "FULL SPEED" is a bit of an exaggeration - what are your patch_filesys v10 settings? i have mine set to 10/30, and anything lower than 10s for the compaction checks results in unstableness (i think that Paging key shsmith talked about did help a bit in that aspect), while anything greater makes it not 100% full speed as you'd have to wait that amount of time before the filesys.exe thread is suspended