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 70Un4jEyazrK for ; Mon, 30 Apr 2012 14:06:04 +0200 (CEST) Received: from eu1sys200aog117.obsmtp.com (eu1sys200aog117.obsmtp.com [207.126.144.143]) by mail.saout.de (Postfix) with SMTP for ; Mon, 30 Apr 2012 14:06:04 +0200 (CEST) Received: by bkvi17 with SMTP id i17so2103512bkv.27 for ; Mon, 30 Apr 2012 05:06:03 -0700 (PDT) Message-ID: <4F9E7ED5.4050103@porticor.com> Date: Mon, 30 Apr 2012 15:00:21 +0300 From: Yaron Sheffer MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [dm-crypt] XTS performance List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi, Looking back at the archives, it appears that AES-XTS in dm-crypt runs at half the speed of AES-CBC-ESSIV: http://www.saout.de/pipermail/dm-crypt/2010-November/001348.html. Milan explained it at the time by XTS doing 2 AES operations for each plaintext block. But my understanding of XTS is that it is similar to ESSIV: 1 AES op per 16-byte block, plus 1 op for the sector. - Did I misread the definition of XTS, and it's really 2 AES ops per 16-byte block? - Does anybody have more recent performance comparisons, confirming (or not) the performance difference? Thanks, Yaron