Re: RFC: I/O bandwidth controller



James.Smart@xxxxxxxxxx wrote:
Fernando Luis Vázquez Cao wrote:
BTW as I said in a previous email, an interesting path to
be explored
IMHO could be to think in terms of IO time. So, look at the
time an IO
request is issued to the drive, look at the time the
request is served,
evaluate the difference and charge the consumed IO time to the
appropriate cgroup. Then dispatch IO requests in function of the
consumed IO time debts / credits, using for example a token-bucket
strategy. And probably the best place to implement the IO time
accounting is the elevator.
Please note that the seek time for a specific IO request is strongly
correlated with the IO requests that preceded it, which means that the
owner of that request is not the only one to blame if it
takes too long
to process it. In other words, with the algorithm you propose
we may end
up charging the wrong guy.

I assume all of these discussions are focused on simple storage - disks
direct attached to a single server - and are not targeted at SANs with
arrays, multi-initiator accesses, and fabric/network impacts. True ?
Such algorithms can be seriously off-base in these latter configurations.

Accounting the IO cost using time values should be in principle a
topology-agnostic solution, so it should work both for LUs from SAN,
magnetic disks, USB drive, optical drives, etc. because we're actually
looking at the time spent to execute each IO operation (and you don't
need to know the details of the particular IO operation, because you
automatically know the actual cost).

If you mean that trying to evaluate or even predict the cost of the seek
ops is so meaningful in those "complex" environments, well.. yes, in
this case I agree.

-Andrea
--
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/



Relevant Pages

  • Re: email regarding tutoring and lessons
    ... total amount for an hour each for the total month of septs. ... to quote a cost. ... At least your request almost made it sound legitimate, ... child would be coming for one hour a day, driven and picked up by someone, ...
    (rec.music.classical.guitar)
  • Re: When to check the return value of malloc
    ... A request for 100MB succeeds, what's the probability that a request for 100 ... bytes fails? ... Maintenance cost for a program using xmalloc() instead of a handling ...
    (comp.lang.c)
  • Re: Free internet components for developers
    ... Second request ... cost. ... With any reasonably active website, ... Anyway, even if i'm not familiar with internal processing of servers, ...
    (comp.lang.php)
  • Re: butler-sloss off diana/dodi inquest....
    ... ministers take to consider a request, and aggregating the cost of requests ... the private member's bill *sponsored by the Tory chief whip* that ...
    (uk.politics.misc)
  • Re: butler-sloss off diana/dodi inquest....
    ... ministers take to consider a request, and aggregating the cost of requests ... private member's bill from being passed last friday, ...
    (uk.politics.misc)