xfs
[Top] [All Lists]

Re: TAKE - reintroduce the nfs inode reference cache

To: linux-xfs@xxxxxxxxxxx
Subject: Re: TAKE - reintroduce the nfs inode reference cache
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 06 Mar 2001 14:24:43 -0600
In-reply-to: Message from Steve Lord <lord@xxxxxxx> of "Tue, 06 Mar 2001 13:50:38 CST." <200103061950.f26Joch03775@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
OK, I am probably talking rubbish with this code, if someone feels like trying
it out please do and let me know if it helps. I thought I was seeing 
improvements, but thinking about the code, and trying the tests again I
am not seeing improvements.

Steve

> This should help nfs server performance over xfs for writes. It puts
> back some code which was removed last year and makes it work. This is
> a reference cache for inodes written to via nfs so that we basically
> keep the inodes in the system for a while and avoid their count dropping
> down to zero and going through a lot of cleanup code.
> 
> the network here is a bit primitive (10 Mbit/sec) and I can easily
> saturate it. Can someone operating over 100 Mbit ethernet let me
> know if this helps, just write a file bigger than memory into nfs
> over xfs.
> 
> Steve
> 
> Date:  Tue Mar  6 11:44:15 PST 2001
> Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4
> 
> The following file(s) were checked into:
>   bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
> 
> 
> Modid:  2.4.x-xfs:slinx:89063a
> linux/fs/xfs/xfs_rw.h - 1.58
>       - prototypes for nfs reference cache
> 
> linux/fs/xfs/xfs_rw.c - 1.331
>       - Reintroduce nfs reference cache
> 
> linux/fs/xfs/xfs_vnodeops.c - 1.490
>       - remove inode being deleted  from nfs reference cache
> 
> linux/fs/xfs/xfs_vfsops.c - 1.310
>       - purge nfs reference cache on unmount, and prune some entries during
>         sync activity.
> 
> linux/fs/xfs/xfs_inode.h - 1.144
>       - Add reference cache field to inode
> 
> linux/fs/xfs/xfs_rename.c - 1.30
>       - remove inode being renamed from nfs reference cache
> 
> linux/fs/xfs/linux/xfs_lrw.c - 1.80
>       - Insert inodes from nfs writes into the inode reference cache
> 



<Prev in Thread] Current Thread [Next in Thread>