lkml.org 
[lkml]   [2005]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 14:10    [W:6.784 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site