Click here to Skip to main content
15,893,594 members
Home / Discussions / System Admin
   

System Admin

 
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 
I was afraid you were thinking that. In my experience, and I have been concentrating on performance for as long as I'm active in electronics and software, optimizing something based on observations under abnormal conditions is most often a waste of time. For instance, the way multi-threaded operations evolve will be different when you switch from a faster to a slower disk, or vice versa.

Side note: think of the highways; when traffic increases and things tend to slow down, they decrease the speed limits to get the cars moving faster. Sounds weird at first, it actually works.

Yes you can try and optimize simple things (say a numeric algorithm, one thread, no blocking calls) under synthetic conditions. However, as soon as your app has some level of complexity (i.e. many threads doing uncorrelated stuff), overall app performance optimization requires realistic conditions to be relevant. And that makes optimization an iterative process: as soon as you make a second decision, you have to question your first decision again. If not, you may end up in a local minimum rather than the overall minimum.

For real observations, a reboot is the only thing I know of that provides the cold start numbers (an alternative I mentioned earlier would be using N identical files, using a different one for each of N runs). If that is too cumbersome, then, as a quick and dirty approach, you could just ignore the first (cold) run and assume all other runs are comparable (which will depend on what other apps your system is also running), but there are no guarantees as I explained before.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

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 
Questioni want to ask the plateform Pin
krishna.taniya10-Mar-11 4:58
krishna.taniya10-Mar-11 4:58 
AnswerRe: i want to ask the plateform Pin
Richard MacCutchan10-Mar-11 5:39
mveRichard MacCutchan10-Mar-11 5:39 
QuestionStartup EXE at Windows Startup Pin
GauravKP10-Mar-11 0:47
professionalGauravKP10-Mar-11 0:47 
AnswerRe: Startup EXE at Windows Startup Pin
Jörgen Andersson10-Mar-11 1:37
professionalJörgen Andersson10-Mar-11 1:37 
AnswerRe: Startup EXE at Windows Startup Pin
Bernhard Hiller10-Mar-11 3:23
Bernhard Hiller10-Mar-11 3:23 
QuestionIP addresses management Pin
Joan M3-Mar-11 5:33
professionalJoan M3-Mar-11 5:33 
AnswerRe: IP addresses management Pin
Jörgen Andersson3-Mar-11 9:24
professionalJörgen Andersson3-Mar-11 9:24 
AnswerRe: IP addresses management Pin
Roger Wright15-Mar-11 19:05
professionalRoger Wright15-Mar-11 19:05 
QuestionRe: IP addresses management Pin
Joan M15-Mar-11 21:03
professionalJoan M15-Mar-11 21:03 
AnswerRe: IP addresses management Pin
Roger Wright15-Mar-11 21:38
professionalRoger Wright15-Mar-11 21:38 
QuestionMS Outlook 2007 Pin
Civic061-Mar-11 2:12
Civic061-Mar-11 2:12 

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.