linux-mips
[Top] [All Lists]

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

To: "zzh\.hust" <zzh.hust@gmail.com>
Subject: Re:hwo to improve a video decoder program's timeslice
From: "Philippe De Swert" <philippedeswert@scarlet.be>
Date: Mon, 11 Dec 2006 19:10:53 +0100
Cc: "linux-mips" <linux-mips@linux-mips.org>
Envelope-id: <JA4FU5$15B25B9E0AEC49C3D47C4ABD5469CF70
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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.

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>