From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Guerreiro da Luz" <g.da.luz@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: decrease L2 cache size used by Linux?
Date: Fri, 16 Mar 2007 17:28:13 +0000 [thread overview]
Message-ID: <20070316172813.4ca7a6e2@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <25db37b80703160913y1d30f16dw5d5e8f37ff03a8d4@mail.gmail.com>
> Am benchmarking dumb matrix multiplication in trying to perceive
> performance drop in case when matrix cannot fit in L2 cache. However,
> on my machine L2 cache is large - 2MB, so 512x512 matrix of double
> numbers is needed to fill the cache, and in that case multiplication
> is taking rather long time. So I'm wondering is there a way to
> control (decrease) L2 cache size used by Linux? Apologies if question
> inappropriate for the list.
Not easily, but on the other hand if your process is taking a long time
you ought to get better and more reproducable results. Cache management
is mostly done by the processor not by the OS so you have little control
over pinning bits of it.
next prev parent reply other threads:[~2007-03-16 16:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-16 16:13 Guerreiro da Luz
2007-03-16 17:28 ` Alan Cox [this message]
2007-03-16 21:55 Al Boldi
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=20070316172813.4ca7a6e2@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=g.da.luz@gmail.com \
--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 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®