From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Subject: Re: [PATCH RFC 3/3] virtio infrastructure: example block driver Date: Mon, 04 Jun 2007 15:40:26 +0200 Message-ID: <4664164A.40604@de.ibm.com> References: <1180613947.11133.58.camel@localhost.localdomain> <1180614044.11133.61.camel@localhost.localdomain> <1180614091.11133.63.camel@localhost.localdomain> <465EC637.7020504@de.ibm.com> <1180654765.10999.6.camel@localhost.localdomain> <465FC65C.6020905@de.ibm.com> <20070601131315.GW32105@kernel.dk> Reply-To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Jimi Xenidis , Stephen Rothwell , Xen Mailing List , "jmk-zzFmDc4TPjtKvsKVC3L/VUEOCMrvLtNR@public.gmane.org" , Herbert Xu , carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, mschwid2-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, virtualization , kvm-devel , Suzanne McIntosh , Christian Borntraeger To: Jens Axboe Return-path: In-Reply-To: <20070601131315.GW32105-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Jens Axboe wrote: > On Fri, Jun 01 2007, Carsten Otte wrote: >> With regard to compute power needed, almost none. The penalty is >> latency, not overhead: A small request may sit on the request queue to >> wait for other work to arrive until the queue gets unplugged. This >> penality is compensated by the benefit of a good chance that more >> requests will be merged during this time period. >> If we have this method both in host and guest, we have twice the >> penalty with no added benefit. > > I don't buy that argument. We can easily expose the unplug delay, so you > can kill it at what ever level you want. Or you could just do it in the > driver right now, but that is a bit hackish. That would be preferable if the device driver can chose the unplug delay, or even better it could be (guest)sysfs tuneable. so long, Carsten ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/