public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* can KVM use all cpu cores in a guest
@ 2008-03-07 14:24 Martin Maurer
  2008-03-07 16:31 ` Alexey Eremenko
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Maurer @ 2008-03-07 14:24 UTC (permalink / raw)
  To: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 441 bytes --]

Hi all,

 

As far as I see I can configure 4 cpu´s in a guest (using the -smp option) –
but this seems to be only virtual, means the process on the host only uses
one physical cpu.

 

Background: I want to run just one guest, using the full cpu power of a host
(quadcore). Now I only get 25 % cpu load on the host.

 

Will this be possible with future versions?

 

Thanks,

Best Regards,

 

Martin

 

 


[-- Attachment #1.2: Type: text/html, Size: 3743 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can KVM use all cpu cores in a guest
  2008-03-07 14:24 can KVM use all cpu cores in a guest Martin Maurer
@ 2008-03-07 16:31 ` Alexey Eremenko
  2008-03-14 14:28   ` Martin Maurer
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Eremenko @ 2008-03-07 16:31 UTC (permalink / raw)
  To: kvm-devel

KVM fully uses all 4 CPUs.

1. You need to make sure KVM is activated (not Qemu).
2. You need to have the guest workload to be multi-threaded.

-- 
-Alexey Eremenko "Technologov"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can KVM use all cpu cores in a guest
  2008-03-07 16:31 ` Alexey Eremenko
@ 2008-03-14 14:28   ` Martin Maurer
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Maurer @ 2008-03-14 14:28 UTC (permalink / raw)
  To: Alexey Eremenko; +Cc: kvm-devel

Alexey Eremenko wrote:
> KVM fully uses all 4 CPUs.
>
> 1. You need to make sure KVM is activated (not Qemu).
> 2. You need to have the guest workload to be multi-threaded.
>
>   
Hi Alexey,

Thanks, I worked it out - I had an issue on the kernel and on my custom 
resource scheduling, now it is working with kernel 2.6.24 and the guest 
can use all 4 cpu´s. best regards,
martin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-14 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 14:24 can KVM use all cpu cores in a guest Martin Maurer
2008-03-07 16:31 ` Alexey Eremenko
2008-03-14 14:28   ` Martin Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox