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
>
|