always load aesni or load it when cpu supports it

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Oct 21 18:22:11 UTC 2013


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 ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list