summaryrefslogtreecommitdiffstats
path: root/mm/fadvise.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-05-09 21:41:15 +0200
committerJens Axboe <axboe@fb.com>2014-05-09 21:41:15 +0200
commit59d13bf5f57ded658c872fa22276f75ab8f12841 (patch)
treeea3b3bf9395c01a5443c2e01874837a19d6e4c62 /mm/fadvise.c
parentblk-mq: implement new and more efficient tagging scheme (diff)
downloadlinux-59d13bf5f57ded658c872fa22276f75ab8f12841.tar.xz
linux-59d13bf5f57ded658c872fa22276f75ab8f12841.zip
blk-mq: use sparser tag layout for lower queue depth
For best performance, spreading tags over multiple cachelines makes the tagging more efficient on multicore systems. But since we have 8 * sizeof(unsigned long) tags per cacheline, we don't always get a nice spread. Attempt to spread the tags over at least 4 cachelines, using fewer number of bits per unsigned long if we have to. This improves tagging performance in setups with 32-128 tags. For higher depths, the spread is the same as before (BITS_PER_LONG tags per cacheline). Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions