Re: RFC: I/O bandwidth controller
- From: David Collier-Brown <davecb@xxxxxxx>
- Date: Thu, 14 Aug 2008 07:18:13 -0400
Andrea Righi wrote:
A more complicated issue is how to evaluate the total IO bandwidth of a
generic device. We can use some kind of averaging/prediction, but
basically it would be inaccurate due to the mechanic of disks (head
seeks, but also caching, buffering mechanisms implemented directly into
the device, etc.). It's a hard problem. And the same problem exists also
for proportional bandwidth as well, in terms of IO rate predictability I
mean.
Actually it's a little-known easy problem.
The capacity planning community does it all the time, but then describes
it in terms that are only interesting (intelligible?) to an enthusiastic
amateur mathematician (;-))
One finds the point, called N*, at which the throughput flattens
out and and the response time starts to grow without bounds, and
calls that level the maximum.
In practice, one does an easier variant. One sets a response-time limit and throttles *everyone* proportionally when th disk starts to regularly degrade beyond the limit. Interestingly, because we're slowing the application to prevent slowing the disks, the value we pick needn't be terribly precise. It also doesn't require any pre-
knowledge about the disks.
Send me a note if you want to discuss this in more detail.
--dave
--
David Collier-Brown | Always do right. This will gratify
Sun Microsystems, Toronto | some people and astonish the rest
davecb@xxxxxxx | -- Mark Twain
cell: (647) 833-9377, bridge: (877) 385-4099 code: 506 9191#
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: RFC: I/O bandwidth controller (was Re: Too many I/O controller patches)
- From: Fernando Luis Vázquez Cao
- Re: RFC: I/O bandwidth controller (was Re: Too many I/O controller patches)
- From: Andrea Righi
- Re: RFC: I/O bandwidth controller
- From: Hirokazu Takahashi
- Re: RFC: I/O bandwidth controller
- From: Andrea Righi
- Re: RFC: I/O bandwidth controller (was Re: Too many I/O controller patches)
- Prev by Date: PM_TRACE is no longer experimental
- Next by Date: Re: [RFC PATCH] x86 alternatives : fix LOCK_PREFIX race with preemptible kernel and CPU hotplug
- Previous by thread: Re: RFC: I/O bandwidth controller
- Next by thread: Re: RFC: I/O bandwidth controller
- Index(es):