linux_threads nice bug ? nice / nohup confusion

Terry Lambert tlambert2 at mindspring.com
Mon May 26 16:49:29 PDT 2003


Martin Blapp wrote:
> After closly looking at some of our mysql performance issues,
> I've found out that all mysqld threads (I'm using linuxthreads)
> are running at +14 niceness. This is of course a catastropy.
> 
> A renice of the main thread does not help. If I do that, I see
> that all new created threads have again niceness +14. Starting
> without nohup makes +11 as niceness.
> 
> I guess there is somewhere a severe bug here.

Depends; "niceness" is relative to the scheduler you are using.
Try using the other scheduler, and this should become pretty
obvious to you.

-- Terry


More information about the freebsd-current mailing list