[Top] [All Lists]

Re: Re:hwo to improve a video decoder program's timeslice

To: Philippe De Swert <>
Subject: Re: Re:hwo to improve a video decoder program's timeslice
From: "Mark.Zhan" <>
Date: Tue, 12 Dec 2006 21:23:17 -0500
Cc: "zzh.hust" <>, linux-mips <>
In-reply-to: <JA4FU5$>
Original-recipient: rfc822;
References: <JA4FU5$>
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 :

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
Best Regards
Wind River Beijing Engineer Team

<Prev in Thread] Current Thread [Next in Thread>