All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: ak@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Start of compat32.h (again)
Date: Mon, 02 Dec 2002 02:16:29 -0800 (PST)	[thread overview]
Message-ID: <20021202.021629.93360250.davem@redhat.com> (raw)
In-Reply-To: <20021202090756.GA26034@wotan.suse.de>

   From: Andi Kleen <ak@suse.de>
   Date: Mon, 2 Dec 2002 10:07:56 +0100
   
   > BTW, I bet your dynamic relocation tables are a bit larger too.
   
   Somewhat, but does it matter?  They are not kept in memory anyways.

It's all about how much data a ld.so relocation has to touch.  But
preloading will help out here, even though that isn't in wide spread
use just yet.

And I was talking about user stack usage, not the kernel kind
:-)

Andi, do something very simple like run -m32 vs -m64 microbenchmarks,
I bet -m32 beats -m64 in all the lmbench lat_proc tests.  On sparc64
it's (on a 2-way SMP system):

-m32 fork+exit:		360.8328 microseconds
-m32 fork+execve:	1342.2213 microseconds
-m32 fork+/bin/sh:	5497.0149 microseconds

-m64 fork+exit:		553.9076 microseconds
-m64 fork+execve:	1904.6315 microseconds
-m64 fork+/bin/sh:	6268.6932 microseconds

NOTE: make sure you change /bin/sh to be 32-bit/64-bit as
      appropriate in the tests above.

So what is this on x86_64? :-) I think lat_proc is great becuase it
shows pure libc overhead in continually relocating the exit()
etc. symbols in the child for fork+exit, for example.

The reason I'm making such a stink about this is that I don't want
people believing that "the code generation improvements due to the
extra x86_64 registers available nullifies the bloat cost from
going to 64-bit"

To me, believe that is an utterly bogus claim and completely
misleading.

  parent reply	other threads:[~2002-12-02 10:11 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.44.0212011047440.12964-100000@home.transmeta.com.suse.lists.linux.kernel>
     [not found] ` <1038804400.4411.4.camel@rth.ninka.net.suse.lists.linux.kernel>
2002-12-02  8:13   ` [PATCH] Start of compat32.h (again) Andi Kleen
2002-12-02  8:28     ` David S. Miller
2002-12-02  9:07       ` Andi Kleen
2002-12-02  9:36         ` Jakub Jelinek
2002-12-02 17:01           ` Mikael Pettersson
2002-12-02 10:16         ` David S. Miller [this message]
2002-12-04 11:19           ` Pavel Machek
2002-12-05 21:06             ` David S. Miller
2002-12-05 21:21               ` Pavel Machek
2002-12-05 21:22                 ` David S. Miller
2002-12-05 21:32                   ` Pavel Machek
2002-11-27  7:42 Stephen Rothwell
2002-11-27  7:58 ` David S. Miller
2002-11-27 13:00   ` Stephen Rothwell
2002-11-28  5:27     ` David S. Miller
2002-11-27 18:51   ` Linus Torvalds
2002-11-28  5:34     ` David S. Miller
2002-11-27  8:00 ` David Mosberger
2002-11-27  8:06   ` David S. Miller
2002-11-27  8:29   ` Andi Kleen
2002-11-27  8:46     ` David Mosberger
2002-11-27  9:01       ` Andi Kleen
2002-11-27  9:57       ` David S. Miller
2002-11-27 17:10         ` David Mosberger
2002-11-28  5:29           ` David S. Miller
2002-11-27 12:49     ` Alan Cox
2002-11-30 20:34     ` Ralf Baechle
2002-11-27 17:18 ` Linus Torvalds
2002-11-28  5:22   ` Stephen Rothwell
2002-11-28  5:26     ` David S. Miller
2002-11-29  2:36       ` Stephen Rothwell
2002-12-01 18:54       ` Linus Torvalds
2002-12-02  4:46         ` David S. Miller
2002-12-02  4:57           ` Stephen Rothwell
2002-12-02  6:17             ` David S. Miller
2002-12-02  7:39           ` Richard Henderson
2002-12-02  7:44             ` David S. Miller
2002-12-02  7:59             ` Ralf Baechle
2002-12-02  8:01               ` David S. Miller
2002-12-04 11:22                 ` Pavel Machek
2002-12-05 21:04                   ` David S. Miller
2002-11-28  5:31   ` David S. Miller

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=20021202.021629.93360250.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.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.