kirson wrote:
Hi
If a server has 10GB RAM ( talking about 32bit arch )
and each user is loading a heavy compile that uses 2GB RAM ,
if 4 users compile simultaneous how will the kernel/system react ?
Will the kernel be able to give each user a 2GB User-Space?

Actually, Linux will have no problem giveing each proccess (of which every user may several) up to more then 3GB of RAM, even if the server has considerbly less then 10GB RAM, assuming a reasnoable swap size. This will effect performace, though.


Moreover, unless explictly told otherwise the kernel will happily "over-commit" virtual memory beyond what the system can provide at once and swap in/out data to enable serving the requests. Of course, if you actually have the resources (RAM) then no swapping is required - even better ;-) Mind you , this behaviour can be turned off to forbid the kernel to over-commit virtual memory.

Mind you, when it comes to compliation there may be (and there are) other bottlenecks to perfomace, such as disk access, CPU and in some cases even network.

Hope this helps,
Gilad.



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



  • RAM kirson
    • Re: RAM Shachar Shemesh
    • Gilad Ben-Yossef

Reply via email to