Re: OpenVZ Density [message #32315 is a reply to message #32286] |
Wed, 30 July 2008 16:25 |
|
dowdle
Messages: 261 Registered: December 2005 Location: Bozeman, Montana
|
Senior Member |
|
|
Just for fun, I downloaded the Mandriva OS Template and created a container from it. Here's the processes it runs by default and the amount of RAM it uses:
[root@openvz2 cache]# vzctl enter devel2
entered into VE 199055
[root@devel2 /]# pstree -nup
init(1)─┬─syslogd(17494)
├─sshd(17601)
├─crond(17620)
└─vzctl(17622)───bash(17623)───pstree(17690)
[root@devel2 /]# top -b -n 1 | head -5 | tail -2
Mem: 9982512k total, 4544k used, 9977968k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
So, without my vzctl, bash, pstree processes there are only 4 processes. The top output says that it is using about 4.5MB of RAM... and again that includes the additional processes I'm using to measure with. I believe the same would apply for most of the OS Templates marked as "minimal".
Why have such a small system? Some people have unique needs and only want to do one service (for isolation) so they don't want much. Less stuff installed by default means less stuff to update. The minimal ones don't even have man installed.
I've seen some people complain and call even the minimal OS Templates "bloated" but those are the folks creating a lot of special purpose containers.
--
TYL, Scott Dowdle
Belgrade, Montana, USA
|
|
|