[linux-cifs-client] [PATCH] cifs: implement drop_inode superblock op

Scott Lovenberg scott.lovenberg at gmail.com
Wed May 26 17:19:11 MDT 2010


>> Any rough idea of performance or memory savings (even in something
>> artificial like dbench run)?
>>
>>      
> It's more of a memory savings thing. When I mount with -o noserverino
> and run fsstress on the mount, I'd regularly see the size of the
> cifs_inode_cache hit 60M or more (on a client with 1G RAM). With this
> patch in place, it rarely goes over 2M in size.
>
> Eventually, memory pressure will force the size to go down, but if we
> know that they'll never be used again (which is the case with
> noserverino), it's better to go ahead and just free them.
>
>    
I take it this overrides the behavior of the vfs_cache_pressure before 
the memory pressure makes reclaiming cache necessary?


More information about the linux-cifs-client mailing list