Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2004 20:11:10 +0200
From:      Petri Helenius <pete@he.iki.fi>
To:        freebsd-threads@freebsd.org
Subject:   thread scheduling
Message-ID:  <419A42BE.5090507@he.iki.fi>

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

I have an single CPU (2.0GHz P4 Celeron) machine which is practically 
empty running an application which dispatches detached threads to do 
various kinds of work. It seems that recently process scope threads seem 
to have fairly random scheduling latency up to various seconds while 
system scope threads work as expected. This behaviour seems to have 
introduced between 5.2.1 and 5.3 but cannot point exactly when. I have 
printf's next to pthread_create and at the top of the new thread routine 
and the delay is usually in order of multiple seconds. The application 
also uses itimers if that makes a difference.

Haven't built a simplified application demonstrating the issue yet, but 
will do that if the problem is not known.

Pete



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