pthread switch (was Odd KSE panic)

Daniel Eischen eischen at
Tue Jul 6 11:26:57 PDT 2004

On Tue, 6 Jul 2004, Andrew Gallatin wrote:

> FWIW, inserting a pthread_yield() just before the ioctl call in the
> worker thread speeds things up quite a bit (100us -> 73us) in
> combination with kern.threads.virtual_cpu=1.

Then I guess preemption and setting thread priorities
accordingly would help your problem...

Dan Eischen

More information about the freebsd-threads mailing list