|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
[Xen-devel] SEDF parameters dont work ? 
| 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 <=
 |  |  | 
  
    |  |  |