Re: [RFC] Lock free fd lookup

From: Chris Wright
Date: Wed Jul 14 2004 - 10:18:43 EST


* Ravikiran G Thirumalai (kiran@xxxxxxxxxx) 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/