xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* blkback disk I/O limit patch
@ 2013-01-31  5:12 Vasiliy Tolstov
  2013-01-31  5:14 ` Vasiliy Tolstov
  2013-02-05 15:37 ` Alex Bligh
  0 siblings, 2 replies; 11+ messages in thread
From: Vasiliy Tolstov @ 2013-01-31  5:12 UTC (permalink / raw)
  To: xen-devel

Hello. For own needs i'm write simple blkback disk i/o limit patch,
that can limit disk i/o based on iops. I need xen based iops shaper
because of own storage architecture.
Our storages node provide disks via scst over infiniband network.
On xen nodes we via srp attach this disks. Each xen connects to 2
storages in same time and multipath provide failover.

Each disk contains LVM (not CLVM), for each virtual machine we create
PV disk. And via device mapper raid1 we create disk, used for domU. In
this case if one node failed VM works fine with one disk in raid1.

All works greate, but in this setup we can't use cgroups and dm-ioband.
Some times ago CFQ disk scheduler top working with BIO devices and
provide control only on buttom layer. (In our case we can use CFQ only
on srp disk, and shape i/o only for all clients on xen node).
dm-ioband work's unstable when the some domU have massive i/o (our
tests says that if domU have ext4 and have 20000 iops sometimes dom0
crashed, or disk coccupted. And with dm-ioband if one storage node
down sometimes we miss some data from disk. And dm-ioband can't
provide on the fly control of iops.

This patch tryes to solve own problems. May someone from xen team look
at it and says how code looks? What i need to change/rewrite? May be
sometime this can be used in main linux xen tree... (i hope).
This patch is only for phy devices. For blktap devices i speak with
Thanos Makatos (author of blktap3) and may be in future this
functionality may be added to blktap3..

Thank You.

--
Vasiliy Tolstov,
Clodo.ru
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-02-05 18:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31  5:12 blkback disk I/O limit patch Vasiliy Tolstov
2013-01-31  5:14 ` Vasiliy Tolstov
2013-01-31 18:05   ` Wei Liu
2013-02-01  6:53     ` Vasiliy Tolstov
2013-02-01 14:42       ` Konrad Rzeszutek Wilk
2013-02-05 13:14         ` [PATCH 1/1] drivers/block/xen-blkback: Limit blkback i/o Vasiliy Tolstov
2013-02-05 13:17         ` blkback disk I/O limit patch Vasiliy Tolstov
2013-02-01 10:59   ` Vasiliy Tolstov
2013-02-05 15:37 ` Alex Bligh
2013-02-05 16:36   ` Vasiliy Tolstov
2013-02-05 18:01     ` Alex Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).