Date: Tue, 25 Jul 2006 19:32:58 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/crypto/via padlock_cipher.c Message-ID: <200607251932.k6PJWwoH093347@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2006-07-25 19:32:58 UTC FreeBSD src repository Modified files: sys/crypto/via padlock_cipher.c Log: 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 :) Revision Changes Path 1.3 +51 -6 src/sys/crypto/via/padlock_cipher.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607251932.k6PJWwoH093347>