lkml.org 
[lkml]   [2010]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Proposal: Use hi-res clock for file timestamps
    On Wed, Aug 18, 2010 at 07:50:40PM +0200, Andi Kleen wrote:
    > > - nfsd updates it whenever it reads an mtime out of an inode that matches
    > > current_fs_time to the granularity of 1/HZ.
    >
    > That means you have a very very hot cache line on a larger system
    > if there are a lot of mtime changes. Probably a bad idea.

    Only if those mtime changes are also followed immediately by nfsd reads
    of the mtime.

    That will be the typical case for nfsd writes, though.

    --b.


    \
     
     \ /
      Last update: 2010-08-19 00:25    [W:4.078 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site