From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Rebh8jwJ4QJ for ; Thu, 28 Nov 2013 15:58:49 +0100 (CET) Received: from mail-ea0-x229.google.com (mail-ea0-x229.google.com [IPv6:2a00:1450:4013:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 28 Nov 2013 15:58:49 +0100 (CET) Received: by mail-ea0-f169.google.com with SMTP id l9so5982416eaj.0 for ; Thu, 28 Nov 2013 06:58:49 -0800 (PST) Received: from [192.168.1.46] ([217.30.64.70]) by mx.google.com with ESMTPSA id c46sm18108665eep.17.2013.11.28.06.58.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Nov 2013 06:58:47 -0800 (PST) Message-ID: <52975A26.8070004@gmail.com> Date: Thu, 28 Nov 2013 15:58:46 +0100 From: Milan Broz MIME-Version: 1.0 References: <52975371.3050404@riseup.net> In-Reply-To: <52975371.3050404@riseup.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] REQUIRED CIPHERS TEST takes 20 minutes each for aes-related ciphers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 11/28/2013 03:30 PM, shmick@riseup.net wrote: > when these tests ran did all cores process or just 1 single core ? > > do you know if cryptsetup can take advantage of multi threading on multi > core processors ? FYI this test doesn't use dmcrypt at all, only kernel crypto API, so it depends how crypto layer module processes it. Anyway, it doesn't matter here - the whole test basically runs encryption of 1MB buffer over userspace API to kernel crypto layer. It cannot take so long - it is clear problem somewhere. Milan