Re: Possible Threading problem with -CURRENT / MySQL?

From: David Xu <davidxu_at_freebsd.org>
Date: Fri, 18 Jun 2004 16:56:56 +0800
When this pthread program runs under ULE, I can not interrupt it
pressing ctrl+c has no effect, I have this problem for a long time.
http://people.freebsd.org/~davidxu/kse/locktest.c

David Xu

Robert Watson wrote:
> ULE seems to do a very good job of scheduling interactive tasks over
> other
> workloads, resulting in a very "snappy" feel on my boxes, despite heavy
> CPU load from background builds, etc.  The workload I looked at had no
> real "interactive" component, although it was a latency-centric RPC
> test,
> so timely hand-off as well as high throughput would be important.  I
> know
> that Jeff's measurement work on ULE had a substantial focus on deadlines
> -- whether or not ULE was timely in scheduling tasks, etc, and that he
> demonstrated that it was much stronger than most other available
> schedulers in this area.
> 
> One of the next obvious steps in optimizing either ULE or 4BSD is going
> to
> be to spend a lot of time sitting with KTR(4) and looking at context
> switch traces for "dumb things", such as bouncing between CPUs, rapid
> switches back and forth, undo multiple wakeups, etc.
> 
> Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
> robert_at_fledge.watson.org      Senior Research Scientist, McAfee Research
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Fri Jun 18 2004 - 06:54:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC