diff options
author | pjd <pjd@FreeBSD.org> | 2006-07-25 19:32:58 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-07-25 19:32:58 +0000 |
commit | 054c4a83ddaa66f87b0d18e1d7471e475a1b2357 (patch) | |
tree | 1635ceac93e95dc995604b83baefb63e64c3010e /rescue | |
parent | 90aa974bdf526aa8a0a9537443e82c80d160181b (diff) | |
download | FreeBSD-src-054c4a83ddaa66f87b0d18e1d7471e475a1b2357.zip FreeBSD-src-054c4a83ddaa66f87b0d18e1d7471e475a1b2357.tar.gz |
Avoid memory allocations when the given address is already 16 bytes aligned.
Such an address can be used directly in padlock's AES.
This improves speed of geli(8) significantly:
# sysctl kern.geom.zero.clear=0
# geli onetime -s 4096 gzero
# dd if=/dev/gzero.eli of=/dev/null bs=1m count=1000
Before: 113MB/s
After: 203MB/s
BTW. If sector size is set to 128kB, I can read at 276MB/s :)
Diffstat (limited to 'rescue')
0 files changed, 0 insertions, 0 deletions