From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754847Ab3AVHwb (ORCPT ); Tue, 22 Jan 2013 02:52:31 -0500 Received: from sd-mail-sa-02.sanoma.fi ([158.127.18.162]:58928 "EHLO sd-mail-sa-02.sanoma.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754187Ab3AVHw0 (ORCPT ); Tue, 22 Jan 2013 02:52:26 -0500 X-Greylist: delayed 368 seconds by postgrey-1.27 at vger.kernel.org; Tue, 22 Jan 2013 02:52:26 EST Message-ID: <20130122094614.79031aq5ddrgr2zo@www.dalek.fi> Date: Tue, 22 Jan 2013 09:46:14 +0200 From: Jussi Kivilinna To: Matt Sealey Cc: Nicolas Pitre , LKML , linux-crypto@vger.kernel.org, "David S. Miller" , Herbert Xu , Russell King , Linux ARM Kernel ML , Dave Martin , David McCullough Subject: Re: [PATCH] crypto: fix FTBFS with ARM SHA1-asm and THUMB2_KERNEL References: <1358787763-1226-1-git-send-email-matt@genesi-usa.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Matt Sealey : > This question is to the implementor/committer (Dave McCullough), how > exactly did you measure the benchmark and can we reproduce it on some > other ARM box? > > If it's long and laborious and not so important to test the IPsec > tunnel use-case, what would be the simplest possible benchmark to see > if the C vs. assembly version is faster for a particular ARM device? I > can get hold of pretty much any Cortex-A8 or Cortex-A9 that matters, I > have access to a Chromebook for A15, and maybe an i.MX27 or i.MX35 and > a couple Marvell boards (ARMv6) if I set my mind to it... that much > testing implies we find a pretty concise benchmark though with a > fairly common kernel version we can spread around (i.MX, OMAP and the > Chromebook, I can handle, the rest I'm a little wary of bothering to > spend too much time on). I think that could cover a good swath of > not-ARMv5 use cases from lower speeds to quad core monsters.. but I > might stick to i.MX to start with.. There is 'tcrypt' module in crypto/ for quick benchmarking. 'modprobe tcrypt mode=500 sec=1' tests AES in various cipher-modes, using different buffer sizes and outputs results to kernel log. -Jussi