All of lore.kernel.org
 help / color / mirror / Atom feed
* blkback global resources
@ 2012-03-26 15:56 Jan Beulich
  2012-03-26 16:20 ` Ian Campbell
  0 siblings, 1 reply; 14+ messages in thread
From: Jan Beulich @ 2012-03-26 15:56 UTC (permalink / raw)
  To: xen-devel

All the resources allocated based on xen_blkif_reqs are global in
blkback. While (without having measured anything) I think that this
is bad from a QoS perspective (not the least implied from a warning
issued by Citrix'es multi-page-ring patches:

	if (blkif_reqs < BLK_RING_SIZE(order))
		printk(KERN_WARNING "WARNING: "
		       "I/O request space (%d reqs) < ring order %ld, "
		       "consider increasing %s.reqs to >= %ld.",
		       blkif_reqs, order, KBUILD_MODNAME,
		       roundup_pow_of_two(BLK_RING_SIZE(order)));

indicating that this _is_ a bottleneck), I'm otoh hesitant to convert
this to per-instance allocations, as the amount of memory taken
away from Dom0 for this may be not insignificant when there are
many devices.

Does anyone have an opinion here, in particular regarding the
original authors' decision to make this global vs. the apparently
made observation (by Daniel Stodden, the author of said patch,
who I don't have any current email of to ask directly), but also
in the context of multi-page rings, the purpose of which is to
allow for larger amounts of in-flight I/O?

Thanks, Jan

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <CB965278.2F50F%keir.xen@gmail.com>]

end of thread, other threads:[~2012-04-02  9:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 15:56 blkback global resources Jan Beulich
2012-03-26 16:20 ` Ian Campbell
2012-03-26 16:56   ` Konrad Rzeszutek Wilk
2012-03-26 20:47   ` Matt Wilson
2012-03-27  8:45     ` Ian Campbell
2012-03-27  9:41   ` Wei Liu
2012-03-27 10:22     ` Jan Beulich
2012-03-27 12:34       ` Wei Liu
2012-03-27 12:45         ` Jan Beulich
2012-03-27 13:01           ` Wei Liu
     [not found] <CB965278.2F50F%keir.xen@gmail.com>
     [not found] ` <1332780797.30244.159.camel@espiritosanto>
2012-03-27  7:27   ` Jan Beulich
2012-03-27  9:21     ` Wei Liu
2012-03-27 10:11       ` Jan Beulich
2012-04-02  9:56     ` Andrei Lifchits

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.