Re: [git pull] cpus4096 fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, July 31, 2008 - 3:30 am

* Rusty Russell <rusty@rustcorp.com.au> wrote:


My only worry with that principle is that the "does it really hurt" fact 
is seldom really provable on a standalone basis.

Creeping bloat and creeping slowdowns are the hardest to catch. A cycle 
here, a byte there, and it mounts up quickly. Coupled with faster but 
less deterministic CPUs it's pretty hard to prove a slowdown even with 
very careful profiling. We only catch the truly egregious cases that 
manage to shine through the general haze of other changes - and the haze 
is thickening every year.

I dont fundamentally disagree with turning cpumask into standalone 
objects on large machines though. I just think that our profiling 
methods are simply not good enough at the moment to truly trace small 
slowdowns back to their source commits fast enough. So the "we wont do 
it if it hurts" notion, while i agree with it, does not fulfill its 
promise in practice.

[ We might need something like a simulated reference CPU where various 
  "reference" performance tests are 100% repeatable and slowdowns are 
  thus 100% provable and bisectable. That CPU would simulate a cache and 
  would be modern in most aspects, etc. - just that the results it 
  produces would be fully deterministic in virtual time.

  Problem is, hw is not fast enough for that kind of simulation yet IMO
  (tools exist but it would not be fun at all to work in such a
  simulated environment in practice - hence kernel developers would
  generally ignore it) - so there will be a few years of uncertainty
  still. ]

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

Messages in current thread:
[git pull] cpus4096 fixes, Ingo Molnar, (Sun Jul 27, 12:06 pm)
Re: [git pull] cpus4096 fixes, Linus Torvalds, (Sun Jul 27, 1:15 pm)
Re: [git pull] cpus4096 fixes, Ingo Molnar, (Sun Jul 27, 2:03 pm)
Re: [git pull] cpus4096 fixes, Al Viro, (Sun Jul 27, 2:05 pm)
Re: [git pull] cpus4096 fixes, Linus Torvalds, (Sun Jul 27, 3:17 pm)
Re: [git pull] cpus4096 fixes, Rusty Russell, (Sun Jul 27, 5:42 pm)
Re: [git pull] cpus4096 fixes, Rusty Russell, (Sun Jul 27, 5:53 pm)
Re: [git pull] cpus4096 fixes, Andrew Morton, (Sun Jul 27, 8:06 pm)
Re: [git pull] cpus4096 fixes, Rusty Russell, (Sun Jul 27, 11:34 pm)
Re: [git pull] cpus4096 fixes, Nick Piggin, (Sun Jul 27, 11:58 pm)
Re: [git pull] cpus4096 fixes, Ingo Molnar, (Mon Jul 28, 12:56 am)
Re: [git pull] cpus4096 fixes, Ingo Molnar, (Mon Jul 28, 1:16 am)
Re: [git pull] cpus4096 fixes, Ingo Molnar, (Mon Jul 28, 1:33 am)
Re: [git pull] cpus4096 fixes, Ingo Molnar, (Mon Jul 28, 1:43 am)
Re: [git pull] cpus4096 fixes, Rusty Russell, (Mon Jul 28, 6:21 am)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 10:50 am)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 11:07 am)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 11:12 am)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 11:23 am)
Re: [git pull] cpus4096 fixes, Linus Torvalds, (Mon Jul 28, 11:32 am)
Re: [git pull] cpus4096 fixes, Linus Torvalds, (Mon Jul 28, 11:37 am)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 11:42 am)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 11:46 am)
Re: [git pull] cpus4096 fixes, Ingo Molnar, (Mon Jul 28, 11:51 am)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 12:04 pm)
Re: [git pull] cpus4096 fixes, Ingo Molnar, (Mon Jul 28, 12:13 pm)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 12:22 pm)
Re: [git pull] cpus4096 fixes, Mike Travis, (Mon Jul 28, 12:31 pm)
[rfc git pull] cpus4096 fixes, take 2, Ingo Molnar, (Mon Jul 28, 1:57 pm)
Re: [rfc git pull] cpus4096 fixes, take 2, Ingo Molnar, (Mon Jul 28, 2:35 pm)
Re: [rfc git pull] cpus4096 fixes, take 2, Mike Travis, (Mon Jul 28, 2:36 pm)
Re: [git pull] cpus4096 fixes, Rusty Russell, (Mon Jul 28, 6:33 pm)
Re: [rfc git pull] cpus4096 fixes, take 2, Rusty Russell, (Mon Jul 28, 6:45 pm)
Re: [rfc git pull] cpus4096 fixes, take 2, Ingo Molnar, (Tue Jul 29, 5:11 am)
Re: [rfc git pull] cpus4096 fixes, take 2, Rusty Russell, (Tue Jul 29, 5:15 pm)
Re: [git pull] cpus4096 fixes, Ingo Molnar, (Thu Jul 31, 3:30 am)