Re: RSS controller v2 Test results (lmbench )

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lee Schermerhorn
Date: Monday, May 21, 2007 - 6:53 am

On Fri, 2007-05-18 at 09:37 +0530, Balbir Singh wrote:

Jumping in late, I just want to note that in our investigations, when
AIM7 gets into this situation [non-responsive system], it's because all
cpus are in reclaim, spinning on an anon_vma spin lock.  AIM7 forks [10s
of] thousands of children from a single parent, resultings in thousands
of vmas on the anon_vma list.  shrink_inactive_list() must walk this
list twice [page_referenced() and try_to_unmap()] under spin_lock for
each anon page.  

[Aside:  Just last week, I encountered a similar situation on the
i_mmap_lock for page cache pages running a 1200 user Oracle/OLTP run on
a largish ia64 system.  Left the system spitting out "soft lockup"
messages/stack dumps overnight.  Still spitting the next day, so I
decided to reboot.]

I have a patch that turns the anon_vma lock into a reader/writer lock
that alleviates the problem somewhat, but with 10s of thousands of vmas
on the lists, system still can't swap enough memory fast enough to
recover.

We've run some AIM7 tests with Rik's "split lru list" patch, both with
and without the anon_vma reader/writer lock patch.  We'll be posting
results later this week.  Quick summary:  with Rik's patch, AIM
performance tanks earlier, as the system starts swapping earlier.
However, system remains responsive to shell input.  More into to follow.


For some definition thereof...

Lee


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RSS controller v2 Test results (lmbench ), Balbir Singh, (Thu May 17, 10:50 am)
Re: RSS controller v2 Test results (lmbench ), Andrew Morton, (Thu May 17, 11:23 am)
Re: RSS controller v2 Test results (lmbench ), Rik van Riel, (Thu May 17, 7:55 pm)
Re: RSS controller v2 Test results (lmbench ), Balbir Singh, (Thu May 17, 8:46 pm)
Re: RSS controller v2 Test results (lmbench ), Balbir Singh, (Thu May 17, 9:07 pm)
Re: RSS controller v2 Test results (lmbench ), Lee Schermerhorn, (Mon May 21, 6:53 am)
Re: RSS controller v2 Test results (lmbench ), William Lee Irwin III, (Mon May 21, 7:59 am)
Re: RSS controller v2 Test results (lmbench ), Kirill Korotaev, (Mon May 21, 8:03 am)
Re: RSS controller v2 Test results (lmbench ), Balbir Singh, (Thu May 24, 12:36 am)
Re: RSS controller v2 Test results (lmbench ), Paul Menage, (Thu May 24, 12:39 am)
Re: RSS controller v2 Test results (lmbench ), Balbir Singh, (Thu May 24, 1:00 am)