public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] high priority task as user (nice/ionice)
@ 2009-08-23  8:20 meino.cramer
  2009-08-23 14:05 ` Mike Kazantsev
  0 siblings, 1 reply; 6+ messages in thread
From: meino.cramer @ 2009-08-23  8:20 UTC (permalink / raw
  To: Gentoo


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.




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

end of thread, other threads:[~2009-08-23 15:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-23  8:20 [gentoo-user] high priority task as user (nice/ionice) meino.cramer
2009-08-23 14:05 ` 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

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