login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
8
Re: AIM7 40% regression with 2.6.26-rc1
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Zhang, Yanmin <yanmin_zhang@...>
To: Linus Torvalds <torvalds@...>
Cc: Andi Kleen <andi@...>, Matthew Wilcox <matthew@...>, Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, Alexander Viro <viro@...>, Andrew Morton <akpm@...>
Subject:
Re: AIM7 40% regression with 2.6.26-rc1
Date: Thursday, May 8, 2008 - 12:08 am
On Wed, 2008-05-07 at 20:29 -0700, Linus Torvalds wrote:
quoted text
> > On Thu, 8 May 2008, Zhang, Yanmin wrote: > > > > Congratulations! The patch really fixes the regression completely! > > vmstat showed cpu idle is 0%, just like 2.6.25's. > > Well, that shows that it was the BKL. > > That said, "idle 0%" is easy when you spin. Do you also have actual > performance numbers?
Yes. My conclusion is based on the actual number. cpu idle 0% is just a behavior it should be.
quoted text
> I'd hope that not only do we use full CPU time, it's > also at least as fast as the old semaphores were?
Yes.
quoted text
> > While I've been dissing sleeping locks (because their overhead is so > high), at least in _theory_ they can get better behavior when not > spinning. Now, that's not going to happen with the BKL, I'm 99.99% sure, > but I'd still like to hear actual performance numbers too, just to be > sure.
For sure.
quoted text
> > Anyway, at least the "was it the BKL or some other semaphore user" > question is entirely off the table. > > So we need to > > - fix the BKL. My patch may be a good starting point, but there are > alternatives: > > (a) reinstate the old BKL code entirely > > Quite frankly, I'd prefer not to. Not only did it have three > totally different cases, some of them were apparently broken (ie > BKL+regular preempt didn't cond_resched() right), and I just don't > think it's worth maintaining three different versions, when > distro's are going to pick one anyway. *We* should pick one, and > maintain it. > > (b) screw the special BKL preemption - it's a spinlock, we don't > preempt other spinlocks, but at least fix BKL+preempt+cond_resched > thing. > > This would be "my patch + fixes" where at least one of the fixes > is the known (apparently old) cond_preempt() bug. > > (c) Try to keep the 2.6.25 code as closely as possible, but just > switch over to mutexes instead. > > I dunno. I was never all that enamoured with the BKL as a sleeping > lock, so I'm biased against this one, but hey, it's just a > personal bias. > > - get rid of the BKL anyway, at least in anything that is noticeable. > > Matthew's patch to file locking is probably worth doing as-is, > simply because I haven't heard any better solutions. The BKL > certainly can't be it, and whatever comes out of the NFSD > discussion will almost certainly involve just making sure that > those leases just use the new fs/locks.c lock. > > This is also why I'd actually prefer the simplest possible > (non-preempting) spinlock BKL. Because it means that we can get > rid of all that "saved_lock_depth" crud (like my patch already > did). We shouldn't aim for a clever BKL, we should aim for a BKL > that nobody uses. > > I'm certainly open to anything. Regardless, we should decide fairly soon, > so that we have the choice made before -rc2 is out, and not drag this out, > since regardless of the choice it needs to be tested and people comfy with > it for the 2.6.26 release. > > Linus
--
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Tue May 6, 1:48 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Tue May 6, 7:44 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Tue May 6, 10:11 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Tue May 6, 11:41 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Andi Kleen
, (Wed May 7, 7:00 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Alan Cox
, (Wed May 7, 9:59 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 7:46 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andi Kleen
, (Wed May 7, 8:21 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 10:36 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 12:20 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 12:35 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 1:05 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 1:24 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 1:36 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 1:55 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 1:59 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 2:17 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 2:49 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 11:19 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 10:44 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Thu May 8, 2:43 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Thu May 8, 3:14 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Thu May 8, 3:39 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Thu May 8, 4:44 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Thu May 8, 5:21 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Thu May 8, 5:30 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Thu May 8, 5:29 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Thu May 8, 2:48 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 11:29 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Thu May 8, 12:08 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Thu May 8, 12:17 am)
[patch] speed up / fix the new generic semaphore code (fix A...
, Ingo Molnar
, (Thu May 8, 8:01 am)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Arjan van de Ven
, (Thu May 8, 9:56 am)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Matthew Wilcox
, (Thu May 8, 9:20 am)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Ingo Molnar
, (Thu May 8, 11:01 am)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Ingo Molnar
, (Thu May 8, 8:28 am)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Linus Torvalds
, (Thu May 8, 12:02 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Linus Torvalds
, (Thu May 8, 2:30 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Ingo Molnar
, (Thu May 8, 4:19 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Linus Torvalds
, (Thu May 8, 4:27 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Ingo Molnar
, (Thu May 8, 5:45 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Linus Torvalds
, (Thu May 8, 6:55 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Alan Cox
, (Thu May 8, 7:16 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Linus Torvalds
, (Thu May 8, 7:33 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Andi Kleen
, (Fri May 9, 4:29 am)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Ingo Molnar
, (Fri May 9, 2:50 am)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Alan Cox
, (Thu May 8, 7:27 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Linus Torvalds
, (Thu May 8, 7:07 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Linus Torvalds
, (Thu May 8, 7:14 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Ingo Molnar
, (Thu May 8, 6:02 pm)
Re: [patch] speed up / fix the new generic semaphore code (f...
, Ingo Molnar
, (Thu May 8, 10:43 am)
[git pull] scheduler fixes
, Ingo Molnar
, (Thu May 8, 11:10 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 7:03 am)
Re: [git pull] scheduler fixes
, Sven Wegener
, (Sun May 11, 10:10 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 9:01 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 9:06 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 9:45 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 7:48 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 8:50 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 8:52 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 9:02 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 9:54 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 10:22 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 10:32 am)
Re: [git pull] scheduler fixes
, Linus Torvalds
, (Sun May 11, 12:47 pm)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 10:46 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 9:26 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 10:00 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 10:18 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 10:42 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 10:48 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 11:19 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 11:29 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Tue May 13, 10:11 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Tue May 13, 10:21 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Tue May 13, 10:42 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Tue May 13, 11:28 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Tue May 13, 1:13 pm)
Re: [git pull] scheduler fixes
, Linus Torvalds
, (Tue May 13, 1:22 pm)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Tue May 13, 5:05 pm)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 7:14 am)
Re: [git pull] scheduler fixes
, Adrian Bunk
, (Thu May 8, 11:33 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Thu May 8, 11:41 am)
Re: [git pull] scheduler fixes
, Adrian Bunk
, (Thu May 8, 3:42 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 1:14 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Andi Kleen
, (Wed May 7, 10:57 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Wed May 7, 11:31 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 12:22 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Alan Cox
, (Wed May 7, 10:35 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 11:00 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 11:02 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 2:26 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 2:28 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 3:05 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Tue May 6, 11:59 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 12:46 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 8:09 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 12:23 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 11:24 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 11:34 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Thu May 8, 12:37 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Thu May 8, 10:58 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Tue May 6, 1:21 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 12:38 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 12:55 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 1:08 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 1:22 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 1:31 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 1:49 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 2:02 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 2:17 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 2:27 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 2:43 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 3:01 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 3:24 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 3:44 pm)
Oi. NFS people. Read this.
, Matthew Wilcox
, (Wed May 7, 4:00 pm)
Re: Oi. NFS people. Read this.
, Trond Myklebust
, (Wed May 7, 6:10 pm)
Re: Oi. NFS people. Read this.
, J. Bruce Fields
, (Thu May 8, 9:43 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 3:09 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 1:47 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 1:25 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Wed May 7, 1:16 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 1:27 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Tue May 6, 1:45 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Tue May 6, 1:39 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 2:49 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 1:31 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Tue May 6, 1:49 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Tue May 6, 2:07 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Sun May 11, 7:11 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Tue May 6, 12:36 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, J. Bruce Fields
, (Tue May 6, 12:44 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 12:42 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Tue May 6, 4:28 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Alan Cox
, (Tue May 6, 12:39 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 12:51 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Tue May 6, 1:42 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Alan Cox
, (Tue May 6, 12:45 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 7:18 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Dave Hansen
[RFC][PATCH 0/4] kernel-based checkpoint restart
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Eric Paris
[RFC 0/5] [TALPA] Intro to a linux interface for on access scanning
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
1090 guests
online.
Online users
rockytherobott
truthaboutabcxa
womensunderwea
Syndicate