From owner-freebsd-threads@FreeBSD.ORG Mon Nov 12 11:07:07 2007 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 385AF16A41A for ; Mon, 12 Nov 2007 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 24D3F13C4CB for ; Mon, 12 Nov 2007 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lACB77A1089846 for ; Mon, 12 Nov 2007 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lACB76YT089842 for freebsd-threads@FreeBSD.org; Mon, 12 Nov 2007 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Nov 2007 11:07:06 GMT Message-Id: <200711121107.lACB76YT089842@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-threads@FreeBSD.org X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 11:07:07 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/76690 threads fork hang in child for -lc_r 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/20016 threads pthreads: Cannot set scheduling timer/Cannot set virtu s threa/24472 threads libc_r does not honor SO_SNDTIMEO/SO_RCVTIMEO socket o s threa/24632 threads libc_r delicate deviation from libc in handling SIGCHL s bin/32295 threads pthread dont dequeue signals s threa/34536 threads accept() blocks other threads o kern/38549 threads the procces compiled whith pthread stopped in pthread_ s threa/39922 threads [threads] [patch] Threaded applications executed with s threa/48856 threads Setting SIGCHLD to SIG_IGN still leaves zombies under s threa/49087 threads Signals lost in programs linked with libc_r s kern/64313 threads FreeBSD (OpenBSD) pthread implicit set/unset O_NONBLOC o threa/70975 threads unexpected and unreliable behaviour when using SYSV se o threa/72429 threads threads blocked in stdio (fgets, etc) are not cancella o threa/72953 threads fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYST o threa/75273 threads FBSD 5.3 libpthread (KSE) bug o threa/75374 threads pthread_kill() ignores SA_SIGINFO flag s threa/76694 threads fork cause hang in dup()/close() function in child (-l o threa/79683 threads svctcp_create() fails if multiple threads call at the o threa/80435 threads panic on high loads o threa/83914 threads [libc] popen() doesn't work in static threaded program s threa/84483 threads problems with devel/nspr and -lc_r on 4.x o threa/85160 threads [libthr] [patch] libobjc + libpthread/libthr crash pro o kern/91266 threads [threads] Trying sleep, but thread marked as sleeping s threa/94467 threads send(), sendto() and sendmsg() are not correct in libc s threa/100815 threads FBSD 5.5 broke nanosleep in libc_r o threa/101323 threads fork(2) in threaded programs broken. o threa/103975 threads Implicit loading/unloading of libpthread.so may crash o threa/110636 threads gdb(1): using gdb with multi thread application with l o threa/113666 threads misc/shared-mime-info doesn't install, can't find thre 28 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/19247 threads uthread_sigaction.c does not do anything wrt SA_NOCLDW s kern/22190 threads A threaded read(2) from a socketpair(2) fd can sometim s threa/30464 threads pthread mutex attributes -- pshared s threa/37676 threads libc_r: msgsnd(), msgrcv(), pread(), pwrite() need wra s threa/40671 threads pthread_cancel doesn't remove thread from condition qu s threa/69020 threads pthreads library leaks _gc_mutex o threa/79887 threads [patch] freopen() isn't thread-safe o threa/80992 threads abort() sometimes not caught by gdb depending on threa o threa/110306 threads apache 2.0 segmentation violation when calling gethost o threa/115211 threads pthread_atfork misbehaves in initial thread o threa/116668 threads can no longer use jdk15 with libthr on -stable SMP 11 problems total. From owner-freebsd-threads@FreeBSD.ORG Mon Nov 12 20:43:34 2007 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0513816A46B; Mon, 12 Nov 2007 20:43:34 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id BAF5013C4A5; Mon, 12 Nov 2007 20:43:33 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.100] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id lACKhCaw012770 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 12 Nov 2007 15:43:14 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 12 Nov 2007 12:44:49 -0800 (PST) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: David Xu In-Reply-To: <472927B2.2090102@freebsd.org> Message-ID: <20071112124354.H639@10.0.0.1> References: <4727E907.4090308@freebsd.org> <499c70c0710310217k3e55b66en23d32c2f6a613c99@mail.gmail.com> <472927B2.2090102@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Ivan Voras , freebsd-threads@freebsd.org Subject: Re: PTHREAD_YIELDLOOPS boosts mysql super-smack performance X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 20:43:34 -0000 On Thu, 1 Nov 2007, David Xu wrote: > Ivan Voras wrote: >> Abdullah Ibn Hamad Al-Marri wrote: >> >>> On Oct 31, 2007 5:31 AM, David Xu wrote: >> >> >>>> it seems over 44% performance is improved. >> >> >>> When could you please commit these changes of libthr will hit RELENG_7 >>> so we could benefit of these improvements? >> >> >> I agree this would be very nice to have in 7.0, especially since it's >> off by default. We can add a tagline to the release to the tune of >> "MySQL gets smacked!" >> > > I will request a MFC. :-) Did you try recompiling mysql to pickup chris's ADAPTIVE_MUTEX_NP changes? How does this compare? > > Regards, > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > From owner-freebsd-threads@FreeBSD.ORG Tue Nov 13 01:23:49 2007 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D483B16A419; Tue, 13 Nov 2007 01:23:49 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C291313C4BC; Tue, 13 Nov 2007 01:23:49 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAD1Ni4n039156; Tue, 13 Nov 2007 01:23:46 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4738FCD8.4010907@freebsd.org> Date: Tue, 13 Nov 2007 09:24:40 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070516 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Roberson References: <4727E907.4090308@freebsd.org> <499c70c0710310217k3e55b66en23d32c2f6a613c99@mail.gmail.com> <472927B2.2090102@freebsd.org> <20071112124354.H639@10.0.0.1> In-Reply-To: <20071112124354.H639@10.0.0.1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Ivan Voras , freebsd-threads@FreeBSD.org Subject: Re: PTHREAD_YIELDLOOPS boosts mysql super-smack performance X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2007 01:23:49 -0000 Jeff Roberson wrote: > On Thu, 1 Nov 2007, David Xu wrote: > >> Ivan Voras wrote: >> >>> Abdullah Ibn Hamad Al-Marri wrote: >>> >>>> On Oct 31, 2007 5:31 AM, David Xu wrote: >>> >>> >>> >>>>> it seems over 44% performance is improved. >>> >>> >>> >>>> When could you please commit these changes of libthr will hit RELENG_7 >>>> so we could benefit of these improvements? >>> >>> >>> >>> I agree this would be very nice to have in 7.0, especially since it's >>> off by default. We can add a tagline to the release to the tune of >>> "MySQL gets smacked!" >>> >> >> I will request a MFC. :-) > > > Did you try recompiling mysql to pickup chris's ADAPTIVE_MUTEX_NP > changes? How does this compare? > >> >> Regards, Yes, I had recompiled it, but I hadn't found any performance change with ADAPTIVE_MUTEX_NP :-) Regards, David Xu From owner-freebsd-threads@FreeBSD.ORG Fri Nov 16 01:16:16 2007 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1996216A476; Fri, 16 Nov 2007 01:16:16 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EA74913C457; Fri, 16 Nov 2007 01:16:15 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (kmacy@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAG1GFFw065570; Fri, 16 Nov 2007 01:16:15 GMT (envelope-from kmacy@freefall.freebsd.org) Received: (from kmacy@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAG1GFMg065566; Fri, 16 Nov 2007 01:16:15 GMT (envelope-from kmacy) Date: Fri, 16 Nov 2007 01:16:15 GMT Message-Id: <200711160116.lAG1GFMg065566@freefall.freebsd.org> To: lars@koellers.net, kmacy@FreeBSD.org, freebsd-threads@FreeBSD.org From: kmacy@FreeBSD.org Cc: Subject: Re: kern/64313: FreeBSD (OpenBSD) pthread implicit set/unset O_NONBLOCK flag X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 01:16:16 -0000 Synopsis: FreeBSD (OpenBSD) pthread implicit set/unset O_NONBLOCK flag State-Changed-From-To: suspended->closed State-Changed-By: kmacy State-Changed-When: Fri Nov 16 01:15:27 UTC 2007 State-Changed-Why: libc_r is no longer supported http://www.freebsd.org/cgi/query-pr.cgi?pr=64313 From owner-freebsd-threads@FreeBSD.ORG Fri Nov 16 17:09:49 2007 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E06D516A420; Fri, 16 Nov 2007 17:09:49 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AC52313C447; Fri, 16 Nov 2007 17:09:49 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (kmacy@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGH9n3q021463; Fri, 16 Nov 2007 17:09:49 GMT (envelope-from kmacy@freefall.freebsd.org) Received: (from kmacy@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGH9nj5021459; Fri, 16 Nov 2007 17:09:49 GMT (envelope-from kmacy) Date: Fri, 16 Nov 2007 17:09:49 GMT Message-Id: <200711161709.lAGH9nj5021459@freefall.freebsd.org> To: lawlopez@cisco.com, kmacy@FreeBSD.org, freebsd-threads@FreeBSD.org From: kmacy@FreeBSD.org Cc: Subject: Re: kern/20016: pthreads: Cannot set scheduling timer/Cannot set virtual timer X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 17:09:50 -0000 Synopsis: pthreads: Cannot set scheduling timer/Cannot set virtual timer State-Changed-From-To: open->closed State-Changed-By: kmacy State-Changed-When: Fri Nov 16 17:09:03 UTC 2007 State-Changed-Why: libc_r is no longer supported and the timeout code has changed substantially http://www.freebsd.org/cgi/query-pr.cgi?pr=20016 From owner-freebsd-threads@FreeBSD.ORG Fri Nov 16 18:27:12 2007 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CB2E16A41A; Fri, 16 Nov 2007 18:27:12 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 51D5913C458; Fri, 16 Nov 2007 18:27:12 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (kmacy@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGIRChC026743; Fri, 16 Nov 2007 18:27:12 GMT (envelope-from kmacy@freefall.freebsd.org) Received: (from kmacy@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGIRCed026739; Fri, 16 Nov 2007 18:27:12 GMT (envelope-from kmacy) Date: Fri, 16 Nov 2007 18:27:12 GMT Message-Id: <200711161827.lAGIRCed026739@freefall.freebsd.org> To: shh@ricochet.net, kmacy@FreeBSD.org, freebsd-threads@FreeBSD.org From: kmacy@FreeBSD.org Cc: Subject: Re: kern/19247: uthread_sigaction.c does not do anything wrt SA_NOCLDWAIT X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 18:27:12 -0000 Synopsis: uthread_sigaction.c does not do anything wrt SA_NOCLDWAIT State-Changed-From-To: suspended->closed State-Changed-By: kmacy State-Changed-When: Fri Nov 16 18:26:51 UTC 2007 State-Changed-Why: libc_r is no longer supported http://www.freebsd.org/cgi/query-pr.cgi?pr=19247 From owner-freebsd-threads@FreeBSD.ORG Sat Nov 17 07:04:13 2007 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6E9B16A417; Sat, 17 Nov 2007 07:04:13 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B8BA613C48A; Sat, 17 Nov 2007 07:03:07 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (kmacy@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAH737lJ080850; Sat, 17 Nov 2007 07:03:07 GMT (envelope-from kmacy@freefall.freebsd.org) Received: (from kmacy@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAH7210p080845; Sat, 17 Nov 2007 07:02:01 GMT (envelope-from kmacy) Date: Sat, 17 Nov 2007 07:02:01 GMT Message-Id: <200711170702.lAH7210p080845@freefall.freebsd.org> To: relos@tssm.kirov.ru, kmacy@FreeBSD.org, freebsd-threads@FreeBSD.org From: kmacy@FreeBSD.org Cc: Subject: Re: kern/38549: the procces compiled whith pthread stopped in pthread_poll if system date change to lower date X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2007 07:04:14 -0000 Synopsis: the procces compiled whith pthread stopped in pthread_poll if system date change to lower date State-Changed-From-To: open->feedback State-Changed-By: kmacy State-Changed-When: Sat Nov 17 07:00:45 UTC 2007 State-Changed-Why: Sounds like libc_r's reliance on SIGVTALRM. Has this been seen with libkse or libthr? http://www.freebsd.org/cgi/query-pr.cgi?pr=38549