Hi, 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! -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 00/33] SG table chaining support
- From: "John Stoffel" <john@stoffel.org>
- Re: [PATCH 00/33] SG table chaining support
- From: FUJITA Tomonori <tomof@acm.org>
- Re: [PATCH 00/33] SG table chaining support
- From: FUJITA Tomonori <tomof@acm.org>
- [PATCH 05/33] Add chained sg support to linux/scatterlist.h
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 06/33] i386 dma_map_sg: convert to using sg helpers
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 07/33] i386: enable sg chaining
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 20/33] scsi generic: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 12/33] PPC: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 13/33] SPARC: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 17/33] ll_rw_blk: temporarily enable max_segments tweaking
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 16/33] SCSI: support for allocating large scatterlists
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 11/33] IA64: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 19/33] scsi_debug: support sg chaining
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 10/33] x86-64: enable sg chaining
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 14/33] SPARC64: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 15/33] scsi: simplify scsi_free_sgtable()
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 18/33] libata: convert to using sg helpers
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 21/33] qla1280: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 24/33] ide-scsi: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 23/33] qlogicpti: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 26/33] aha1542: convert to use the data buffer accessors
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 32/33] i2o: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 30/33] USB storage: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 27/33] advansys: convert to use the data buffer accessors
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 33/33] IDE: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 29/33] infiniband: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 22/33] aic94xx: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 28/33] ia64 simscsi: convert to use data buffer accessors
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 31/33] Fusion: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 25/33] gdth: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 08/33] swiotlb: sg chaining support
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 04/33] scsi: convert to using sg helpers
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 03/33] block: convert to using sg helpers
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 02/33] Add sg helpers for iterating over a scatterlist table
- From: Jens Axboe <jens.axboe@oracle.com>
- [PATCH 01/33] crypto: don't pollute the global namespace with sg_next()
- From: Jens Axboe <jens.axboe@oracle.com>
- Re: [PATCH 00/33] SG table chaining support
- Prev by Date: [PATCH 13/33] SPARC: sg chaining support
- Next by Date: [PATCH 12/33] PPC: sg chaining support
- Previous by thread: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll
- Next by thread: [PATCH 01/33] crypto: don't pollute the global namespace with sg_next()
- Index(es):
![]() |