efficient coding

Questions and Answers : Preferences : efficient coding

To post messages, you must log in.

AuthorMessage
David Bohn

Send message
Joined: 16 Aug 10
Posts: 1
Credit: 481,392
RAC: 0
Message 71564 - Posted: 2 Nov 2011, 15:14:02 UTC

Watching different metrics on my PC today I noticed that Roesetta Mini 3.17 had/has a very very high level of page faults. Now I know page faults is a poor name for having to retrieve virtual memory from disk, so that is not my concern. My concern is the loss of efficiency by the need of the OS to do this. Now I am running XP 64, w/ 4Gb dram, not a speed demon but it gets the job done. Considering that my resource monitors say that my dram usage is at 59%, I would hope that either the code or resource parameters could be done is such a way to reduce the swapping dram to disk that the application does.
ID: 71564 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Sense
Volunteer moderator

Send message
Joined: 22 Aug 06
Posts: 4018
Credit: 0
RAC: 0
Message 71565 - Posted: 2 Nov 2011, 23:07:11 UTC

...and so you are assuming that all page faults result in a disk IO? That's not my understanding of how Windows counts page faults. If your memory is only 59% used, you should ask yourself why the operating system would be doing physical IO to disk. Don't forget that it is the OS that decides who gets to use what memory, and which pages are swapped out and which are not.
Rosetta Moderator: Mod.Sense
ID: 71565 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Questions and Answers : Preferences : efficient coding



©2024 University of Washington
https://www.bakerlab.org