diff options
author | Shaohua Li <shli@kernel.org> | 2013-10-15 09:05:01 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-10-25 11:55:59 +0100 |
commit | e26b53d0b287056646a0dffce8bc6b0f053f3823 (patch) | |
tree | 99f7f824f8123d441de534960fd85dda5d2e5385 /include/linux/types.h | |
parent | 098faf5805c80f951ce5e8b4a6842382ad793c38 (diff) | |
download | blackbird-obmc-linux-e26b53d0b287056646a0dffce8bc6b0f053f3823.tar.gz blackbird-obmc-linux-e26b53d0b287056646a0dffce8bc6b0f053f3823.zip |
percpu_ida: make percpu_ida percpu size/batch configurable
Make percpu_ida percpu size/batch configurable. The block-mq-tag will
use it.
After block-mq uses percpu_ida to manage tags, performance is improved.
My test is done in a 2 sockets machine, 12 process cross the 2 sockets.
So if there is lock contention or ipi, should be stressed heavily.
Testing is done for null-blk.
hw_queue_depth nopatch iops patch iops
64 ~800k/s ~1470k/s
2048 ~4470k/s ~4340k/s
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/types.h')
0 files changed, 0 insertions, 0 deletions