RE: boot-time slowdown for measure_migration_cost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux