Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 01:04:03 +0300
From:      Dan Naumov <dan.naumov@gmail.com>
To:        Michael Jung <mikej@paymentallianceintl.com>, volker@vwsoft.com
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Re: GELI encryption - CPU requirements?
Message-ID:  <cf9b1ee00905271504o3d815d63t48e3c5cb2842d1dd@mail.gmail.com>
In-Reply-To: <A30A1B3798866D4CAE189313FDD084082667CD@exchange.paymentallianceintl.com>
References:  <cf9b1ee00905261637h248ae118i60068ab434e115be@mail.gmail.com> <gvj1de$jcr$1@ger.gmane.org> <4A1D9EC5.3020006@vwsoft.com> <cf9b1ee00905271341q7c6ea464od04a1e3c3479b843@mail.gmail.com> <A30A1B3798866D4CAE189313FDD084082667CD@exchange.paymentallianceintl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Wow, when I thought things couldn't get any better, people surprise me :)

Volker, could I bug you for another set of Intel Atom results for AES
and Blowfish, bu this time with -multi 4?

Thanks!

- Dan Naumov



On Thu, May 28, 2009 at 12:41 AM, Michael Jung
<mikej@paymentallianceintl.com> wrote:
> FWIW:
>
> You need to use the "-multi <num cores>" switch for multi-core/multi-proc=
essors
>
> #openssl speed aes
> CPU: Dual-Core AMD Opteron(tm) Processor 2216 (2394.02-MHz 686-class CPU)
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> =A0cpu0 (BSP): APIC ID: =A00
> =A0cpu1 (AP): APIC ID: =A01
> =A0cpu2 (AP): APIC ID: =A02
> =A0cpu3 (AP): APIC ID: =A03
> 7.0-RELEASE
>
> type =A0 =A0 =A0 =A0 =A0 =A0 16 bytes =A0 =A0 64 bytes =A0 =A0256 bytes =
=A0 1024 bytes =A0 8192 bytes
> aes-128 cbc =A0 =A0 =A051067.07k =A0 =A051552.36k =A0 =A052142.46k =A0 =
=A052158.35k =A0 =A052302.93k
> aes-192 cbc =A0 =A0 =A044284.34k =A0 =A045152.29k =A0 =A045648.03k =A0 =
=A045653.66k =A0 =A045784.30k
> aes-256 cbc =A0 =A0 =A039358.18k =A0 =A039717.28k =A0 =A040087.25k =A0 =
=A040117.40k =A0 =A040196.85k
>
> Same machine with multi switch
>
> #openssl speed aes -multi 4
> aes-128 cbc =A0 =A0 204173.66k =A0 205888.69k =A0 208489.35k =A0 208569.5=
3k =A0 209142.85k
> aes-192 cbc =A0 =A0 176980.36k =A0 180404.81k =A0 182537.84k =A0 182469.9=
1k =A0 183064.72k
> aes-256 cbc =A0 =A0 157313.97k =A0 158619.06k =A0 160317.78k =A0 160399.1=
9k =A0 160746.01k
>
> --mikej
>
> -----Original Message-----
> From: owner-freebsd-geom@freebsd.org [mailto:owner-freebsd-geom@freebsd.o=
rg] On Behalf Of Dan Naumov
> Sent: Wednesday, May 27, 2009 4:41 PM
> To: freebsd-geom@freebsd.org
> Subject: Re: Re: GELI encryption - CPU requirements?
>
> Wow, so on a dual core Atom, I would essentially be bottlenecked by my
> CPU at 18 MB/s throughput? I guess that puts GELI encryption
> completely out of the question and I need to look into some other
> solution :(
>
>
> - Dan Naumov
>
>
>
>> For reference, here're the values taken on a dual core Atom:
>>
>> type =A0 =A0 =A0 =A0 =A0 =A0 16 bytes =A0 =A0 64 bytes =A0 =A0256 bytes =
=A0 1024 bytes =A0 8192
>> bytes
>> aes-128 cbc =A0 =A0 =A017947.16k =A0 =A018502.91k =A0 =A018703.91k =A0 =
=A018271.91k
>> 18955.39k
>>
>> aes-192 cbc =A0 =A0 =A016404.93k =A0 =A015966.46k =A0 =A016615.41k =A0 =
=A016115.26k
>> 16466.56k
>>
>> aes-256 cbc =A0 =A0 =A013711.70k =A0 =A014016.79k =A0 =A014342.35k =A0 =
=A014109.98k
>> 14738.16k
>>
>>
>> FreeBSD dardanos 7.2-STABLE FreeBSD 7.2-STABLE #10 r192673: Sun May 24
>> 10:22:05 CEST 2009
>>
>> CPU: Intel(R) Atom(TM) CPU =A0330 =A0 @ 1.60GHz (1618.44-MHz 686-class C=
PU)
>> =A0Origin =3D "GenuineIntel" =A0Id =3D 0x106c2 =A0Stepping =3D 2
>>
>> Features=3D0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P=
GE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>> =A0Features2=3D0x40e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,=
<b22>>
>> =A0AMD Features=3D0x20100000<NX,LM>
>> =A0AMD Features2=3D0x1<LAHF>
>> =A0Cores per package: 2
>> =A0Logical CPUs per core: 2
>> real memory =A0=3D 2137391104 (2038 MB)
>> avail memory =3D 2077528064 (1981 MB)
>> ACPI APIC Table: <INTEL =A0D945GLF2>
>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
>> =A0cpu0 (BSP): APIC ID: =A00
>> =A0cpu1 (AP/HT): APIC ID: =A01
>> =A0cpu2 (AP): APIC ID: =A02
>> =A0cpu3 (AP/HT): APIC ID: =A03
>> ioapic0: Changing APIC ID to 2
>> ioapic0 <Version 2.0> irqs 0-23 on motherboard
>> kbd1 at kbdmux0
>> cryptosoft0: <software crypto> on motherboard
> _______________________________________________
> freebsd-geom@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-geom
> To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org"
>
> CONFIDENTIALITY NOTE: This message is intended only for the use
> of the individual or entity to whom it is addressed and may contain
> information that is privileged, confidential, and exempt from
> disclosure under applicable law. If the reader of this message is
> not the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication
> is strictly prohibited. If you have received this transmission
> in error, please notify us by telephone at (502) 212-4001 or
> notify us at PAI , Dept. 99, 11857 Commonwealth Drive,
> Louisville, KY =A040299. =A0Thank you.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf9b1ee00905271504o3d815d63t48e3c5cb2842d1dd>