Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 20:37:43 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        David Xu <davidxu@freebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: More on MySQL -- Fatal trap 12
Message-ID:  <20040221203641.E35589@mail.chesapeake.net>
In-Reply-To: <40340920.6010002@freebsd.org>
References:  <56666.68.106.19.246.1077058348.squirrel@mail.asn.net> <Pine.GSO.4.10.10402171926550.4193-100000@pcnet5.pcnet.com> <40332E18.6090209@freebsd.org><40340920.6010002@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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"
>


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040221203641.E35589>