Date: Wed, 11 May 2005 19:21:39 -0500 From: Jonathan Noack <noackjr@alumni.rice.edu> To: Chris <chrcoluk@gmail.com> Cc: Marian Hettwer <MH@kernel32.de> Subject: Re: SCHED_ULE with SMP broke libpthread/libthr on 5.4-RELEASE Message-ID: <4282A193.2060208@alumni.rice.edu> In-Reply-To: <3aaaa3a050511162864263c74@mail.gmail.com> References: <4281FBC9.5040506@post.pl> <4096.212.12.51.89.1115816916.squirrel@212.12.51.89> <3aaaa3a050511162864263c74@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <MH@kernel32.de> 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 <pid> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4282A193.2060208>