From owner-freebsd-stable@FreeBSD.ORG Thu May 12 00:21:50 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D1DA16A544 for ; Thu, 12 May 2005 00:21:50 +0000 (GMT) Received: from smtp808.mail.sc5.yahoo.com (smtp808.mail.sc5.yahoo.com [66.163.168.187]) by mx1.FreeBSD.org (Postfix) with SMTP id BFC6F43D77 for ; Thu, 12 May 2005 00:21:49 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.205.64 with login) by smtp808.mail.sc5.yahoo.com with SMTP; 12 May 2005 00:21:49 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 6BB906113; Wed, 11 May 2005 19:21:48 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 90139-02; Wed, 11 May 2005 19:21:45 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 7FD58610A; Wed, 11 May 2005 19:21:45 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.3/8.13.3) with ESMTP id j4C0LiA6057526; Wed, 11 May 2005 19:21:44 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <4282A193.2060208@alumni.rice.edu> Date: Wed, 11 May 2005 19:21:39 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050428) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris References: <4281FBC9.5040506@post.pl> <4096.212.12.51.89.1115816916.squirrel@212.12.51.89> <3aaaa3a050511162864263c74@mail.gmail.com> In-Reply-To: <3aaaa3a050511162864263c74@mail.gmail.com> X-Enigmail-Version: 0.91.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCC81893E9394008FB84154AF" X-Virus-Scanned: amavisd-new at noacks.org cc: stable@freebsd.org cc: Marian Hettwer Subject: Re: SCHED_ULE with SMP broke libpthread/libthr on 5.4-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 00:21:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCC81893E9394008FB84154AF Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/11/05 18:28, Chris wrote: > On 5/11/05, Marian Hettwer wrote: >>On Mi, 11.05.2005, 14:34, Steven Jurczyk sagte: >>>**Using SCHED_ULE on SMP/HT machine broke applications which use >>>libpthread/libthr, probably at context switching between threads... The >>>applications simply hang and they aren't killable (kill -9 don't >>>work).. Usually this also break kernel shutdown (can't flush some inodes >>>or blocks)... >> >>right! >>I have the same problem. My Kernel is basicly a GENERIC with SMP and ULE >>added (4BSD removed). >> >>([mhettwer@siteop-8] <~>)$ uname -a >>FreeBSD siteop-8.mobile.rz 5.4-STABLE FreeBSD 5.4-STABLE #7: Wed May 11 >>12:03:35 CEST 2005 >>root@siteop-8.mobile.rz:/usr/src/sys/i386/compile/SITEOP-8 i386 >> >> >>>This is very big problem for people who want use mysql_server on SMP >>>machines... >> >>indeed. >>The MySQL server won't start and is not killable. I had to switch back to >>SCHED_4BSD :-/ >> >>I would be available for testing packages, as this machine is not in >>production. >> >>it's a dual xeon 2,8 ... you can find detailed information about it at: >>http://unixoid.de/freebsd/dmesg.xeon >> >>:) > > Seems the 4+ cpu crash fix might have broken it at a guess since RC4 > onwards it broke, I am interested in how this goes as I was planning > on upgrading a SMP box to 5.4 and ULE this month. > > Have you guys tried this without SMP? From the sched_ule(4) man page: "BUGS As an experimental scheduler, sched_ule is not enabled by default due to a number of known issues, including weak performance with several known workloads, and reports of instability. Deployment of sched_ule in production environments should be done cautiously." The less well-known 5.4 Open Issues page (http://www.freebsd.org/releases/5.4R/todo.html) speaks to this as well: "Many improvements have been made to the ULE scheduler in 6-CURRENT. These should be merged back to 5.4. The merging is done but ULE is still known to cause panics for some people, especially on SMP systems. Try it with extreme caution." In other words, ULE is known to not be stable and will remain so until someone fixes it. -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enigCC81893E9394008FB84154AF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCgqGYUFz01pkdgZURAhdSAJ9vN/lMPVrENC+zv4ggdVh5rf/t5QCgpijh GZHmiGo9MSpH8fIkp9VTjug= =4Bft -----END PGP SIGNATURE----- --------------enigCC81893E9394008FB84154AF--