Date: Tue, 6 Jul 2004 14:26:44 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: freebsd-threads@freebsd.org Subject: Re: pthread switch (was Odd KSE panic) Message-ID: <Pine.GSO.4.10.10407061425570.14885-100000@pcnet5.pcnet.com> In-Reply-To: <16618.52660.343754.933037@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10407061425570.14885-100000>