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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 6 Dec 2012 00:08:35 +0100
From:	Borislav Petkov <bp@...en8.de>
To:	John <da_audiophile@...oo.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Additional compiler optimization options

On Wed, Dec 05, 2012 at 03:00:12PM -0800, John wrote:
> > This only makes sense if you can show a noticeable performance
> 
> > improvement using one of the those -march options with at least one
> > benchmark from those which we have now in the kernel.
>
> Thank you for the feedback, Boris.  Can you point me to the built in
> benchmarks to which you referred?  I am interested in probing this
> further.

Maybe the easiest thing to do is build the kernel:

make -j<number_of_cores+1>

in your kernel directory and time it. You could get more precise output
if you trace that workload with perf:

$ perf stat --repeat 10 make -j<number_of_cores+1>

And look at how the perf output looks like.

For all those runs, you need hardware supporting any of these options
and the running kernel should each time be built with a different
optimization option.

This will show us whether differently optimized kernels show any
performance difference.

And then you can go and try other benchmarks like kernbench, hackbench,
etc, whatever your favourite search engine gives you for "linux
benchmarks"

HTH.

-- 
Regards/Gruss,
    Boris.
--
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