Re: high resolution timers and timer interrupt thrashing

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

 




On 2014年04月21日 01:54, Sudharsan Vijayaraghavan wrote:
> Hi All,
>
> With CONFIG_HIGH_RES_TIMERS configured and a whole lot of timer_create with
> interval of less than jiffy (i.e., few nano seconds) we are bound to
> get timer interrupts
> less than a jiffy because set_next_event will configure for expires
> less than jiffy.
>
> This means we are thrashing the system with more timer interrupts,
> perhaps to extent
> of almost every clock tick, is my understanding correct?

Yes, with hrtimer enabled, timer interrupt could be more frequently ever than before.
The effort of hrtimer is to enable high resolution timing for user land application
like video/audio like wise.

You can google why hrtimer was made to solve what kind of problem.

> Given this is it not dangerous to configure CONFIG_HIGH_RES_TIMERS
> Please give your thoughts
>
> Thanks,
> Sudharsan
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

-- 
八百里秦川尘土飞扬,三千万老陕齐吼秦腔。

--bill

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux