Messages in this thread | | | Date | Wed, 14 Jul 2004 08:17:37 -0700 | From | Chris Wright <> | Subject | Re: [RFC] Lock free fd lookup |
| |
* Ravikiran G Thirumalai (kiran@in.ibm.com) wrote: > This makes use of the lockfree refcounting infrastructure (see earlier > posting today) to make files_struct.fd[] lookup lockfree. This is carrying > forward work done by Maneesh and Dipankar earlier. > > With the lockfree fd lookup patch, tiobench performance increases by 13% > for sequential reads, 21 % for random reads on a 4 processor pIII xeon.
I'm curious, how much of the performance improvement is from RCU usage vs. making the basic syncronization primitive aware of a reader and writer distinction? Do you have benchmark for simply moving to rwlock_t?
thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |