From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14252 invoked from network); 25 Jul 2000 17:42:23 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 Jul 2000 17:42:23 -0000 Received: from skull.piratehaven.org (adsl-63-194-89-126.dsl.snfc21.pacbell.net [63.194.89.126]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id NAA09674 for ; Tue, 25 Jul 2000 13:42:22 -0400 Received: (qmail 11418 invoked by uid 1012); 25 Jul 2000 17:42:14 -0000 Date: Tue, 25 Jul 2000 10:42:14 -0700 From: Brian Pomerantz To: Alvin Starr Cc: Michael Widenius , mysql@lists.mysql.com, axp-list@redhat.com, grimmer@suse.de Subject: Re: Alpha's,MySQL and thread problems. Message-ID: <20000725104214.A10789@skull.piratehaven.org> Mail-Followup-To: Alvin Starr , Michael Widenius , mysql@lists.mysql.com, axp-list@redhat.com, grimmer@suse.de References: <14716.56609.351817.847998@tik.mysql.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: X-homepage: http://www.piratehaven.org/~bapper/ On Tue, Jul 25, 2000 at 01:22:22PM -0400, Alvin Starr wrote: > > Things have been running quite reliable for over a week now so I think > that this may be the problem. > > I think I will raise this one in the kernel and Alpha groups. I have to > admit that I was supprised that I did not get any feedback at all. > We've been seeing thread problems as well here at LLNL. None of us have had time to look into it more. We're working on a parallel file system and when we ran with pthreads, it would cause the server to hang shortly after starting (it uses a work pile for handling requests). Some researchers over at Compaq's SRC took the pthread code and strip a bunch of code out of it to make a thread library that wouldn't hang. I was told that they sent a message to Xavier Leroy about the problem, but I don't know for sure that anything was done about it. From what I understand, there are missing memory barriers in the locking routines. I've seen condition variables fall through when another thread has already grabbed the mutex (more than one thread holding a mutex at once). They seemed to think the problem existed on Intel as well but it seems to be a little harder to trigger. BAPper