lkml.org 
[lkml]   [2012]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Plumbers: Tweaking scheduler policy micro-conf RFP

(restored the Cc:s)

* Chen <hi3766691@gmail.com> wrote:

> Oh, Just count the size of the scheduler code yourself,
> actually 400 - 500k. core.c + fair.c + rt.c + idle_task.c +
> everything

Only binary code is counted in bytes, source code is counted in
lines.

20 KLOC for a full-featured CPU scheduler that does everything
from simple UP scheduling to thousands of CPUs NUMA scheduling,
cgroups, real-time and more, is entirely reasonable.

As a comparison the VM is 80+ KLOCS, arch/x86/ is 260+ KLOCs,
networking is 720+ KLOCS and the FS subsystem is over 1 million
lines of code.

The scheduler is in fact one of the smaller subsystems.

Thanks,

Ingo


\
 
 \ /
  Last update: 2012-05-30 10:01    [W:0.139 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site