Re: [Vserver] resource management

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 02 Dec 2006 - 00:46:50 GMT
Message-ID: <20061202004650.GA17155@MAIL.13thfloor.at>

On Fri, Dec 01, 2006 at 04:31:02PM -0600, John Alberts wrote:
> I'm sorry, I don't have an answer for you, but I do have a question.
> What is your cpu utilization with that many guests? I know that
> vserver is extremely easy on resources; however, I think on the wiki
> it says that some tests show 1-2% resource utilization per guest os.

current devel patches show zero overhead for any
guest, so it's just breaking down resources into
smaller pieces, sharing some of them ...

> with 20 guest running, that's 20-40% resource utilization just for
> running empty guests.

wrong assumption, with 'empty' guests, it would
be zero overhead, well, something about 4-8kbyte
for kernel structures at most

> Of course, your not running empty guests (and you said some of the
> guests are heavily used), so I would expect your server to have very
> high resource usage.

certain resources are shared, so with a smart
config, you can easily get about 100% native
performance within a guest, because certain
things are shared .. that allows for the high
number of guests, btw, production systems are
known to carry 150 and more guests, although
I would not suggest to do that to your customers :)

HTC,
Herbert

> It may also help someone diagnose your problem by showing the output of
> vmstat.
>
>
> On 12/1/06, Chuck <chuck@sbbsnet.net> wrote:
> >suddenly out of nowhere, on a brand new 1 month old dual opteron machine we
> >started getting system lockups and crashes.. I managed to track it down to
> >a
> >bad block in the email mailboxes.. the email server, of necessity for now
> >must run on the host since it uses 140ip addresses. eventually we will move
> >everyone to namespace and i can put it into a vserver..
> >
> >now on to my question.
> >
> >we have a TON of open files I am sure. Presently there are 20 guests
> >running,
> >some, like a web server has 260 domain on it and it is quite busy. Are we
> >approaching or exceeding some kind of system resource limit maybe?
> >
> >I never get to see the console since the server is 1000 miles away, but
> >this
> >morning someone read a msg that seemd to be information only. I have no
> >clue
> >what this means: Kernel Direct Mapping Table up to 100,000,000 @8000:d800.
> >
> >Any clues? Any advice how to set higher resources in the host system if
> >this
> >is becoming a problem? I have never had to do this before but also have not
> >worked on a system so large. We are only about half done. I expect there to
> >be approx 50-60 vservers on this machine with at least 15-20 of them very
> >busy.
> >
> >The host install is 100% stock Gentoo with no modifications other than
> >what is
> >needed to run vservers. The kernel is 2.6.18-vs2.0.2-gentoo-r8 with
> >util-vserver 0.30.211. Everything is compiled 2006.1 gcc 4.1.1 and
> >glibc .2.4-r4:2.2.
> >
> >The disk subsystem is a SATA2 hardware raid5 with all partitions except
> >root
> >boot and swap, using LVM2. At present there are 27 mount points used.
> >
> >
> >
> >--
> >
> >Chuck
> >
> >
> >
> >
> >_______________________________________________
> >Vserver mailing list
> >Vserver@list.linux-vserver.org
> >http://list.linux-vserver.org/mailman/listinfo/vserver
> >
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Dec 2 03:03:02 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 02 Dec 2006 - 03:03:09 GMT by hypermail 2.1.8