locking pages into a processes` working set
Quoted 5 lines
I have been trying to lock pages down so I can get a stable bench-mark without a bunch of paging. I have tried
mlock(),mlockall(), etc., but both the RSS and SIZE entries shown bytopvary all over the place when the process is active.
Did you check the return value from mlock?
Did you check the kernel source to make sure no cases have been
left out of the manpage?
Have you taken account of the "imbedded" arch you're using? Have you checked the source for top and verified that the numbers
really mean what you suppose?
Have you considered using some other tool for measurement or rolling
your own?
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html