Re: How to set up a Linux machine that occupies the minimum memory footprint ?
From: Peter (peterwn_at_parazzdise.net.nz)
Date: 11/29/04
- Next message: Penang: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- Previous message: Peter T. Breuer: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- In reply to: Peter T. Breuer: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- Next in thread: Penang: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- Reply: Penang: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Nov 2004 00:39:44 GMT
On Mon, 29 Nov 2004 00:39:43 +0100, ptb@lab.it.uc3m.es (Peter T.
Breuer) wrote:
>In comp.os.linux.misc Peter <peterwn@parazzdise.net.nz> wrote:
>> Anyway, is there not some limiting device in Linux to put a cap on the
>> mount of memory each user is allowed to use?
>
>Sure. But how do you know how much he is using? Plenty of it will be
>shared - is he using it or only 1/n'th of it? And then what about
>memory he has been promised but will never ask for? Do you count memory
>that is copy-on-write but has not been written to?
>
>And so on.
>
Agreed in general. However there must be some limitation of a 'user'
program that obtains then uses all available memory until the swap
partition is full. sort of imagine a program that calls gobs of
Mallocs, writes them with zeroes and keeps going until the kernel is
virtually paralysed.
If the user in question runs his rendering software in 'user' mode
with say a limit of 3.8G out of 4G RAM, then it can optimise its
functions around this rather than fondly imagining it has (say) 8G
memory and hence causes the kernel to 'thrash' thus slowing down the
application.
- Next message: Penang: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- Previous message: Peter T. Breuer: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- In reply to: Peter T. Breuer: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- Next in thread: Penang: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- Reply: Penang: "Re: How to set up a Linux machine that occupies the minimum memory footprint ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|