From: Shaohua Li Date: Tue, 15 Oct 2013 01:05:01 +0000 (+0800) Subject: percpu_ida: make percpu_ida percpu size/batch configurable X-Git-Tag: v3.13-rc1~101^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e26b53d0b287056646a0dffce8bc6b0f053f3823;p=pandora-kernel.git 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 Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed