Return-Path: Received: from ngcobalt23.manitu.net (ngcobalt23.manitu.net [217.11.48.123]) by mail.saout.de (Postfix) with ESMTP for ; Tue, 5 Jul 2011 17:22:24 +0200 (CEST) Received: from ngcobalt23.manitu.net (localhost [127.0.0.1]) by localhost (8.10.2/8.10.2) with ESMTP id p65FMPs32299 for ; Tue, 5 Jul 2011 17:22:25 +0200 Received: from server.passau (188-193-70-182-dynip.superkabel.de [188.193.70.182]) (Authenticated sender: pwendler) by ngcobalt23.manitu.net (Postfix) with ESMTPSA id 7303C2F005A for ; Tue, 5 Jul 2011 17:22:25 +0200 (CEST) Received: from tobago.fim.uni-passau.de (tobago.fim.uni-passau.de [132.231.64.2]) by server.passau (Postfix) with ESMTPSA id B90BC810DE for ; Tue, 5 Jul 2011 17:22:22 +0200 (CEST) Message-ID: <4E132C2E.9000007@philippwendler.de> Date: Tue, 05 Jul 2011 17:22:22 +0200 From: Philipp Wendler MIME-Version: 1.0 References: <4E12B2EC.6000209@philippwendler.de> <20110705133033.GB15436@overath-untereschbach.datenautobahn.org> In-Reply-To: <20110705133033.GB15436@overath-untereschbach.datenautobahn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Bad performance with software RAID5 and LUKS encryption List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi, Am 05.07.2011 15:30, schrieb Jens Wahnes: > Philipp Wendler wrote: > >> [1] All speed measurements were done with several runs of >> dd if=/dev/zero of=DEV bs=100M count=100 > > Did you consider using another block size? So far I tested with a large block size only, because I was expecting a bad performance for small block sizes due to the raid5 anyway. But I have now run a series of tests with 4K, 1M and 10M. Block size indeed affects the performance (although not as much as I would have expected), but the difference for with/without encryption still remains as large as before: without encryption: 150-180 MB/s with encryption: 30-40 MB/s Greetings, Philipp