How much memory usable to add a new process before paging starts?
I want to add 1 more large process to my production linux server.
Using command like vmstat, free, etc can show RAM used respectively by user apps and by file cache.
My question is: how do I calculate the RAM amount my new process can take before existing executables trigger paging?
I have 1 technique: run a small test program which allocates more and more memory (and often update the pages to ensure those pages are not paged out) and see how the system behaves.
Any other idea?