[patch] nfsd optimizations for test10 (yet another try)

2000-11-13 Thread Ying Chen/Almaden/IBM
Neil, Here is a set of fixes and answers to you questions/points. The new patch was tested in my own environment again and worked fine. 1/ Why did you change nfsd_busy into an atomic_t? It is only ever used or updated inside the Big-Kernel-Lock, so it doesn't need to be atomic. I think

Re: [patch] nfsd optimizations for test10 (recoded to use list_head)

2000-11-12 Thread Neil Brown
On Sunday November 12, [EMAIL PROTECTED] wrote: > > Hi, > > This is the recoded racache that uses list_head for several lists, e.g., > lru and free lists. I have tested it under SPEC SFS runs, and several other > NFS loads myself. Ok, I have taken a closer look at this code: 1/ Why did you cha

[patch] nfsd optimizations for test10 (recoded to use list_head)

2000-11-12 Thread Ying Chen/Almaden/IBM
Hi, This is the recoded racache that uses list_head for several lists, e.g., lru and free lists. I have tested it under SPEC SFS runs, and several other NFS loads myself. Here is the whole patch against test10. = diff -ruN nfsd.orig/nfsd.h nfs

Re: [patch] nfsd optimizations for test10

2000-11-11 Thread Ying Chen/Almaden/IBM
1/ Do you have any stats showing what sort of speedup this gives - I'm curious. I don't have the exact timing stats to show the improvements, but I do have some stats that I gathered when running SPEC SFS. Basically with the default racache scheme which only keeps 80 entries in the table

Re: [patch] nfsd optimizations for test10

2000-11-11 Thread Neil Brown
On Friday November 10, [EMAIL PROTECTED] wrote: > Hi, > > I made some optimizations on racache in nfsd in test10. The idea is to > replace with existing fixed length table for readahead cache in NFSD with a > hash table. > The old racache is essentially ineffective in dealing with large # of > fi

[patch] nfsd optimizations for test10

2000-11-10 Thread Ying Chen/Almaden/IBM
Hi, I made some optimizations on racache in nfsd in test10. The idea is to replace with existing fixed length table for readahead cache in NFSD with a hash table. The old racache is essentially ineffective in dealing with large # of files, and yet eats CPU cycles in scanning the table (even thoug