Commit Graph

2 Commits

Author SHA1 Message Date
Junjie Mao
d9a83bd7be Adjust the time slice to 50ms
The original time slice (200ms) is too large for the priority test to
generate a satisfactory result in 20s. If we only schedule 5 times a
second, there are only 100 pick_next calls to the scheduler.

I believe making scheduling more frequently does little harm to the
system. Actually more scheduling opportunities may also reveal bugs
which are not triggered previously. Adopting smaller time slices also
allows us to reduce the time spent on the priority test, which can
benefit the autotesting system.

Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
2015-03-24 10:52:27 +08:00
chyyuu
f9773095fe add lab answers 2014-08-20 15:42:20 +08:00