On Fri, Nov 24, 2006 at 08:43:03AM +0100, Andreas Baetz wrote: > On Thursday 23 November 2006 20:29, Herbert Poetzl wrote: > > On Tue, Nov 21, 2006 at 10:05:07AM +0100, Andreas Baetz wrote: > > > Hi, > > > > > > I updated to another kernel (2.6.18.2) and another vserver version > > > (vs2.0.2.2-rc6), and I think the hard cpu scheduling doesn't work > > > as expected. > > > > works here as expected (with 2.6.18.3-vs2.0.2.2-rc8) > > > > > What I'm trying to do is to limit the CPU cycles for xid 8004 (deb4). > > > > > > In vserver 8004 the following command is running: > > > > > > cat /dev/zero | gzip | gzip | gzip > /dev/null > > > > hmm, strange, could you try with the following sequence > > (see links for the sources) and let me know what top > > and vtop report on that? > > > > vcmd -i 666 -BC ctx_create .flagword=^34^33^32^8 -- cpuhog > > I tested with 2.6.18.2-vs2.0.2.2-rc6, because 2.6.18.3-vs2.0.2.2-rc8 > freezed, see my other post CPU Scheduling doesn't seem to work.
yes, I can confirm this, it is the result of introducing the __leav/enter functionality for irq handling, which in turn broke the scheduler accounting ... will be fixed shortly in stable and devel (we are currently trying to figure _what_ the best solution will be) stay tuned, Herbert > vtop: > op - 08:30:31 up 39 min, 6 users, load average: 0.38, 0.31, 0.20 > Tasks: 160 total, 7 running, 153 sleeping, 0 stopped, 0 zombie > Cpu(s): 98.7%us, 1.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st > Mem: 904876k total, 559776k used, 345100k free, 52368k buffers > Swap: 1003960k total, 0k used, 1003960k free, 313956k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 8219 root 25 0 1424 244 192 R 94.7 0.0 0:17.17 cpuhog > > top: > top - 08:31:43 up 41 min, 6 users, load average: 1.14, 0.58, 0.30 > Tasks: 146 total, 3 running, 143 sleeping, 0 stopped, 0 zombie > Cpu(s): 98.0%us, 1.7%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st > Mem: 904876k total, 561456k used, 343420k free, 52552k buffers > Swap: 1003960k total, 0k used, 1003960k free, 314244k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 3768 root 15 0 53680 11m 4680 S 2.0 1.3 1:07.79 Xorg > > > Maybe there is generally something wrong with my config ? > Do I need "Limit the idle task" in the kernel config ? > I always used a vanilla kernel for patching in all cases. > > Andreas > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > _______________________________________________ > Vserver mailing list > [email protected] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
