From: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
To: FinnTux <finntux@gmail.com>
Cc: Steve Lorimer <slorimer@kmbc.edu>, kvm@vger.kernel.org
Subject: Re: Question about limiting KVM cpu usage
Date: Fri, 12 Sep 2008 00:15:28 +0300 [thread overview]
Message-ID: <1221167728.4812.1.camel@localhost> (raw)
In-Reply-To: <6e10be650809111018q265a20c5l827be6324202d5d9@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 900 bytes --]
On Thu, 2008-09-11 at 20:18 +0300, FinnTux wrote:
> 2008/9/11 Steve Lorimer <slorimer@kmbc.edu>:
> > Hello, all,
> > I have what should be a simple question concerning KVM. Is there a way to
> > limit cpu usage for a KVM guest? In other words, if I am running four guest
> > servers and something on one of them begins to use a ton of cpu, I don't
> > really want it to slow down all the others. Is the only way to do this by
> > limiting it to one cpu core? Granted, I would prefer that it have access to
> > full computing power if no other guest needs it. Thanks for any advice.
>
> You can use standard linux process utilities. Check out nice, ionice
> and taskset.
I think 'cpulimit' is what you really need.
Cristi
--
Ing. Cristi Măgherușan,
Universitatea Tehnică din Cluj-Napoca
Centrul de Comunicații "Pusztai Kalman"
Tel. 0264/401247 http://cc.utcluj.ro
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2008-09-11 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 16:27 Question about limiting KVM cpu usage Steve Lorimer
2008-09-11 17:18 ` FinnTux
2008-09-11 21:15 ` Cristi Magherusan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1221167728.4812.1.camel@localhost \
--to=cristi.magherusan@net.utcluj.ro \
--cc=finntux@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=slorimer@kmbc.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox