Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110460
b: refs/heads/master
c: 6a421c1
h: refs/heads/master
v: v3
  • Loading branch information
Aaron Carroll authored and Jens Axboe committed Oct 9, 2008
1 parent 31c84aa commit e9cfce0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4fb72f7646e86874eb2798256eaa6bf3fbe4edcf
refs/heads/master: 6a421c1dc94b12923294a359822346f12492de5e
14 changes: 10 additions & 4 deletions trunk/Documentation/block/deadline-iosched.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,18 @@ write_expire (in ms)
Similar to read_expire mentioned above, but for writes.


fifo_batch
fifo_batch (number of requests)
----------

When a read request expires its deadline, we must move some requests from
the sorted io scheduler list to the block device dispatch queue. fifo_batch
controls how many requests we move.
Requests are grouped into ``batches'' of a particular data direction (read or
write) which are serviced in increasing sector order. To limit extra seeking,
deadline expiries are only checked between batches. fifo_batch controls the
maximum number of requests per batch.

This parameter tunes the balance between per-request latency and aggregate
throughput. When low latency is the primary concern, smaller is better (where
a value of 1 yields first-come first-served behaviour). Increasing fifo_batch
generally improves throughput, at the cost of latency variation.


writes_starved (number of dispatches)
Expand Down

0 comments on commit e9cfce0

Please sign in to comment.