remzi-arpacidusseau / ostep-homework

2.1k stars 999 forks source link

mlfq.py bug #45

Open monk-after-90s opened 2 years ago

monk-after-90s commented 2 years ago
./mlfq.py -l 0,150,0:100,50,5:100,50,5 -q 10 -n 3 -i 5 -S -B 50 -c

result:

...
[ time 50 ] BOOST ( every 50 )
[ time 50 ] Run JOB 0 at PRIORITY 2 [ TICKS 0 ALLOT 1 TIME 99 (of 150) ]
[ time 51 ] Run JOB 0 at PRIORITY 1 [ TICKS 9 ALLOT 1 TIME 98 (of 150) ]
...

After boost, only one run at PRIORITY 2?

TheGaBr0 commented 1 year ago

Same issue here, it's a bug.

kudojp commented 1 year ago

Agreed. I think this is a bug too.