On Mon, 2006-12-11 at 19:10 +0100, Philippe De Swert wrote:
> Hi,
>
> > i have a video decoder program run as aplication
> > and i now have change the HZ from 1000 to 100, set the decoder program
> > priority as 99.
>
> Seems you are mixing things here... The HZ change will just change the
> interval of the timer tick. For some more explanations about this, look here :
> http://kerneltrap.org/node/464
The decrement of the timer tick number definitely can increase the
execution time of application. And Disable kernel preemption also has
the same impact.
>
> > if i want to the video decoder program to get more time to run, is
> > there any other way to improve it ?
>
> Maybe using nice? Try "man nice" in a terminal on your Linux box to get more
> explanations about this.
>
> Cheers,
>
> Philippe---
> Scarlet ONE - Combine ADSL with unlimited fixed phone and save 400 euros
> http://www.scarlet.be
>
>
--
Best Regards
Mark.Zhan
Wind River Beijing Engineer Team
|