From: Takuya Yoshikawa Subject: Re: [PATCH v2 6/8] kvm tools: Add rwlock wrapper Date: Mon, 30 May 2011 20:26:46 +0900 Message-ID: <20110530202646.eff0ea28.yoshikawa.takuya@oss.ntt.co.jp> References: <1306744247-26051-1-git-send-email-levinsasha928@gmail.com> <1306744247-26051-6-git-send-email-levinsasha928@gmail.com> <20110530084309.GH30513@elte.hu> <1306748069.14564.52.camel@lappy> <1306748796.14564.62.camel@lappy> <20110530095451.GB8461@elte.hu> <20110530201110.f3bf20b5.yoshikawa.takuya@oss.ntt.co.jp> <1306753954.14564.92.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Pekka Enberg , kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, "Paul E. McKenney" , Avi Kivity , takuya.yoshikawa@gmail.com To: Sasha Levin Return-path: Received: from serv2.oss.ntt.co.jp ([222.151.198.100]:58634 "EHLO serv2.oss.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753461Ab1E3LXR (ORCPT ); Mon, 30 May 2011 07:23:17 -0400 In-Reply-To: <1306753954.14564.92.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 30 May 2011 14:12:34 +0300 Sasha Levin wrote: > On Mon, 2011-05-30 at 20:11 +0900, Takuya Yoshikawa wrote: > > On Mon, 30 May 2011 11:54:51 +0200 > > Ingo Molnar wrote: > > > > > > > > * Pekka Enberg wrote: > > > > > > > On Mon, May 30, 2011 at 12:46 PM, Sasha Levin wrote: > > > > > I'm just saying that we're limited to as many VCPU threads as we can > > > > > create. br_read_lock() won't do anything on a non-VCPU thread, which > > > > > makes it impossible to test it on non-VCPUs. > > > > > > > > It sure would be useful to be able to fire up 4096 VCPUs... ;-) > > > > > > > > But lets start out with 64 VCPUs, OK? It's better than nothing. > > > > > > In practice 64 VPUs ought to be able to find a good deal of bugs > > > already. > > > > Does kvm tools allow users to start more VCPUs than the actual cores? > > > Yes. > > > IIRC, qemu rejects such settings. > > > qemu also allows having more VCPUs than cores. I have to check again, then :) Thank you! I will try both with many VCPUs. Takuya