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: <c0ae1b7d14bd1c21472553da3a93b58f@agner.ch>
Date:	Mon, 02 Mar 2015 18:47:26 +0100
From:	Stefan Agner <stefan@...er.ch>
To:	Afzal Mohammed <afzal.mohd.ma@...il.com>
Cc:	linux@....linux.org.uk, linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ARM: extend SMP_ON_UP detection for A5 MPCore devices with 1 CPU

On 2015-02-17 17:15, Afzal Mohammed wrote:
> Hi Stefan,
> 
> On Sat, Jan 31, 2015 at 12:53:46AM +0100, Stefan Agner wrote:
> 
>> On the Vybrid platform this did not lead to CPU faults (so far),
>> but is_smp checks evaluate to true which is not optimal
>> performance wise.
> 
> Just curious, was the performance difference considerable ?

I can see differences in the boot time stamps in the 10th ms range, not
sure whether this is really due to the detection of the UP system or
some side effects. I guess the change would be measurable with the right
workload, for instance the memory policies are different for SMP system
compared to UP systems.

However, we use a custom configuration for the device, hence SMP is by
default disabled anyway. But it would be nice to be able to use
multi-platform kernels without having to worry about SMP detection...

--
Stefan

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