Disable Filesystem Cache/File Direct write to Disk

R

RajaMohan23

Hi All,I am doing a testing inside disk(SSD FW) level. Whenever the files are copy/written from the windows it doesn't come to disk immediately, it cached the file write operation and written the disk as bulk. Eg: I am trying write 5000 files(each file 4K size), As file size is very small it cache all the files and dump 5000 files at one burst. There are flag FILE_FLAG_NO_BUFFERING/FILE_FLAG_WRITE_THROUGH but this can only using CreateFile API's. I want this solution as generic file manager like even windows file copy must come to the disk directly.I have disabled policy->Write-Caching

Continue reading...
 
Back
Top Bottom