Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2005 21:21:47 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Colin Percival <cperciva@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Scheduler fixes for hyperthreading
Message-ID:  <6451b639f2e0ddacb18f62c571dfeedb@xcllnt.net>
In-Reply-To: <428FE788.8020408@freebsd.org>
References:  <428FC00B.3080909@freebsd.org> <aef05e1ae6104223181ad3cf03e11390@xcllnt.net> <428FD710.4060200@freebsd.org> <9e8314b53980a379445cc8c07086901d@xcllnt.net> <428FE788.8020408@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 21, 2005, at 6:59 PM, Colin Percival wrote:

> Marcel Moolenaar wrote:
>> On May 21, 2005, at 5:49 PM, Colin Percival wrote:
>>> Put simply, threads which share a processor core can monitor each 
>>> others'
>>> memory access patterns, so we need to ensure that such co-scheduling
>>> never
>>> happens between threads which have different privileges.
>>
>> I'll be studying your paper to see if it can be shown that the HT
>> implementation in Itanium is affected as well.
>
> My understanding is that there are no currently released ia64 
> processors
> with hyperthreading support, but that some future ia64 processor(s) are
> likely to be affected.

There are a lot of variables that need to be taken into account and
those variables do not necessarily map perfectly from a P4 to an I2.
Sharing of the L1 cache is not a sufficient condition to create a
side-channel for timing attacks. A reliable time source with enough
precision is also necessary (as you and Stephan have pointed out).
The precision of the time source depends on latencies of the various
cache levels and the micro-architectural behavior of the processor.

All I'm saying is: remain precise and careful.

-- 
  Marcel Moolenaar         USPA: A-39004          marcel@xcllnt.net



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