linux-mips
[Top] [All Lists]

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

To: "Philippe De Swert" <philippedeswert@scarlet.be>
Subject: Re: hwo to improve a video decoder program's timeslice
From: zhuzhenhua <zzh.hust@gmail.com>
Date: Tue, 12 Dec 2006 08:58:06 +0800
Cc: linux-mips <linux-mips@linux-mips.org>
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dter0MhAnz5/Mec/jkvYNqFLPzEic06efpxzTHZCJ7BPzevc7r4V20A31/ja4/Q7C5DcZcJquYMtD1FQdC5C7FEIxbHGSJXkDADheDIM7cL3HOxGV+T1dlj+AJBYl7v84hByv7s8K9c0qN2q9dnBxrR7PeYPaw+FH8tiMaMBAVY=
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 12/12/06, Philippe De Swert <philippedeswert@scarlet.be> 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

> 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.
thanks, i have try nice already, there's not too much change.


Cheers,

Philippe---
Scarlet ONE -  Combine ADSL with unlimited fixed phone and save 400 euros
http://www.scarlet.be



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