From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mf8JA-0007PT-5u for garchives@archives.gentoo.org; Sun, 23 Aug 2009 08:20:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76097E0496; Sun, 23 Aug 2009 08:20:10 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by pigeon.gentoo.org (Postfix) with SMTP id ED3ECE0496 for ; Sun, 23 Aug 2009 08:20:09 +0000 (UTC) Received: (qmail invoked by alias); 23 Aug 2009 08:20:08 -0000 Received: from p548517E4.dip0.t-ipconnect.de (EHLO gmx.net) [84.133.23.228] by mail.gmx.net (mp006) with SMTP; 23 Aug 2009 10:20:08 +0200 X-Authenticated: #20088476 X-Provags-ID: V01U2FsdGVkX185wdxL90A5wRlqTLPKkHBQfknS98+kbsRCBNR8lx sRdZi3wDPqD6TO Received: by gmx.net (nbSMTP-1.00) for uid 1001 Meino.Cramer@gmx.de; Sun, 23 Aug 2009 10:20:09 +0200 (CEST) Date: Sun, 23 Aug 2009 10:20:08 +0200 From: meino.cramer@gmx.de To: Gentoo Subject: [gentoo-user] high priority task as user (nice/ionice) Message-ID: <20090823082008.GB5799@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (Linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 X-Archives-Salt: 12df502e-78b4-43c4-b1c3-12667eaff8f0 X-Archives-Hash: e20cd1b9932d7be44cd8e4d2c04593dd 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.