On Fri, Jul 03, 2009 at 08:06:07AM -0500, Javier Guerra wrote:again, on the DRBD secondary, _all_ IO is naturally submitted by _one_ thread (the receiver thread), appart from just a few "internally" generated writes, which have to happen from a second thread, the (one) drbd worker thread. no, we do not do thread pooling (yet). the elevator of the lower level block device (in this case, the kvm virtual block device, or the host real block device) is responsible for merging requests adjacent in block address space. you have to choose a sensible elevator there. please do use deadline IO scheduler on the host. please do use deadline IO scheduler on the host. if you really think you have reason to use cfq, just _try_ deadline anyways. or upgrade to a 2.6.30 or 2.6.31 kernel, where cfq should finally be usable for many IO requests of one thread (receiver) depending on single synchronous IO from an other thread (drbd meta data updates from worker). but using cfq on kernel < 2.6.30 for this access pattern introduces unneccessary latency of "idle-wait" (in the range of ms!) for those meta data updates. so, on kernel < 2.6.30, please do use deadline IO scheduler. ok? ;) and if performance then still sucks, we can talk further about why this may be. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. __ please don't Cc me, but send to list -- I'm subscribed -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Radu Rendec | htb parallelism on multi-core platforms |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
