All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <piggin@cyberone.com.au>
To: Andi Kleen <ak@suse.de>
Cc: akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org,
	richard.brunner@amd.com
Subject: Re: [PATCH] Athlon/Opteron Prefetch Fix for 2.6.0test5 + numbers
Date: Wed, 17 Sep 2003 15:44:08 +1000	[thread overview]
Message-ID: <3F67F4A8.6080007@cyberone.com.au> (raw)
In-Reply-To: <20030917072650.78f10ebf.ak@suse.de>



Andi Kleen wrote:

>On Wed, 17 Sep 2003 14:53:40 +1000
>Nick Piggin <piggin@cyberone.com.au> wrote:
>
>
>>The conditional compilation thing is a seperate issue. This patch may
>>have just broken a few camels' backs.
>>
>>What is intriguing to me is the "Its only a 2% slowdown of the page
>>fault for every cpu other than K[78] for this single workaround. There
>>
>
>Erm. It helps to get your numbers right first when arguing. Why did I waste the
>time on benchmarking and collecting data when people afterwards still argue with 
>bogus numbers? @)
>

I was using your numbers.

>
>It is not 2%, but <1% [~0.6% to be exact]
>

100 * (3.7268 - 3.65945) / 3.65945 = 1.8 (am I wrong?)

>
>(probably lower the statistical error for the test, LMBench results vary more
>than that on multiple runs)
>
>Then it is not for all page faults, but only for a very narrow special
>case - a page fault that is not handled, but causes a signal. These are
>not very common. Arguably there are some applications that use this
>stuff (like generational garbage collectors), but these are not exactly
>common.
>

I missed that, sorry.

>
>In summary, it causes 0.6% slowdown in an quite obscure use case.
>
>That's small enough that it is best to just always enable it, because
>the cost of processing any support request when people forget to enable
>etc. is much greater.
>

I agree that with the current cpu selection arrangements it has to be
always enabled. I'm talking about Adrian's patch though.

I wasn't really arguing about it based on it causing a big slowdown. I
just don't agree with your opinion (which you're very entitled to) on
the matter.

I think that messing up your config options is a user error anyway. And
obviously a big reason for config options is so you don't have to
compile everything, are we really going to try catering for people who
make the wrong choices?

Aside, I think Adrian's patch makes cpu selection simpler for users, and
if it was combined with a warning for booting a non selected cpu I can't
see it being any more of a support problem.



  reply	other threads:[~2003-09-17  5:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17  2:22 [PATCH] Athlon/Opteron Prefetch Fix for 2.6.0test5 + numbers Andi Kleen
2003-09-17  2:44 ` Andrew Morton
2003-09-17  3:25   ` Andi Kleen
2003-09-17  4:53   ` Nick Piggin
2003-09-17  5:08     ` Andrew Morton
2003-09-17  5:19       ` Nick Piggin
2003-09-17  7:15       ` Dave Hansen
2003-09-17  5:26     ` Andi Kleen
2003-09-17  5:44       ` Nick Piggin [this message]
2003-09-17 19:53     ` Linus Torvalds
2003-09-17 20:21       ` Andi Kleen
2003-09-17 20:50         ` Linus Torvalds
2003-09-17 21:12           ` Andi Kleen
2003-09-18 15:38             ` Jamie Lokier
2003-09-18 16:04               ` Jamie Lokier
2003-09-18 17:06                 ` Andi Kleen
2003-09-18 19:48                   ` Jamie Lokier
2003-09-19  6:55             ` Kai Henningsen
2003-09-19 10:02               ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F67F4A8.6080007@cyberone.com.au \
    --to=piggin@cyberone.com.au \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard.brunner@amd.com \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.