mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Benjamin Herrenschmidt" <benh@kernel.crashing.org>
To: "Alan Cox" <alan@lxorguk.ukuu.org.uk>, "Zapp Foster" <zzaappp@yahoo.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: Performance improvement inquiry
Date: Sun, 13 Oct 2002 01:58:49 +0200	[thread overview]
Message-ID: <20021012235849.21437@192.168.4.1> (raw)
In-Reply-To: <1034458414.15067.25.camel@irongate.swansea.linux.org.uk>

>> First question:  Will compiling a kernel with
>> the network module resident (as opposed to a loadable
>> module) make network performance any better?  From
>> the reading, it appears that resident modules are only
>> faster in initialization, not runtime.  I'm new to
>> this, so please correct me if I'm wrong.
>
>Modules are very very fractionally slower than compiled in code due to
>TLB misses

Depends on which arch... on ppc32 (ahem... no bad joke pls ;),
function calls from modules to kernel or between modules has to
go through some "branch islands" as they don't fit within the
scope of a "short" branch PPC insn. So you also get a small
perf. loss there, but I bet it's barely measurable.


Ben.



  reply	other threads:[~2002-10-12 23:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-12 20:26 Zapp Foster
2002-10-12 21:33 ` Alan Cox
2002-10-12 23:58   ` Benjamin Herrenschmidt [this message]
2002-10-13  0:51 Joseph D. Wagner

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=20021012235849.21437@192.168.4.1 \
    --to=benh@kernel.crashing.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zzaappp@yahoo.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®