lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070316172813.4ca7a6e2@lxorguk.ukuu.org.uk>
Date:	Fri, 16 Mar 2007 17:28:13 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	"Guerreiro da Luz" <g.da.luz@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: decrease L2 cache size used by Linux?

> 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ