Skip to content
Snippets Groups Projects
  • Nicholas Piggin's avatar
    e1bb5782
    fs: prefetch inode data in dcache lookup · e1bb5782
    Nicholas Piggin authored
    
    This makes single threaded git diff -1.25% +/- 0.05% elapsed time on my
    2s12c24t Westmere system, and -0.86% +/- 0.05% on my 2s8c Barcelona, by
    prefetching the important first cacheline of the inode in while we do the
    actual name compare and other operations on the dentry.
    
    There was no measurable slowdown in the single file stat case, or the creat
    case (where negative dentries would be common).
    
    Signed-off-by: default avatarNick Piggin <npiggin@kernel.dk>
    e1bb5782
    History
    fs: prefetch inode data in dcache lookup
    Nicholas Piggin authored
    
    This makes single threaded git diff -1.25% +/- 0.05% elapsed time on my
    2s12c24t Westmere system, and -0.86% +/- 0.05% on my 2s8c Barcelona, by
    prefetching the important first cacheline of the inode in while we do the
    actual name compare and other operations on the dentry.
    
    There was no measurable slowdown in the single file stat case, or the creat
    case (where negative dentries would be common).
    
    Signed-off-by: default avatarNick Piggin <npiggin@kernel.dk>