Mark Lord wrote:
Try this on RSDL:
--- sched.bak.c 2007-03-16 23:07:23.000000000 +0300
+++ sched.c 2007-03-19 23:49:40.000000000 +0300
@@ -938,7 +938,11 @@ static void activate_task(struct task_st
(now - p->timestamp) >> 20);
}
- p->quota = rr_quota(p);
+ /*
+ * boost factor hardcoded to 5; adjust to your liking
+ * higher means more likely to DoS
+ */
+ p->quota = rr_quota(p) + (((now - p->timestamp) >> 20) * 5);
p->prio = effective_prio(p);
p->timestamp = now;
__activate_task(p, rq);
Thanks!
--
Al
-