All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kaspar <zkaspar82@gmail.com>
To: Neil Aggarwal <neil@JAMMConsulting.com>
Cc: kvm@vger.kernel.org
Subject: Re: Reserve CPU cores for specific guests?
Date: Mon, 09 Nov 2009 01:26:49 +0100	[thread overview]
Message-ID: <4AF761C9.5000506@gmail.com> (raw)
In-Reply-To: <DC3B01DB74114E3E840C575DD2DDDDDE@neilhp>

Neil Aggarwal napsal(a):
> Hello:
> 
> I don't think there is a way to do this with KVM, but
> I figured I would ask:
> 
> I want to be able to offer virtual private servers (VPSs)
> to clients.  I am going to use KVM for it.
> 
> I would like to offer clients the option to buy either:
> 1. A VPS which allows CPUs to be overcommitted.
> 2. A VPS with a dedicated CPU core.
> 
> So, for example, if I have a six core opteron, I might
> sell:
> 2 VPSs with a dedicated CPU core
> 6 VPSs which allow overcommitted CPUs
> 
> Since I need one core for the hypervisor, there would
> need to be a way to say that it gets a dedicated core
> plus the other 2 VPSs get a dedicated core.  That
> leaves 3 pooled cores to serve the 6 VPSs that 
> are allowed to overcommit.
> 
> Is there a way to set up a pooled set of cores
> for a given list of VPSs?  
> 
> I think I may have to use separate physical machine
> for the VPSs with dedicated cores and the ones with
> overcommitted ones.
> 
> Thanks,
> 	Neil
> 
> --
> Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
> CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
> 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

I think you can achieve that on some simple level DIY with taskset from
util-linux(-ng).

HTH, Z.

  reply	other threads:[~2009-11-09  0:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-08 22:56 Reserve CPU cores for specific guests? Neil Aggarwal
2009-11-09  0:26 ` Zdenek Kaspar [this message]
2009-11-09  3:12   ` Neil Aggarwal
2009-11-09  3:14     ` Thomas Fjellstrom
2009-11-09  5:08       ` Neil Aggarwal

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=4AF761C9.5000506@gmail.com \
    --to=zkaspar82@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=neil@JAMMConsulting.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.