From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1E9A8E0123F for ; Wed, 11 Jan 2012 04:43:33 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id q0BChVuI028675 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 11 Jan 2012 04:43:31 -0800 (PST) Received: from [128.224.146.67] (128.224.146.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Wed, 11 Jan 2012 04:43:31 -0800 Message-ID: <4F0D83EB.3010008@windriver.com> Date: Wed, 11 Jan 2012 07:43:23 -0500 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: "Zhai, Edwin" References: <20120111070157.GC10415@edwin-gen> In-Reply-To: <20120111070157.GC10415@edwin-gen> Cc: yocto@yoctoproject.org Subject: Re: Request to enable SMP and virtio for qemux86/x86-64 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 12:43:33 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 12-01-11 02:01 AM, Zhai, Edwin wrote: > Bruce, > Can we enable SMP and virtio by default for qemux86/x86-64? This can achieve > huge perf boost for workload inside qemu. E.g. we enabled self-hosted image, > where we build yocto inside qemu. > > Attached patch showes the kernel config option. > > Is it reasonable? It should be. I just need to look at the fallback modes, and how this impacts different host systems. That being said, I've run with similar configs in the past (depending on the workload) with no issues. qemux8-64 is already SMP, so it would just need the addition of virtio devices, which just means we'd look at this as any BSP/target config update. But with graceful degradation (i.e maxcpus with SMP set) and agreement that we'd like to simulate SMP by default, then we can make the change and I'll merge it into the base config for the target and pull it into the kernel tree. Cheers, Bruce > > Thanks, > Edwin >