Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re:hwo to improve a video decoder program's timeslice
@ 2006-12-11 18:10 Philippe De Swert
  2006-12-11 18:10 ` Philippe De Swert
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Philippe De Swert @ 2006-12-11 18:10 UTC (permalink / raw)
  To: zzh.hust; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:hwo to improve a video decoder program's timeslice
  2006-12-11 18:10 Re:hwo to improve a video decoder program's timeslice Philippe De Swert
@ 2006-12-11 18:10 ` Philippe De Swert
  2006-12-12  0:58 ` hwo " zhuzhenhua
  2006-12-13  2:23 ` Mark.Zhan
  2 siblings, 0 replies; 4+ messages in thread
From: Philippe De Swert @ 2006-12-11 18:10 UTC (permalink / raw)
  To: zzh.hust; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hwo to improve a video decoder program's timeslice
  2006-12-11 18:10 Re:hwo to improve a video decoder program's timeslice Philippe De Swert
  2006-12-11 18:10 ` Philippe De Swert
@ 2006-12-12  0:58 ` zhuzhenhua
  2006-12-13  2:23 ` Mark.Zhan
  2 siblings, 0 replies; 4+ messages in thread
From: zhuzhenhua @ 2006-12-12  0:58 UTC (permalink / raw)
  To: Philippe De Swert; +Cc: linux-mips

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
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re:hwo to improve a video decoder program's timeslice
  2006-12-11 18:10 Re:hwo to improve a video decoder program's timeslice Philippe De Swert
  2006-12-11 18:10 ` Philippe De Swert
  2006-12-12  0:58 ` hwo " zhuzhenhua
@ 2006-12-13  2:23 ` Mark.Zhan
  2 siblings, 0 replies; 4+ messages in thread
From: Mark.Zhan @ 2006-12-13  2:23 UTC (permalink / raw)
  To: Philippe De Swert; +Cc: zzh.hust, linux-mips

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-12-13  2:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-11 18:10 Re:hwo to improve a video decoder program's timeslice Philippe De Swert
2006-12-11 18:10 ` Philippe De Swert
2006-12-12  0:58 ` hwo " zhuzhenhua
2006-12-13  2:23 ` Mark.Zhan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox