From: Keir Fraser Subject: Re: credit based scheduler Date: Wed, 21 Jun 2006 22:51:45 +0100 Message-ID: References: <44991A88.E57C.0030.0@novell.com> <20060621162818.GA19690@cockermouth.uk.xensource.com> <62b0912f0606211239o67824f6al58905dc2657309be@mail.gmail.com> <20060621212649.GA20843@cockermouth.uk.xensource.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060621212649.GA20843@cockermouth.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Emmanuel Ackaouy Cc: Xen Devel , Molle Bestefich List-Id: xen-devel@lists.xenproject.org On 21 Jun 2006, at 22:26, Emmanuel Ackaouy wrote: > Second, migration or not, once you start time-slicing, you have > to deal with cache warming costs. The important thing is to run > long enough time slices to take advantage of the cache. Yep, locality across timeslices doesn't really help. If you've run a different VCPU between timeslices then the caches will be cold. Even if there is a small cache advantage, it's very unlikely to balance the cost of deliberately leaving CPUs idle. Things may be more interesting in NUMA environments, but there's always the per-VCPU affinity map to restrict cross-CPU scheduling to within a NUMA node. -- Keir