[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200806201611.m5KGBDN02249@inv.it.uc3m.es>
Date: Fri, 20 Jun 2008 18:11:13 +0200 (MET DST)
From: "Peter T. Breuer" <ptb@....it.uc3m.es>
To: "linux kernel" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] i/o bandwidth controller documentation
> + Block device I/O bandwidth controller
How can this work? You will limit the number of available buffer heads
per second?
Unfortunaely, the problem is the fs above the block device. If the
block device is artificially slowed then the fs will still happily allow
a process to fill buffers forever until memory is full, while the block
device continues to trickle the buffers away.
What one wants is for the fs buffering to be linked to the underlying
block device i/o speed. One wants the rate at which fs buffers are
filled to be no more than (modulu brief spurts) the rate at which the
device operates.
That way networked block devices have a chance of having some memory
left to send the dirty buffers out to the net with. B/w limiting the
device itself doesn't seem to me to do any good.
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists