|
From: | Avi Kivity |
Subject: | [Qemu-devel] Re: [RFC] allow multi-core guests: introduce cores= option to -cpu |
Date: | Sun, 05 Jul 2009 17:53:17 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/05/2009 04:23 PM, Alexander Graf wrote:
I thought of using -smp [processors=]2,cores=4,threads=2 (for a total of 16 threads), but I think it makes more sense with -cpu.I actually think putting this in -smp makes more sense. -cpu really shouldn't need to be touched by normal users and as long as you can either -cpu host or -cpu safe that should be enough.
Maybe. But in that case -cpu core2duo should imply cores=2 and -smp 2 -cpu core2duo will bring up 4 cores spread across two sockets.
But then again maybe we should replace -smp with something more useful like -numa where you'd then specify #CPUs, #cores, mem-cpu connection, etc.
I'd prefer -numa to specify the memory topology (and connections of sockets to memory nodes), and -smp or -cpu to specify the intra-socket topology.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |