Messages in this thread | | | Date | Wed, 2 Mar 2005 18:46:53 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH] Fixing address space lock contention in 2.6.11 |
| |
Peter Chubb <peterc@gelato.unsw.edu.au> wrote: > > > Hi, > As part of the Gelato scalability focus group, we've been running > OSDL's Re-AIM7 benchmark with an I/O intensive load with varying > numbers of processors. The current kernel shows severe contention on > the tree_lock in the address space structure when running on tmpfs or > ext2 on a RAM disk. >
Yup.
Problem is, an rwlock is a little bit slower than a spinlock on a P4 due to the buslocked unlock, and a lot of people have p4's.
Could you do some testing on a 2-way p4?
> Anyway, here's the patch to convert the address space lock to a > rwlock, and allow multiple processes to scan an address-space's radix > tree at once.
dude, make-tree_lock-an-rwlock.patch has been in -mm since May 2004. I've just been waiting for someone to justify merging it.
- 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/
| |