From owner-freebsd-current@FreeBSD.ORG Sun Jul 20 12:34:57 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CC3B106566B; Sun, 20 Jul 2008 12:34:57 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 60DB28FC1B; Sun, 20 Jul 2008 12:34:57 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 869D61CF83; Sun, 20 Jul 2008 14:32:56 +0200 (CEST) Date: Sun, 20 Jul 2008 14:32:56 +0200 From: Ed Schouten To: FreeBSD Current , FreeBSD Arch Message-ID: <20080720123256.GE21188@hoeg.nl> References: <20080702190901.GS14567@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lkTb+7nhmha7W+c3" Content-Disposition: inline In-Reply-To: <20080702190901.GS14567@hoeg.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: MPSAFE TTY schedule X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 12:34:57 -0000 --lkTb+7nhmha7W+c3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello everyone, Today is July 20, which means I'm supposed to send you a message: * Ed Schouten wrote: > July 20 2008: > Send another heads-up to the lists about the new TTY layer. > Kindly ask people to test the patchset, port more drivers, etc. As usual, the latest mpsafetty patchset can be found here. I would really appreciate it if I could get more reviews on the code. Thanks! http://www.il.fontys.nl/~ed/projects/mpsafetty/patches/ The following drivers have not been ported to the new TTY layer yet: cy(4), digi(4), ng_h4(4), ng_tty(4), nmdm(4), rc(4), rp(4), si(4), sio(4), snp(4), ubser(4). I've been working on nmdm(4). I'll probably get it working in time. If not it will be fixed not long after the integration next month. The line disciplines like snp(4), ng_tty(4) and ng_h4(4) can only be fixed after the import, because the hooks layer will be written after the import. In the other news: kris@ reported a possible performance regression to me. He discovered `make -C /usr/ports index' consumed more system time on his hardware when the mpsafetty patches were applied. For some reason, I'm not capable of reproducing them. I even experience a performance gain when running mpsafetty, which is quite plausible, because I've also made some small improvements to `struct session' locking, but we also don't pick up Giant in kern_proc.c anymore. Because kris@ committed a patch to improve `make index' performance yesterday, I re-ran my tests today, showing the performance difference is now nihil. Here are the raw numbers: http://80386.nl/files/mpsafetty-stats.txt Maybe someone is interested in performing more thorough benchmarks? Yours, --=20 Ed Schouten WWW: http://80386.nl/ --lkTb+7nhmha7W+c3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiDMHgACgkQ52SDGA2eCwXIaACePBQ+9QntL3faYFCyck8VOlOp C6QAn3E0Pd1dm3xBTa77pRrAbAvlPO5j =+NBc -----END PGP SIGNATURE----- --lkTb+7nhmha7W+c3--