lkml.org 
[lkml]   [2006]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: boot-time slowdown for measure_migration_cost
Date
Ingo Molnar wrote on Monday, January 30, 2006 9:22 AM
> - in kernel/sched.c, decrease ITERATIONS from 2 to 1. This will make the
> measurement more noisy though.
>
> - in kernel/sched.c, change this line:
>
> size = size * 20 / 19;
>
> to:
>
> size = size * 10 / 9;
>
> this will probably halve the cost - against at the expense of
> accuracy and statistical stability.

I think the kernel should keep the accuracy and stability. One option
would be by default not to measure the migration cost. For people who
wants to have an accurate scheduler parameter, they can turn on a boot
time option to do the measure.

- Ken

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-30 20:28    [W:1.353 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site