Hi All,

I am working on SD Host Controller Driver for SD Memory cards for Windows
Mobile.
While copying file on the SD card in the explorer there is a request of 8
blocks always.
I want to increase the requested number of blocks so as to get the better
performance.

This request of 8 blocks comes from the ClientDriver(SDMemory.dll) while
Read/Write.

This is determined by the minimum of Client driver's reg setting
BlockTransferSize and the File Sytem.

I changed teh BlockTransferSize to
100.[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
"BlockTransferSize"=dword:100

Although, the request is always 8 blocks.

Does anybody knows in the FileSystem any reg setting need to be changed to
increase the number of blocks for read/write?

I tried changing [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
BufferSize and CacheSize, but didn't helped.

Thanks,
Sachin.

Re: How to increase the Requested Number of Blocks while copying fileo by Sue

Sue
Tue Jan 02 17:55:38 CST 2007

I think the disk cache works in increments of the sector size. So you might
need to change the sector size or turn off the disk cache.

Sue
sloh@microsoft.com (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________