[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

[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

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

[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

[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

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 change

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 >

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

[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

[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