Skip to contentSkip to conversation

Fuzzing scheduler CFS

DISCUSSION Meyer Lansky 2 participants 2 messages Jul 22, 2015

lore
Share & tools
lore
#0 lore raw

I am very interested in finding bugs in such code.
In such large projects which method you recommend to seek effective error? I do not necessarily insist on the method of fuzzing, it is one of the options.

the answer to your question:?The scheduler ?should work very quickly, and this demonstrates the quality and level of the algorithm.

I would like to improve the code, but has not found a practical method of finding errors.

Thank you very much for your reply!?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150722/126dea2c/attachment.html

#1 lore raw
Quoted 1 line · Meyer Lansky

I would like to improve the code, but has not found a practical method of finding errors.

Bugs in the scheduler almost always manifest in one of two ways:

1) Truly spectacular crashes or hangs where you *know* you've found a bug.

2) Find a workload that it performs poorly (for instance - how does it deal on a 4-core system with 8 processes that use enough memory that together, they push the system into thrashing mode, plus 40 or 50 processes that only want millisecond timeslices - but at a high realtime priority? Can you find other mixes that give it indigestion?

You're going to have to learn a lot about process scheduling to find bugs in that code. And when I say a lot, I mean "probably as much as you'd cover in a full-semester college course"....

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150722/f1fa9344/attachment.bin