Re: excessive swap-in time



pa@xxxxxxxxxxxxxxxxxxxxx (Pierre Asselin) writes:
phil-news-nospam@xxxxxxxx wrote:

[...]

If it means it will leave the process in
RAM, that may not work. The reason is that other processes have caused
this process to swap out, and appropriately so.

Maybe, maybe not. It could have been swapped out to make room for more
file cache, inappropriately so --or maybe even appropriately so, it's
pretty darn hard to guess these things correctly without measuring.

It is actually 'pretty darn easy': If there is ever signficant paging
activity, the system had too little physical RAM at this point in
time. If there is always significant paging activity, the system has
simply too little RAM for its usual workload. The solution is (to
repeat this again), to either add RAM until the regular paging
activity stops or to reduce the virtual memory usage. There is no
third option, except if counting 'complaining about problems one does
not want to fix' as an option.

.



Relevant Pages

  • The Linear Address Space
    ... The problem is that in a computer there is Hard Drive storage, RAM storage ... I think that paging has something to do with RAM management and the ... Directory Base Register which is Control Register 3? ... The PC & Electronic Data Map Project: ...
    (comp.lang.asm.x86)
  • Re: PRIMES comparision
    ... beyond that the paging service starts ... Additional RAM gave the added ... the added complexity of NT slows down regular application code, ...
    (alt.lang.asm)
  • Re: The Linear Address Space
    ... controller to read the data into physical memory (RAM). ... > Am I on the right track with paging? ... used as an offset into that frame. ...
    (comp.lang.asm.x86)
  • Re: Any Reason To NOT Clear Paging File on Reboot?
    ... I have 1GB of RAM, and have completely ELIMINATED the paging file!!! ... Once you start hitting the paging ... If our systems had UNLIMITED memory, we wouldn't even need a paging ...
    (microsoft.public.windowsxp.general)
  • Re: excessive swap-in time
    ... If there is always significant paging activity, ... | simply too little RAM for its usual workload. ... | third option, except if counting 'complaining about problems one does ... It would be nice if there was a kernel function, ...
    (comp.os.linux.development.system)