Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 23:01:11 -0400
From:      Stephan Uphoff <ups@tree.com>
To:        Daniel Eriksson <daniel_k_eriksson@telia.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: IPI_PREEMPTION, something to test for normal users?
Message-ID:  <1119063671.27369.134679.camel@palm>
In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A6028579@royal64.emp.zapto.org>
References:  <4F9C9299A10AE74E89EA580D14AA10A6028579@royal64.emp.zapto.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-06-16 at 04:01, Daniel Eriksson wrote:
> On a regular SMP server running 6-CURRENT, is IPI_PREEMPTION something
> to try?
> I've looked around for an explanation of what it does and what possible
> pitfalls there are, but I haven't really found anything. It's only in
> NOTES at the moment, indicating that it isn't for general consumption
> yet(?).

IPI_PREEMPTION allows the scheduler running on CPU A to preempt a thread
on CPU B. This should reduce latency in some circumstances.

More benchmarks are needed to find out if this actually helps or if
additional context switch overhead slows down typical workloads.

The preemption IPI could also be (ab)used later to add security fixes
for hyperthreading as proposed by Colin Percival.

Stephan





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