LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03:13 PM   #1
RickCheung
LQ Newbie
 
Registered: Oct 2012
Posts: 14

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, 05:15 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
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, 08:25 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

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


Reply



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 05:45 AM
[SOLVED] vCPU change in VM is not dedected in RHEL 4.8 getraj.12 Red Hat 4 10-31-2012 04:18 PM
[SOLVED] a guestOS process occupies VCPU at any given time? MeNok Linux - Virtualization and Cloud 3 07-31-2012 02:23 AM
xm vcpu-set domain-name vcpus-count karthickk02 Linux - Virtualization and Cloud 2 03-01-2011 06: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 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration