Date: Wed, 18 Aug 2010 16:46:23 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: pluknet <pluknet@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580 Message-ID: <20100818134623.GU2396@deviant.kiev.zoral.com.ua> In-Reply-To: <AANLkTimXxF0US60NsbOV_HvRrib7SJWmrLqpEpznPTxB@mail.gmail.com> References: <AANLkTimJ=d06D2z24QyRQ98zEa1Pemk4=vkNGLNiX90N@mail.gmail.com> <AANLkTi=22WWy8Z5VWqri1p70iRzyocD9bWvNHwJavZ%2Bj@mail.gmail.com> <20100816185456.GU2396@deviant.kiev.zoral.com.ua> <AANLkTimfZ=UCiX9eo9XCwcROwViFCxJoB-rD1JxdAt2B@mail.gmail.com> <20100817160445.GO2396@deviant.kiev.zoral.com.ua> <AANLkTimyk0ZUnHpxxJuJtTya2U3npj_5Bm8brmwHfzr3@mail.gmail.com> <AANLkTimXxF0US60NsbOV_HvRrib7SJWmrLqpEpznPTxB@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--hD4TXpRh/LvuDKsa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 18, 2010 at 02:43:19PM +0400, pluknet wrote: > On 18 August 2010 12:07, pluknet <pluknet@gmail.com> wrote: > > On 17 August 2010 20:04, Kostik Belousov <kostikbel@gmail.com> wrote: > > > >> > >> Also please take a note of the John' suggestion to use the taskqueue. > > > > I decided to go this road. Thank you both. > > Now I do nfs buildkernel survive and prepare some benchmark results. > > >=20 > So, I modified the patch to defer proc_create() with taskqueue(9). > Below is `time make -j5 buildkernel WITHOUT_MODULES=3Dyes` perf. evaluati= on. > Done on 4-way CPU on clean /usr/obj with /usr/src & /usr/obj both > nfs-mounted over 1Gbit LAN. >=20 > clean old > 1137.985u 239.411s 7:42.15 298.0% 6538+2133k 87+43388io 226pf+0w >=20 > clean new > 1134.755u 240.032s 7:41.25 298.0% 6553+2133k 87+43367io 224pf+0w >=20 > Patch needs polishing, though it generally works. > Not sure if shep_chan (or whatever name it will get) needs locking. As I said yesterday, if several requests to create nfsiod coming one after another, you would loose all but the last. You should put the requests into the list, probably protected by nfs_iod_mtx. --hD4TXpRh/LvuDKsa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkxr5C8ACgkQC3+MBN1Mb4gUFQCeMGYn5XUfyfY2Bm5SUjJHqSQ5 HBoAoOWMETGNQTdDG0fsNdowHsG1/YXG =CXex -----END PGP SIGNATURE----- --hD4TXpRh/LvuDKsa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100818134623.GU2396>