From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Neil Aggarwal" Subject: RE: Reserve CPU cores for specific guests? Date: Sun, 8 Nov 2009 21:12:39 -0600 Message-ID: <64B8A9B90F804CDF998387C037871E50@neilhp> References: <4AF761C9.5000506@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Return-path: Received: from jamm11.jammconsulting.com ([206.123.70.50]:49485 "EHLO jamm11.jammconsulting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751739AbZKIDMi (ORCPT ); Sun, 8 Nov 2009 22:12:38 -0500 Received: from neilhp (99-186-121-173.lightspeed.hstntx.sbcglobal.net [99.186.121.173]) (authenticated bits=0) by jamm11.jammconsulting.com (8.13.8/8.13.8) with ESMTP id nA93CgQV012906 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sun, 8 Nov 2009 21:12:43 -0600 In-Reply-To: <4AF761C9.5000506@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: > I think you can achieve that on some simple level DIY with > taskset from > util-linux(-ng). That is a good utility to know. I did not know about that earlier. Thanks for the info. I am wondering one thing though: I will either need to call taskset when executing the process or run taskset on a PID after it starts up. Unless there is a way to tell KVM to call taskset when starting a guest, I think that is going to be hard to automate since the guests will get different PID each time they are started. Any suggestions? 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