• Jens Axboe's avatar
    [PATCH] arrange request fiels sanely · 3fddff46
    Jens Axboe authored
    Right now, various fields in struct request are just scattered
    throughout the struct. This makes for bad cache behaviour. This patch
    puts commonly referenced together fiels in the same cache lines and also
    removes the prefetches in deadline_merge(). The latter was actually
    hurting performance here now that struct request is sanely laid out wrt
    cache.
    
    This is worth ~40% less deadline_merge() runtime during disk intensive
    tests!
    3fddff46
deadline-iosched.c 13.9 KB