From: Andrew Morton <akpm@zip.com.au>
To: Ingo Molnar <mingo@elte.hu>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: inlines in kernel/sched.c
Date: Sun, 28 Jul 2002 14:36:49 -0700 [thread overview]
Message-ID: <3D4463F1.F6981B0@zip.com.au> (raw)
In-Reply-To: <Pine.LNX.4.44.0207282309430.5116-100000@localhost.localdomain>
Ingo Molnar wrote:
>
> On Sun, 28 Jul 2002, Andrew Morton wrote:
>
> > Ingo, could you please review the use of inlines in the
> > scheduler sometime? They seem to be excessive.
> >
> > For example, this patch reduces the sched.d icache footprint
> > by 1.5 kilobytes.
>
> the patch also hurts context-switch latencies - it went
> from 1.35 usecs to 1.42 usecs - a 5% drop.
>
It will hurt with benchmarks, because with benchmarks
all of the scheuler is in L1 all the time.
This stuff's hard. I don't know what the right answer
is, really.
To optimise for scheduler-intensive workloads we should
optimise for the all-in-cache case. To optimise for
other workloads we should aim to reduce the cache footprint.
Perhaps. Dunno.
-
next prev parent reply other threads:[~2002-07-28 21:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-28 21:17 Andrew Morton
2002-07-28 21:15 ` Ingo Molnar
2002-07-28 21:18 ` Ingo Molnar
2002-07-28 21:36 ` Andrew Morton [this message]
2002-07-28 21:36 ` Rik van Riel
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=3D4463F1.F6981B0@zip.com.au \
--to=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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®