[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [Xen-users] Credit Scheduler!
Hi Emmanuel, I modified my sched_credit.c manually and it looks like this right now.. <snip> if ( cmd->u.credit.weight != 0 ) { csched_priv.weight -= sdom->weight; if ( !list_empty(&sdom->active_sdom_elem) ) { csched_priv.weight -= sdom->weight; csched_priv.weight += cmd->u.credit.weight; } sdom->weight = cmd->u.credit.weight; csched_priv.weight += sdom->weight; } if ( cmd->u.credit.cap != (uint16_t)~0U ) sdom->cap = cmd-> u.credit.cap; </snip> I futher did a `make clean; make; make install` and tried booting into the unstable version again. I then tried setting the weight of one of the domains to 512 and it worked perfectly. The CPU distribution was also as expected! However I next tried setting the weight to 20 and got the error shown below! I booted again in xen and tried setting the weight to 256 and it worked however when I set it to 255, xen again crashed! (XEN) BUG at sched_credit.c:764 (XEN) ----[ Xen-3.0-unstable Not tainted ]---- (XEN) CPU: 0 (XEN) EIP: e008:[<ff10fc30>] csched_tick+0x420/0x5a0 (XEN) EFLAGS: 00010096 CONTEXT: hypervisor (XEN) eax: 00000000 ebx: 00000000 ecx: 0000000a edx: 00000000 (XEN) esi: ff1d7080 edi: ff192e08 ebp: ff164721 esp: ff19def8 (XEN) cr0: 8005003b cr3: 0fcf8000 (XEN) ds: e010 es: e010 fs: 0000 gs: 0000 ss: e010 cs: e008 (XEN) Xen stack trace from esp=ff19def8: (XEN) ff1641df ff164721 000002fc 00000292 ff16e500 00000020 00000246 ff192e00(XEN) 0000001e 000000ff 00000000 00000000 ff16e500 ff1a5144 000000ff 00000000(XEN) ff1d7080 ff19dfb4 0000002d ff111f22 00000000 00000003 00000001 ff1a6200(XEN) ff1a6200 ffbfed80 33a125ef ff114126 00000000 ff1d7080 0000002d ff11e306(XEN) ff19df7c 00000000 ff1a7780 00000000 00000000 ff1d7080 0000002d ff112f42(XEN) 00f90000 ff11a73e ff19dfb4 ff11a752 00000001 000002f0 ff19dfb4 00000001(XEN) 00000000 00000000 00000001 c039e000 00000000 00000000 000d0000 c01013a7(XEN) 00000061 00000246 c039ffa4 00000069 0000007b 0000007b 00000000 00000000(XEN) 00000000 ff1d7080 (XEN) Xen call trace: (XEN) [<ff10fc30>] csched_tick+0x420/0x5a0 (XEN) [<ff111f22>] t_timer_fn+0x72/0xc0 (XEN) [<ff114126>] timer_softirq_action+0xc6/0x120 (XEN) [<ff11e306>] apic_timer_interrupt+0x46/0x50 (XEN) [<ff112f42>] do_softirq+0x32/0x50 (XEN) [<ff11a73e>] idle_loop+0x4e/0x80 (XEN) [<ff11a752>] idle_loop+0x62/0x80 (XEN) (XEN) ************************************ (XEN) CPU0 FATAL TRAP 6 (invalid opcode), ERROR_CODE 0000, IN INTERRUPT CONTEXT.(XEN) System shutting down -- need manual reset. (XEN) ************************************ Can you please have a look into it! I guess xen crashes only when weights less than 256 are set to a particular domain! Thanks & Regards, Hardeep Singh On 6/30/06, Emmanuel Ackaouy <ack@xxxxxxxxxxxxx> wrote: On Fri, Jun 30, 2006 at 09:49:57AM -0500, Hardeep Singh wrote: -- hardeep _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |