Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2004 12:05:08 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: pthread switch  (was Odd KSE panic)
Message-ID:  <16618.52660.343754.933037@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.BSF.4.21.0407051539010.66234-100000@InterJet.elischer.org>
References:  <Pine.GSO.4.10.10407051758070.3217-100000@pcnet5.pcnet.com> <Pine.BSF.4.21.0407051539010.66234-100000@InterJet.elischer.org>

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

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.

Drew



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