For larger reach....... ---------- Forwarded message --------- From: Gk Gk <ygk.kmr at gmail.com> Date: Thu, Dec 22, 2022 at 8:35 AM Subject: Re: Need help To: Daniel P. Berrang? <berrange at redhat.com> Hi Daniel, Did you get a chance to check this out ? Please let me know.... On Wednesday, December 21, 2022, Gk Gk <ygk.kmr at gmail.com> wrote:> I have just created a new vm and rechecked the disk stats. This timearound too, they seem to be different as shown below:> From libvirt python library: > --- > disk_name=sdaread_req=10501,read_bytes=263819776,write_req=1933,write_bytes=82269184> --- > > So the write_bytes from above amounted to 78 MB approx. > But from within the vm : > --- > root at sample2:~# iostat -p sda -h > Linux 4.15.0-101-generic (sample2) 12/21/2022 _x86_64_ (1 CPU) > > avg-cpu: %user %nice %system %iowait %steal %idle > 1.9% 0.0% 1.3% 0.4% 0.0% 96.4% > > Device tps kB_read/s kB_wrtn/s kB_read kB_wrtn > sda > 40.45 643.6k 21.2M 217.5M 7.2G > sda1 > 40.04 637.6k 21.2M 215.5M 7.2G > ---- > 7.2 G is far from 78 MB. Am I doing wrong anywhere ? Btw, I did notreboot the new vm this time> > > > On Wed, Dec 21, 2022 at 9:30 PM Daniel P. Berrang? <berrange at redhat.com>wrote:>> >> On Wed, Dec 21, 2022 at 09:26:14PM +0530, Gk Gk wrote: >> > Thanks Daniel for the response. >> > >> > I am wondering what exactly is the difference in the process for asoft and>> > hard reboot in the context of a kvm guest ? Can you throw some lighthere>> > please ? >> >> KVM will always do a soft reboot, where QEMU keeps running. >> >> >> With regards, >> Daniel >> -- >> |: https://berrange.com -o-https://www.flickr.com/photos/dberrange :|>> |: https://libvirt.org -o-https://fstop138.berrange.com :|>> |: https://entangle-photo.org -o-https://www.instagram.com/dberrange :|>> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20221222/4ed44ab3/attachment.htm>