Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 18:22:08 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        Andre Oppermann <andre@freebsd.org>, Mark R V Murray <mark@grondar.org>, freebsd-arch@freebsd.org
Subject:   Re: always load aesni or load it when cpu supports it
Message-ID:  <37693.1382379728@critter.freebsd.dk>
In-Reply-To: <20131021164034.GU56872@funkthat.com>
References:  <20131020070022.GP56872@funkthat.com> <423D921D-6CE5-49D9-BCED-AB14EB236800@grondar.org> <20131020161634.GQ56872@funkthat.com> <5264F074.4010607@freebsd.org> <20131021164034.GU56872@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20131021164034.GU56872@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@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.



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