Re: the perfomance of lxc is not better than kvm+virtio

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

 



On 09/06/2012 06:01 PM, cmcc.dylan wrote:
> 
> 
>> >2. 596 and even 700MB/sec makes me think you measure not real disk I/O, but memory (cache).
> i'm also think this is a results due to cache, for example page cache in the host os. Do you have some ideas bypassing memory cache?
> 
> 
Check your kvm command line. IIRC, KVM has a fully-cached mode of
operation. Writes to guest "disk" will not actually reach the disk for a
while. While this is nice, this is an unfair comparison from a benchmark
PoV, because of you are, of course, trading away a bit of your
data-safety. It is still safe against guest power-off, but not
necessarily against host power-off. Also, since there is no magic, this
can hurt you in very dense scenarios.

The "-drive" parameter will probably have a "cache" specifier, which is
what you are looking for.


_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux