Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2004 10:47:02 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: pthread switch  (was Odd KSE panic)
Message-ID:  <Pine.BSF.4.21.0407061045280.64529-100000@InterJet.elischer.org>
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.

what about with kern.threads.virtual_cpu untouched?
and what about with the hlt sysctl?

does your worker thread loop to check if there is more work before
waiting to be notified?

> 
> Drew
> 



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