All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mark.Zhan" <rongkai.zhan@windriver.com>
To: Philippe De Swert <philippedeswert@scarlet.be>
Cc: "zzh.hust" <zzh.hust@gmail.com>, linux-mips <linux-mips@linux-mips.org>
Subject: Re: Re:hwo to improve a video decoder program's timeslice
Date: Tue, 12 Dec 2006 21:23:17 -0500	[thread overview]
Message-ID: <1165976597.5831.13.camel@localhost.wrs.com> (raw)
In-Reply-To: <JA4FU5$15B25B9E0AEC49C3D47C4ABD5469CF70@scarlet.be>

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

      parent reply	other threads:[~2006-12-13  2:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1165976597.5831.13.camel@localhost.wrs.com \
    --to=rongkai.zhan@windriver.com \
    --cc=linux-mips@linux-mips.org \
    --cc=philippedeswert@scarlet.be \
    --cc=zzh.hust@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.