Click here to Skip to main content
15,891,136 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: GPO already apply but ping not reply Pin
Kanel Roath28-Mar-11 17:05
Kanel Roath28-Mar-11 17:05 
GeneralRe: GPO already apply but ping not reply Pin
Dave Kreskowiak28-Mar-11 17:16
mveDave Kreskowiak28-Mar-11 17:16 
QuestionPrint to File Pin
Anuthi19-Mar-11 14:24
Anuthi19-Mar-11 14:24 
AnswerRe: Print to File Pin
Joan M11-Apr-11 20:13
professionalJoan M11-Apr-11 20:13 
QuestionRemote desktop connection advice Pin
Joan M18-Mar-11 7:14
professionalJoan M18-Mar-11 7:14 
AnswerRe: Remote desktop connection advice Pin
Dave Kreskowiak18-Mar-11 10:32
mveDave Kreskowiak18-Mar-11 10:32 
GeneralRe: Remote desktop connection advice Pin
Joan M18-Mar-11 10:49
professionalJoan M18-Mar-11 10:49 
QuestionClear Windows 7 disk file read cache Pin
Chris Losinger17-Mar-11 4:57
professionalChris Losinger17-Mar-11 4:57 
is there a way to clear (or selectively remove files from) Windows' file read cache ?

my app uses a lot of really large data files (~16GB worth) - most of them are used to look up small chunks of data via a binary search. so, a lot of seeks and small reads. this can't be changed - it's just the nature of the problem. and, my input data is fixed - i can't invent new test data, i can only use what was given to me. so, i end up running the same data through the system, over and over.

what this means is that the first run of the morning is slow - every lookup goes to the file, all seeks and reads are on the actual file. but every subsequent run is very fast because all those little reads for the lookups from the first run have already been cached in Windows' file read cache. while the speed is nice for testing, it's misleading. end users will not be running the same data through, over and over, so they won't get the benefit of the read cache.

so, for performance testing / optimization, i really need to be able to force all that cached data out of Windows file cache after each run, so that it will have to go back to the disk for the next run.

i've done a lot of Googling, but haven't found any good answer to this. (no, SysInternals' CacheSet doesn't work)

anybody know how to do this?

AnswerRe: Clear Windows 7 disk file read cache Pin
Luc Pattyn17-Mar-11 5:22
sitebuilderLuc Pattyn17-Mar-11 5:22 
AnswerRe: Clear Windows 7 disk file read cache Pin
Eddy Vluggen17-Mar-11 5:30
professionalEddy Vluggen17-Mar-11 5:30 
GeneralRe: Clear Windows 7 disk file read cache Pin
Chris Losinger17-Mar-11 5:44
professionalChris Losinger17-Mar-11 5:44 
GeneralRe: Clear Windows 7 disk file read cache Pin
Luc Pattyn17-Mar-11 7:10
sitebuilderLuc Pattyn17-Mar-11 7:10 
GeneralRe: Clear Windows 7 disk file read cache Pin
Eddy Vluggen17-Mar-11 7:32
professionalEddy Vluggen17-Mar-11 7:32 
AnswerA possible solution [modified] Pin
Chris Losinger18-Mar-11 5:54
professionalChris Losinger18-Mar-11 5:54 
AnswerRe: A possible solution Pin
Luc Pattyn18-Mar-11 7:31
sitebuilderLuc Pattyn18-Mar-11 7:31 
GeneralRe: A possible solution Pin
Chris Losinger18-Mar-11 7:43
professionalChris Losinger18-Mar-11 7:43 
GeneralRe: A possible solution Pin
Luc Pattyn18-Mar-11 8:02
sitebuilderLuc Pattyn18-Mar-11 8:02 
GeneralRe: A possible solution Pin
Chris Losinger18-Mar-11 8:09
professionalChris Losinger18-Mar-11 8:09 
GeneralRe: A possible solution Pin
Luc Pattyn18-Mar-11 8:29
sitebuilderLuc Pattyn18-Mar-11 8:29 
GeneralRe: A possible solution Pin
Chris Losinger18-Mar-11 8:55
professionalChris Losinger18-Mar-11 8:55 
QuestionDetail information in a folder of windows 7 Pin
Kanel Roath15-Mar-11 15:46
Kanel Roath15-Mar-11 15:46 
AnswerRe: Detail information in a folder of windows 7 Pin
Joan M15-Mar-11 21:05
professionalJoan M15-Mar-11 21:05 
GeneralRe: Detail information in a folder of windows 7 Pin
Kanel Roath16-Mar-11 0:03
Kanel Roath16-Mar-11 0:03 
AnswerRe: Detail information in a folder of windows 7 Pin
Joan M16-Mar-11 0:12
professionalJoan M16-Mar-11 0:12 
AnswerRe: Detail information in a folder of windows 7 Pin
Richard MacCutchan15-Mar-11 23:21
mveRichard MacCutchan15-Mar-11 23:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.