From owner-freebsd-threads@FreeBSD.ORG Sat Feb 21 17:37:46 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A8D16A4CE; Sat, 21 Feb 2004 17:37:46 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E334543D1F; Sat, 21 Feb 2004 17:37:45 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from mail.chesapeake.net (localhost [127.0.0.1]) by mail.chesapeake.net (8.12.10/8.12.10) with ESMTP id i1M1bhXJ038194; Sat, 21 Feb 2004 20:37:43 -0500 (EST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost)i1M1bhYw038188; Sat, 21 Feb 2004 20:37:43 -0500 (EST) (envelope-from jroberson@chesapeake.net) X-Authentication-Warning: mail.chesapeake.net: jroberson owned process doing -bs Date: Sat, 21 Feb 2004 20:37:43 -0500 (EST) From: Jeff Roberson To: David Xu In-Reply-To: <40340920.6010002@freebsd.org> Message-ID: <20040221203641.E35589@mail.chesapeake.net> References: <56666.68.106.19.246.1077058348.squirrel@mail.asn.net> <40332E18.6090209@freebsd.org><40340920.6010002@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: More on MySQL -- Fatal trap 12 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 01:37:46 -0000 On Thu, 19 Feb 2004, David Xu wrote: > Kris Gale wrote: > > >>Can you tell us what scheduler are you using ? if it is ULE, can you > >>try 4BSD too ? > >>I think this is a heavy load for scheduler too, not just for pthread > >>library. > >> > >> > > > >Originally, I was using 4BSD, but I switched to ULE yesterday. Same > >problems either way. > > > > > With ULE, your test program failed on my machine, but with 4BSD, I got: > > Threads (connected/running/created/cached): 1801/91/3607/0 > Threads (connected/running/created/cached): 1801/90/3607/0 > Threads (connected/running/created/cached): 1801/91/3607/0 > Threads (connected/running/created/cached): 1801/91/3607/0 > Threads (connected/running/created/cached): 1801/91/3607/0 > ... > > It is working fine 10 minutes without any problem. If KSE is failing with ULE in some way then you are not properly using the sched api. The scheduler has to be told when threads, kses, ksegrps, and procs are created and destroyed. ULE is more sensitive to this than 4BSD because it tracks more state on each object. Cheers, Jeff > > >Kris Gale > >_______________________________________________ > >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" > > > > > > > > > > > _______________________________________________ > 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" >