Re: locking pages into a processes` working set
From: Carl Spalletta
Date: Sat Mar 27 2004 - 13:44:05 EST
> 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 by `top` vary 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
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/