LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 03-20-2013, 04:13 PM   #1
RickCheung
LQ Newbie
 
Registered: Oct 2012
Posts: 13

Rep: Reputation: Disabled
Why one VCPU is 100% while the other one is 0%


When I assign two VCPUs for a VM, and then run some CPU intensive applications in that VM,it always turns out that utilization of one of the VCPUs will be 100% while that of the other's is nearly 0%.
Can anybody explain why it works like this?
Thank you.
 
Old 03-20-2013, 06:15 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Maybe the task you are running is not multi-threaded ? I'm assuming the vm OS can see 2 cpu's ?
 
Old 03-21-2013, 09:25 AM   #3
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,423

Rep: Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158Reputation: 1158
Also, is the host operating-system a multiprocessor build? Do you ever see the second VCPU being utilized?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What does '---' mean in 'xm vcpu-list'? RickCheung Linux - Virtualization and Cloud 0 12-15-2012 06:45 AM
[SOLVED] vCPU change in VM is not dedected in RHEL 4.8 getraj.12@gmail.com Red Hat 4 10-31-2012 05:18 PM
[SOLVED] a guestOS process occupies VCPU at any given time? MeNok Linux - Virtualization and Cloud 3 07-31-2012 03:23 AM
xm vcpu-set domain-name vcpus-count karthickk02 Linux - Virtualization and Cloud 2 03-01-2011 07:35 AM
Xircom CreditCard 10/100 CE3-10/100 driver not loaded under FEDORA or RHEL androphag Linux - Laptop and Netbook 1 02-06-2005 02:35 AM


All times are GMT -5. The time now is 10:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration