Re: .img on nfs, relative on ram, consuming mass ram

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heres my benches, done in two days so dates are weird and results are very approximative.
What surprises me are in the Part 2, swap occured.
In 3 and 4, the ram is eaten up, even if the vm just booted.

------------------------------------
Part 0

End of boot :

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840     500836    1556004          0       2244     359504
-/+ buffers/cache:     139088    1917752
Swap:      3903784          0    3903784

------------------------------------

Part 1

qemu-system-x86_64 -m 1024 -vga std -usb -usbdevice tablet -localtime -soundhw es1370 -name qlio -drive file=/mnt/hd/sda/sda1/tmp/relqlio.img,cache=none

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840    1656280     400560          0      34884     378332
-/+ buffers/cache:    1243064     813776
Swap:      3903784          0    3903784

bash-3.1$ ls -lsa /mnt/hd/sda/sda1/tmp/relqlio.img
58946 -rw-r--r-- 1 ftournier info 60424192 2010-09-16 17:49 /mnt/hd/sda/sda1/tmp/relqlio.img

650M download inside the vm

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840    1677648     379192          0      33860     397716
-/+ buffers/cache:    1246072     810768
Swap:      3903784          0    3903784

bash-3.1$ ls -lsa /mnt/hd/sda/sda1/tmp/relqlio.img
914564 -rw-r--r-- 1 ftournier info 935723008 2010-09-20 14:07 /mnt/hd/sda/sda1/tmp/relqlio.img

------------------------------------

Part 2

reboot

qemu-system-x86_64 -m 1024 -vga std -usb -usbdevice tablet -localtime -soundhw es1370 -name qlio -drive file=/mnt/hd/sda/sda1/tmp/relqlio.img

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840    2040172      16668          0      32952     758948
-/+ buffers/cache:    1248272     808568
Swap:      3903784          0    3903784

bash-3.1$ ls -lsa /mnt/hd/sda/sda1/tmp/relqlio.img
60739 -rw-r--r-- 1 ftournier info 62259200 2010-09-16 17:57 /mnt/hd/sda/sda1/tmp/relqlio.img

650M download inside the vm

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840    2040540      16300          0      34412     765208
-/+ buffers/cache:    1240920     815920
Swap:      3903784       8160    3895624

bash-3.1$ ls -lsa /mnt/hd/sda/sda1/tmp/relqlio.img
842430 -rw-r--r-- 1 ftournier info 861929472 2010-09-20 14:20 /mnt/hd/sda/sda1/tmp/relqlio.img

------------------------------------

Part 3

reboot

qemu-system-x86_64 -m 1024 -vga std -usb -usbdevice tablet -localtime -soundhw es1370 -name qlio -drive file=/tmp/relqlio.img

note : /tmp is a tmpfs filesystem

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840    2009688      47152          0        248     766328
-/+ buffers/cache:    1243112     813728
Swap:      3903784          0    3903784

bash-3.1$ ls -lsa /tmp/relqlio.img
59848 -rw-r--r-- 1 ftournier info 61407232 2010-09-16 18:04 /tmp/relqlio.img

650M download inside the vm

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840    2041404      15436          0        128     921276
-/+ buffers/cache:    1120000     936840
Swap:      3903784     248804    3654980

bash-3.1$ ls -lsa /tmp/relqlio.img
885448 -rw-r--r-- 1 ftournier info 906821632 2010-09-20 14:40 /tmp/relqlio.img

------------------------------------

Part 4

reboot

qemu-system-x86_64 -m 1024 -vga std -usb -usbdevice tablet -localtime -soundhw es1370 -name qlio -drive file=/dev/shm/relqlio.img

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840    2009980      46860          0        172     767328
-/+ buffers/cache:    1242480     814360
Swap:      3903784          0    3903784

bash-3.1$ ls -lsa /dev/shm/relqlio.img
58496 -rw-r--r-- 1 ftournier info 59899904 2010-09-16 18:11 /dev/shm/relqlio.img

650M download inside the vm

bash-3.1$ free
             total       used       free     shared    buffers     cached
Mem:       2056840    2041576      15264          0         92     938976
-/+ buffers/cache:    1102508     954332
Swap:      3903784     266232    3637552

bash-3.1$ ls -lsa /dev/shm/relqlio.img
1016912 -rw-r--r-- 1 ftournier info 1039400960 2010-09-20 15:15 /dev/shm/relqlio.img
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux