always load aesni or load it when cpu supports it
John-Mark Gurney
jmg at funkthat.com
Mon Oct 21 18:28:35 UTC 2013
Poul-Henning Kamp wrote this message on Mon, Oct 21, 2013 at 18:22 +0000:
> In message <20131021164034.GU56872 at funkthat.com>, John-Mark Gurney writes:
>
> >The choice of 32 blocks (512 bytes) was arbitrary, but chosen because
> >it is a disk sector size... If you're doing that much AES, on a slower
> >machine, you'll probably want to use an accelerator...
>
> I'd say it is both arbitrary and pointless.
>
> Logical "disk-sectors" under both GBDE and GELI can be any size
> (think RAID-5 stripe) and consumer harddisks have 4K sectors these days.
>
> Why do you fee a limit is necessary ?
If you're on a slow system (embeded x86 or arm) that has an AES
accelerator, you really want to be using your accelerator than wasting
your cpu cycles on large blockes of AES...
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-arch
mailing list