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

[Xen-devel] SEDF parameters dont work ?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Devdutt Patnaik" <xendevid@xxxxxxxxx>
  • Date: Mon, 7 Jul 2008 20:04:03 -0400
  • Cc:
  • Delivery-date: Mon, 07 Jul 2008 17:04:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=HcdcUloUeji0/g38FePbiqhjeX6YFWTd/f+nP8fn/m/DPhphLgzP/37oM+GnN/AJIo 4SnE7cJb5rgx9oCbG2MnDuFFXECKdnB7o7ZkS0U3yKJXk9qA4rpipL7Fkum2K/pAI6lV jvEh/wrwSTjV6DtDDWTSzshaswxhvSBhTIhYk=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I tried using simple weights for setting up the sedf scheduler on Xen 3.1 :

[root@mve4 ~]# xm dmesg | grep -i sched
(XEN) Command line: /xen.gz-2.6.18-53.el5 maxcpus=4 sched=sedf com1=115200,8n1 console=com1,vga
(XEN) Using scheduler: Simple EDF Scheduler (sedf)
[root@mve4 ~]# xm sched-sedf Domain-0 -w 2
[root@mve4 ~]# xm sched-sedf vm01 -w 2
[root@mve4 ~]# xm sched-sedf vm02 -w 1
[root@mve4 ~]# xm sched-sedf vm03 -w 1
[root@mve4 ~]# xm sched-sedf vm04 -w 1
[root@mve4 ~]# xm sched-sedf vm05 -w 1
[root@mve4 ~]# xm sched-sedf vm06 -w 1
[root@mve4 ~]# xm sched-sedf
Name                              ID Period(ms) Slice(ms) Lat(ms) Extra Weight
Domain-0                          -1      -0.0      -0.0    -0.0     -1     -1
vm01                              -1      -0.0      -0.0    -0.0     -1     -1
vm02                              -1      -0.0      -0.0    -0.0     -1     -1
vm03                              -1      -0.0      -0.0    -0.0     -1     -1
vm04                              -1      -0.0      -0.0    -0.0     -1     -1
vm05                              -1      -0.0      -0.0    -0.0     -1     -1
vm06                              -1      -0.0      -0.0    -0.0     -1     -1
[root@mve4 ~]# xm sched-sedf vm01
Name                              ID Period(ms) Slice(ms) Lat(ms) Extra Weight
vm01                              -1      -0.0      -0.0    -0.0     -1     -1

I see that the output doesnt show me the correct values that I passed. All values are -ve ( 0 or 1 ).
Is this the correct way to set these values ? Am I missing something ?

I also managed to kill all VMs while playing around with different values of the slice and period.
Any ideas on why this is happening ?

Thanks,
Devdutt.



_______________________________________________
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®.