From: meino.cramer@gmx.de
To: Gentoo <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] high priority task as user (nice/ionice)
Date: Sun, 23 Aug 2009 10:20:08 +0200 [thread overview]
Message-ID: <20090823082008.GB5799@solfire> (raw)
Hi,
with guvcview I capture video streams of some birds, which
sometime arrive on the roof.
When they do I press the record button of the guvcview application.
The webcam I use is able to deliver 30fps at 640x320 pixel with audio
via usb.
Unfortunately while recording nothing else should use the CPU/the IO
system heavily otherwise I will get an vi-vi-ddd-d----d-deooo-o--o-o
(stuttering performance).
In this list I read about ionice and nice, which latter I know before.
Form the manpages of both I read, that only root is allowed to give
process higher priority than normal.
I want to give guvcview high IO- and CPU-priority without the hassle
to pickup PIDs and lunch nice/ionice by root-hand after the start of
guvcview (user-process).
And I am iusing icewm (no KDE/GNOME as desktop)
Is there any chance to start guvcview with user rights AND to give the
application higer priorities so that whatever guvcview wants from the
system will be served as soon as possible to avoid stuttering videos?
Thank you very much in advance for any help!
Have a nice sunday!
mcc
--
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.
next reply other threads:[~2009-08-23 8:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-23 8:20 meino.cramer [this message]
2009-08-23 14:05 ` [gentoo-user] high priority task as user (nice/ionice) Mike Kazantsev
2009-08-23 14:19 ` meino.cramer
2009-08-23 14:29 ` Stroller
2009-08-23 15:05 ` Mike Kazantsev
2009-08-23 15:19 ` meino.cramer
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=20090823082008.GB5799@solfire \
--to=meino.cramer@gmx.de \
--cc=gentoo-user@lists.gentoo.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox