WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] SEDF parameters dont work ?

To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] SEDF parameters dont work ?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=qTVpR7IHGvf7RqltrbI+5W7j8vejb+Ad8bl+Si7NZ/w=; b=oJl6blkRob/CTqVX9lgmyhpgr5SDMkrq/H4UPi2pzgGTIMTK0g5f93U4BiYhZXszJ8 lSEqPMyVWHxiZiUoxDBMcRXmpI1OE6SJn6qixcscY7E5Zodkd5ZgpQAPqcuRmVcqFbyo 0JH0qb5n54QPwMlSiD4Huqqlnw1LOu4Ep1RW8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] SEDF parameters dont work ?, Devdutt Patnaik <=