|| ||Jens Axboe <email@example.com>|
|| ||firstname.lastname@example.org, email@example.com|
|| ||[PATCH 00/33] SG table chaining support|
|| ||Mon, 16 Jul 2007 11:47:14 +0200|
A repost of this patchset, which adds support forchaining of sg tables.
This enables much larger IO commands, since we don't have to allocate
large consecutive pieces of memory to represent the sgtable of a
huge command. Right now Linux is limited to somewhere between 128 and 256
segments, depending on the architecture. This translates into at most
512k-1mb request sizes. With this patchset, I've successfully pushed
10MiB commands through the IO stack.
This will potentially increase performance a lot on hardware that
requires larger IO commands to perform at their maximum.
Also see http://marc.info/?l=linux-kernel&m=117869783524152
To enable large IO commands for device sda, you would do:
# cd /sys/block/sda/queue
# echo 4096 > max_segments
# cat max_hw_sectors_kb > max_sectors_kb
cat max_hw_sectors_kb to see what your largest IO size would now be.
Changes since last post:
- Rebase to current -git. Lots of SCSI drivers have been converted
to use the sg accessor helpers, which nicely shrinks this patchset
from 70 to 33 patches. Great!
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html