[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [ckrm-tech] [RFC 0/4] sched: Add CPU rate caps (improved)
Peter Williams wrote:

> This behaviour is caused by the "make clean" being a short lived CPU
> intensive task. It was made worse by the facts that my simplifications
> to the sinbin duration calculation which assumed a constant CPU burst
> size based on the time slice and that exiting tasks could still have
> caps enforced. (The simplification was done to avoid 64 bit divides.)
> I've put in a more complex sinbin calculation (and don't think the 64
> bit divides will matter too much as they're on an infrequently travelled
> path. Exiting tasks are now excluded from having caps enforced on the
> grounds that it's best for system performance to let them get out of the
> way as soon as possible. A patch is attached and I would appreciate it
> if you could see if it improves the situation you are observing.

Sorry for my late reply.

The followings are the results of patched kernel. Unfortunately,
the patch doesn't seem to help my situation.

$ ~/ -C 900 /usr/bin/time make clean
1.61user 0.29system 1:33.94elapsed 2%CPU

$ ~/ -C 100 /usr/bin/time make clean
1.68user 0.27system 3:34.45elapsed 0%CPU

MAEDA Naoaki

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-09 07:45    [W:0.051 / U:9.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site