From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Wed, 22 Jul 2015 06:55:06 -0400 Subject: Fuzzing scheduler CFS In-Reply-To: Your message of "Wed, 22 Jul 2015 10:30:47 +0300." <1437550247.217268464@f358.i.mail.ru> References: <1437550247.217268464@f358.i.mail.ru> Message-ID: <104910.1437562506@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, 22 Jul 2015 10:30:47 +0300, Meyer Lansky said: > 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