[CentOS-virt] (no subject)

2012-12-07 Thread Shawn Everett
Hi All,

I have recently installed CentOS 6.3 with QEMU+KVM for Virtualization.

I have successfully created a Windows 2003 VM with 4GB of RAM.  The host
server is an HP ML350 G8 with 24GB RAM and 24 cores.  Details of one of
the cores is shown below:

processor   : 23
vendor_id   : GenuineIntel
cpu family  : 6
model   : 45
model name  : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
stepping: 7
cpu MHz : 1200.000
cache size  : 15360 KB
physical id : 1
siblings: 12
core id : 5
cpu cores   : 6
apicid  : 43
initial apicid  : 43
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology
nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2
ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm
ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 3989.86
clflush size: 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

On an otherwise completely idle system I've noticed the load to be 1.0 to
1.5 range.  Running top shows the culprit to be: qemu-kvm.

Is this normal behavior?  I would have expected the load to be pretty light.

Stopping the VM restores the load to normal once again.

Is there anything I can do to reduce the load?

Shawn

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] (no subject)

2012-12-07 Thread Scott Dowdle
Shawn,

- Original Message -
 On an otherwise completely idle system I've noticed the load to be
 1.0 to 1.5 range.  Running top shows the culprit to be: qemu-kvm.
 
 Is this normal behavior?  I would have expected the load to be pretty
 light.

You have to remember, or at least as I understand it, that a load of 1 is full 
for a single CPU/core.  Since you have 24, a full load would be 24.

Linux gets even weirder with more cores.  I have one system that has 64 
cores... and it has a lot of threads/process running just to support those.

Another thing that uses quite a bit of CPU is ksm.  If you don't have a number 
of similar VMs then I don't think it is very helpful... and it seems to eat up 
quite a bit of CPU resources trying to be helpful.

Ok, now the uber-CentOS geeks can tell me how stupid I am. Mmmm... go.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] (no subject)

2012-12-07 Thread Robert Dinse

 About the only thing you can do is not run Windows, or at least that
version, XP does the same thing, continuouslys spins the CPU when there aren't
any user processes using time.  I've heard this is resolved in Windows-7 but
haven't tried it personally.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Fri, 7 Dec 2012, Shawn Everett wrote:

 Date: Fri, 7 Dec 2012 12:02:14 -0800
 From: Shawn Everett sh...@tandac.com
 Reply-To: Discussion about the virtualization on CentOS
centos-virt@centos.org
 To: centos-virt@centos.org
 Subject: [CentOS-virt] (no subject)
 
 Hi All,
 
 I have recently installed CentOS 6.3 with QEMU+KVM for Virtualization.
 
 I have successfully created a Windows 2003 VM with 4GB of RAM.  The host
 server is an HP ML350 G8 with 24GB RAM and 24 cores.  Details of one of
 the cores is shown below:
 
 processor   : 23
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 45
 model name  : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
 stepping: 7
 cpu MHz : 1200.000
 cache size  : 15360 KB
 physical id : 1
 siblings: 12
 core id : 5
 cpu cores   : 6
 apicid  : 43
 initial apicid  : 43
 fpu : yes
 fpu_exception   : yes
 cpuid level : 13
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
 pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology
 nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2
 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm
 ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
 bogomips: 3989.86
 clflush size: 64
 cache_alignment : 64
 address sizes   : 46 bits physical, 48 bits virtual
 power management:
 
 On an otherwise completely idle system I've noticed the load to be 1.0 to
 1.5 range.  Running top shows the culprit to be: qemu-kvm.
 
 Is this normal behavior?  I would have expected the load to be pretty light.
 
 Stopping the VM restores the load to normal once again.
 
 Is there anything I can do to reduce the load?
 
 Shawn
 
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] High CPU Usage

2012-12-07 Thread Shawn Everett
Hi All,

I have recently installed CentOS 6.3 with QEMU+KVM for Virtualization.

 I have successfully created a Windows 2003 VM with 4GB of RAM.  The host
 server is an HP ML350 G8 with 24GB RAM and 24 cores.  Details of one of
 the cores is shown below:

 processor   : 23
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 45
 model name  : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
 stepping: 7
 cpu MHz : 1200.000
 cache size  : 15360 KB
 physical id : 1
 siblings: 12
 core id : 5
 cpu cores   : 6
 apicid  : 43
 initial apicid  : 43
 fpu : yes
 fpu_exception   : yes
 cpuid level : 13
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
 pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology
 nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2
 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm
 ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
 bogomips: 3989.86
 clflush size: 64
 cache_alignment : 64
 address sizes   : 46 bits physical, 48 bits virtual
 power management:

 On an otherwise completely idle system I've noticed the load to be 1.0 to
 1.5 range.  Running top shows the culprit to be: qemu-kvm.

 Is this normal behavior?  I would have expected the load to be pretty
 light.

 Stopping the VM restores the load to normal once again.

 Is there anything I can do to reduce the load?

 Shawn



___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] High CPU Usage

2012-12-07 Thread Dennis Jacobfeuerborn
On 12/07/2012 10:04 PM, Shawn Everett wrote:
 Hi All,
 
 I have recently installed CentOS 6.3 with QEMU+KVM for Virtualization.
 
  I have successfully created a Windows 2003 VM with 4GB of RAM.  The host
  server is an HP ML350 G8 with 24GB RAM and 24 cores.  Details of one of
  the cores is shown below:
 
  processor   : 23
  vendor_id   : GenuineIntel
  cpu family  : 6
  model   : 45
  model name  : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
  stepping: 7
  cpu MHz : 1200.000
  cache size  : 15360 KB
  physical id : 1
  siblings: 12
  core id : 5
  cpu cores   : 6
  apicid  : 43
  initial apicid  : 43
  fpu : yes
  fpu_exception   : yes
  cpuid level : 13
  wp  : yes
  flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
  cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
  pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology
  nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2
  ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm
  ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
  bogomips: 3989.86
  clflush size: 64
  cache_alignment : 64
  address sizes   : 46 bits physical, 48 bits virtual
  power management:
 
  On an otherwise completely idle system I've noticed the load to be 1.0 to
  1.5 range.  Running top shows the culprit to be: qemu-kvm.
 
  Is this normal behavior?  I would have expected the load to be pretty
  light.
 
  Stopping the VM restores the load to normal once again.
 
  Is there anything I can do to reduce the load?

You probably have 12 cores and thanks to hyper-threading that gives you 24
threads (big difference).
Have you installed the virtio drivers in the VM? That might reduce the load
a bit. Also was does running vmstat 3 for about 20 seconds show?

Regards,
  Dennis

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] (no subject)

2012-12-07 Thread Zoltan Frombach
I've also heard that older versions of Windows don't put the CPU to 
idle mode even when there is nothing to do. It is a known problem with 
older Windows kernels.

Anyway, try to install the latest virtio drivers for Windows if you 
don't already have.

On 12/7/2012 9:18 PM, Robert Dinse wrote:
   About the only thing you can do is not run Windows, or at least that
 version, XP does the same thing, continuouslys spins the CPU when there aren't
 any user processes using time.  I've heard this is resolved in Windows-7 but
 haven't tried it personally.

 -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
   Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
 Knowledgeable human assistance, not telephone trees or script readers.
   See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

 On Fri, 7 Dec 2012, Shawn Everett wrote:

 Date: Fri, 7 Dec 2012 12:02:14 -0800
 From: Shawn Everett sh...@tandac.com
 Reply-To: Discussion about the virtualization on CentOS
  centos-virt@centos.org
 To: centos-virt@centos.org
 Subject: [CentOS-virt] (no subject)

 Hi All,

 I have recently installed CentOS 6.3 with QEMU+KVM for Virtualization.

 I have successfully created a Windows 2003 VM with 4GB of RAM.  The host
 server is an HP ML350 G8 with 24GB RAM and 24 cores.  Details of one of
 the cores is shown below:

 processor   : 23
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 45
 model name  : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
 stepping: 7
 cpu MHz : 1200.000
 cache size  : 15360 KB
 physical id : 1
 siblings: 12
 core id : 5
 cpu cores   : 6
 apicid  : 43
 initial apicid  : 43
 fpu : yes
 fpu_exception   : yes
 cpuid level : 13
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
 pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology
 nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2
 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm
 ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
 bogomips: 3989.86
 clflush size: 64
 cache_alignment : 64
 address sizes   : 46 bits physical, 48 bits virtual
 power management:

 On an otherwise completely idle system I've noticed the load to be 1.0 to
 1.5 range.  Running top shows the culprit to be: qemu-kvm.

 Is this normal behavior?  I would have expected the load to be pretty light.

 Stopping the VM restores the load to normal once again.

 Is there anything I can do to reduce the load?

 Shawn

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt