If you are looking at load averages, keep in mind that represents the
average number of processes in run state. If you've only given the guest
one
core, then it can have three processes in run state but that's only one
process
in run state on the host. So the load averages will be higher on the guest in
that instance if there is no other load on the host.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
Knowledgable human assistance, not telephone trees or script readers.
See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Sat, 21 Jul 2012, Markus Falb wrote:
> Date: Sat, 21 Jul 2012 14:40:33 +0200
> From: Markus Falb <markus.falb at fasel.at>
> Reply-To: Discussion about the virtualization on CentOS
<centos-virt at centos.org>> To: centos-virt at centos.org
> Subject: [CentOS-virt] top on host and guest
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> I have a 6.3 guest running on a 6.3 host and the output from top seems
> strange to me. At least I did not expect this.
>
> While in the guest on core is busy with i/o the host seems idle.
> Does anyone know why it is this way?
>
> See the output from top below, first the one from guest, then host.
>
> top - 14:12:35 up 12 min, 1 user, load average: 2.76, 2.28, 1.24
> Tasks: 169 total, 1 running, 168 sleeping, 0 stopped, 0 zombie
> Cpu0 : 0.3%us, 0.7%sy, 0.0%ni, 0.0%id, 99.0%wa, 0.0%hi, 0.0%si,
> Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si,
> Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si,
> Cpu3 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si,
>
> top - 14:14:28 up 15 min, 1 user, load average: 0.79, 0.84, 0.50
> Tasks: 238 total, 2 running, 236 sleeping, 0 stopped, 0 zombie
> Cpu0 : 5.7%us, 1.0%sy, 0.0%ni, 93.3%id, 0.0%wa, 0.0%hi, 0.0%si,
> Cpu1 : 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si,
> Cpu2 : 0.7%us, 1.0%sy, 0.0%ni, 98.3%id, 0.0%wa, 0.0%hi, 0.0%si,
> Cpu3 : 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si,
> Cpu4 : 3.0%us, 0.7%sy, 0.0%ni, 96.4%id, 0.0%wa, 0.0%hi, 0.0%si,
> Cpu5 : 0.0%us, 0.7%sy, 0.0%ni, 98.3%id, 0.0%wa, 0.0%hi, 1.0%si,
> Cpu6 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si,
> Cpu7 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si,
>
> - --
> Kind Regards, Markus Falb
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlAKo0EACgkQYoWFBIJE9eViHwCgv62wNVrVOMFVikZmlsWdq0p3
> TuYAn2hlEjJRd+1VE50qGr9X9Pd/JFwo
> =fRax
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
>