Date: Sun, 26 Feb 2012 16:52:17 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: arch@freebsd.org Subject: Prefaulting for i/o buffers: v2.0 Message-ID: <20120226145217.GV55074@deviant.kiev.zoral.com.ua>
next in thread | raw e-mail | index | archive | help
--UjTPyfxZRWWsQMwo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I started a new thread since I do not want this message to interfere with some side discussions caused by my initial letter. I continued development and refinement of the original patch. The latest version is available at http://people.freebsd.org/~kib/misc/vm1.11.patch. Since first announce, intermediate versions of the patch were reviewed by attilio, mdf and pjd. A version of the patch was tested and benchmarked by flo, which apparently shown no difference for a postgresql benchmark. I fixed several shameful bugs, in particular, buildworld now successfully finishes on the patched kernel and working directory both on UFS and newnfs mounts. Apparently, bsdar(1) provides an excellent functional test for the patch. Most significant difference with previous variants is that now the use of prefaulting is opt-in. I discovered that typical filesystem does not handle uiomove() errors gracefully. Only UFS and newnfs are switched to use prefaulting. The newnfs client was changed to properly handle uiomove() failures and to not cause user data loss on EFAULT (this is also applicable for the stock svn sources). Corresponding changes were reviewed by rmacklem. My own feel is that vm1.11.patch is ready to be committed. This is a notification to allow more people to take a look and provide the pre-commit opinions. Thanks. --UjTPyfxZRWWsQMwo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk9KRyEACgkQC3+MBN1Mb4gGIQCgpj2DAyn+TCL0qAeENcoSahWs wG0Anj/7RrFNMnQsngTAokRw27yduMk3 =sknu -----END PGP SIGNATURE----- --UjTPyfxZRWWsQMwo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120226145217.GV55074>