lkml.org 
[lkml]   [2013]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[patch 0/4] blk-mq: use percpu_ida to manage tags
    Hi, blk-mq and percpu_ida use similar algorithm to manage tags. The difference
    is when a cpu can't allocate tags, blk-mq will use ipi to purge remote cpu
    cache, while percpu-ida directly purges remote cpu cache. In practice, the
    percpu-ida approach is much faster when we can't allocate enough for percpu
    cache.

    This patch makes blk-mq use percpu_ida to manage tags, this avoids some
    duplicate code and has better performance as I mentioned. To test the patches,
    rebase blk-mq tree to latest kernel first.

    Thanks,
    Shaohua


    \
     
     \ /
      Last update: 2013-10-11 09:41    [W:5.194 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site