qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] (iSCSI-)Readcache in Qemu?


From: Paolo Bonzini
Subject: Re: [Qemu-devel] (iSCSI-)Readcache in Qemu?
Date: Fri, 22 Feb 2013 14:07:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 22/02/2013 13:58, Peter Lieven ha scritto:
> Actually this is a great advantage as it always was a lot of hassle to prevent
> udev from scanning iscsi devices that popped up and maintain all that
> scripting around open-iscsi that was necessary. With libiscsi its much 
> smarter.
> 
> As for caching I actually use write back if the flushes are supported by the 
> drivers.
> With libiscsi I know that a write command succeeds only if it has been 
> successfully
> transferred to the storage (which has battery backup).
> 
> My question was mainly arising from brain storming with some colleagues if a 
> read
> cache could help spare some read IOPS.
> 
> I was thinking if there is an already available library that could be used 
> for this purpose (sth like
> libmemcached)

Ah, so you want a write-through cache in QEMU, and a write-back cache in
the storage.  I can see an advantage over the host page cache is in
migration, because it is easy to invalidate the cache.  With qcow2, it
could help if you have small guests and storage with shared backing
files.  But with SAN as the backend, and all provisioning done there,
I'm not sure.

Perhaps switching to something like gluster would have similar benefits.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]