[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] credit based scheduler


  • To: "Emmanuel Ackaouy" <ack@xxxxxxxxxxxxx>
  • From: "Molle Bestefich" <molle.bestefich@xxxxxxxxx>
  • Date: Thu, 22 Jun 2006 12:26:02 +0200
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 22 Jun 2006 03:26:23 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SvnJua7DrpyLo0ZiWUfplNvJ/c61/EUjvRDxvT+s9f1RLoNfGUSeumlA0g0uZknUj+VMJOt79q1qwiNCu8EdzThxcSkqysN3sZhm/yr5l9DGekPTalcAqHzkh1akXV2beBHlMwauQERJiC0TeTQRELcFOCPb2xqa+rIPpO0l+N8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Emmanuel Ackaouy wrote:
Let me know if you have any other questions.
It's useful to discuss design philosophy on the list.

Well, if you don't mind! :-)...

The first sentence was actually a question too:
Migrating 1 VCPU across 2 CPUs, or
swapping all 3 VCPUs around in a ring-fashion?

To explain myself a bit more, I was wondering whether the scheduler
conceptually can be said to work a little like this (VCPUs mapped to
CPUs in a "ring-fashion"):

(VCPUs = A, B, C)

Time     CPU1  CPU2
0ms      A     B
30ms     B     C
60ms     C     A
90ms     A     B
120ms    B     C
...etc...

This would give 30ms slices with a time-to-wait for scheduling of 30ms.

Or perhaps more like this:
Time     CPU1  CPU2
0ms      A     B
30ms     A     C
60ms     B     C
90ms     B     A
120ms    C     A
...etc...

Which gives 60ms slices (warmer cache, yummi) but still with a
time-to-wait for scheduling of 30ms.

The latter obviously being a better algorithm, cache-wise...

Hope it's not stupid questions :-).

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.