Re: Slowing timer interrupts

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jul 19, 2007 at 01:17:41AM +0530, Bhanu Kalyan Chetlapalli wrote:
> On 7/18/07, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
>>
>> Hi
>> > I am working on a project where I need to add some
>> > functionality to kernel interrupt handlers. Due to
>> > this extra processing my code runs quite slowly. Is
>> > there any way to slow down timer inetrrupts since I
>> > wasnt to check the effect of that on the execution
>> > time of my code. I am using kernel v2.6
>> >
>> perhaps you should manually define HZ variable, decreasing it means
>> lowering ticks per second. Trace how the related CONFIG_ value is taken
>> from Kconfig and applied to kernel source (probably you need to grep).
>
>
> IIRC, I think there were issues with using values for HZ other than 100, 
> 250
> & 1000. Can we use any value for HZ now?

I guess so, in commit 40fcfc87222e2e8af6379ec366f0cb2a411570cd Alan Cox
added the 300 Hz option. It looks like you can add an option below 100
in a similar way.


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGnnoH/PlVHJtIto0RAvMEAJ9Hl4BZhcXbZ/90yHIefu/KJawFcwCeMdXP
GJdGHRgGYPoD4IuhjvbcZ34=
=l4BG
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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