Please drop CONFIG_LATENCYTOP

Colin Ian King colin.king at canonical.com
Tue Jul 8 08:35:37 UTC 2014


On 07/07/14 16:02, Tim Gardner wrote:
> On 07/07/2014 01:32 PM, Rasmus Villemoes wrote:
>> Hi,
>>
>> This is a proposal to drop CONFIG_LATENCYTOP=y from Ubuntu's kernel
>> config. It increases the size of struct task_struct by almost a page
>> (3848 bytes to be precise; this is on x86_64), which is an increase of
>> about 170%. This precious kernel memory is almost never used for
>> anything.
>>
>> If the popcon numbers are representative, less than 0.1% of the Ubuntu
>> users have even installed the userspace frontend package latencytop, and
>> of these, most never use it.
>>
>> I think it is a safe bet that a developer capable of interpreting and
>> making use of the latencytop output would also be able to compile the
>> kernel with a custom .config.
>>
>> Thanks,
>> Rasmus
>>
> 
> Seems reasonable.
> 
> Colin - do you have any thoughts ?
> 
I agree, it makes sense to turn this off; the overhead does not justify
the convenience for such a small number of users.

Thanks Rasmus for the analysis.

Colin




More information about the kernel-team mailing list