summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-07-25 19:32:58 +0000
committerpjd <pjd@FreeBSD.org>2006-07-25 19:32:58 +0000
commit054c4a83ddaa66f87b0d18e1d7471e475a1b2357 (patch)
tree1635ceac93e95dc995604b83baefb63e64c3010e /rescue
parent90aa974bdf526aa8a0a9537443e82c80d160181b (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud