linux-mips
[Top] [All Lists]

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

To: Philippe De Swert <philippedeswert@scarlet.be>
Subject: Re: Re:hwo to improve a video decoder program's timeslice
From: "Mark.Zhan" <rongkai.zhan@windriver.com>
Date: Tue, 12 Dec 2006 21:23:17 -0500
Cc: "zzh.hust" <zzh.hust@gmail.com>, linux-mips <linux-mips@linux-mips.org>
In-reply-to: <JA4FU5$15B25B9E0AEC49C3D47C4ABD5469CF70@scarlet.be>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <JA4FU5$15B25B9E0AEC49C3D47C4ABD5469CF70@scarlet.be>
Sender: linux-mips-bounce@linux-mips.org
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

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