linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ramgopal Kota" <rkota@broadcom.com>
To: "veerasena reddy" <veerasena_b@yahoo.co.in>,
	"linux-kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-mips" <linux-mips@linux-mips.org>
Subject: RE: (no subject)
Date: Sun, 3 Feb 2008 21:41:23 -0800	[thread overview]
Message-ID: <E06E3B7BBC07864CADE892DAF1EB0FBD049E778C@NT-SJCA-0752.brcm.ad.broadcom.com> (raw)
In-Reply-To: <416607.4159.qm@web8406.mail.in.yahoo.com>

Hi,

You can set a real-time priority to the user-process.

Ramgopal Kota 
-----Original Message-----
From: linux-mips-bounce@linux-mips.org
[mailto:linux-mips-bounce@linux-mips.org] On Behalf Of veerasena reddy
Sent: Friday, February 01, 2008 11:45 PM
To: linux-kernel.org; linux-mips
Subject: (no subject)

Hi,

I have a requirement where i need to execute a user process even when
the kernel is utilizing 100% of CPU time.

Actual scenario is as below:
I have a device on my board. this device keeps generating regular (for
every 2secs) messages for a user process. the user process has to poll
on the device for any message is there to read and get the message from
the device. once the user process reads the message it will be removed
in device and uses for further/subsequent messages.

I have a test case where i need to send so much traffic through my board
such that the kernel will be utilizing 100% CPU time to process this
data. At this time (when CPU is 100% utilized) the user space process is
not getting scheduled even after a long duration (say 10 minutes to 45
minutes). Mean time the message buffer in the device is filled up and
the device halts (aka controlled crash; the device firmware has been
designed like this) as there is no more memory on the device.
To avoid this scenario of device's message queue getting filled up
because of the user space process not reading them, could you please
anyone suggest some technique for getting my user space process
scheduled even when there is very heavy traffic as described above.

In simple, i can put my requirement like this:
    Is there any way i can get a user space process get scheduled in the
above condition (kernel occupying 100% of CPU due to heavy traffic)

Thanks in Advance.

Regards,
Veerasena.


      Now you can chat without downloading messenger. Go to
http://in.messenger.yahoo.com/webmessengerpromo.php




  reply	other threads:[~2008-02-04  5:50 UTC|newest]

Thread overview: 123+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01 18:14 veerasena reddy
2008-02-04  5:41 ` Ramgopal Kota [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-31  3:37 (No Subject) John Moon
2023-08-31  4:52 youngbludproductions
2023-08-31  5:11 ` youngbludproductions
2023-05-13  8:12 [no subject] Beatrice Benson
2021-12-27 14:59 [PATCH v2 2/3] arm64: Support huge vmalloc mappings Kefeng Wang
2021-12-27 17:35 ` (No subject) William Kucharski
2021-12-28  1:36   ` Kefeng Wang
2021-06-22 16:20 (No Subject) Yassine Oudjana
2021-07-14 18:03 ` Rob Herring
2019-05-22  2:09 [No Subject] Gardner, Tim
2015-08-07  6:30 (no subject) Mr. Vincent Cheng
2015-07-29 21:56 Mr. Vincent Cheng
2014-09-20 22:12 Cleveland Finance
2014-09-03 12:19 US-ARMEE
2014-05-03 16:50 James McCammond
2013-11-23  2:09 SANTANDER ASSET FINANCE PLC
2012-10-12 13:00 a1tmblwd
2012-09-19 14:53 Webmaster
2012-04-09 14:39 niamathullah sharief
2011-06-04  9:21  ©2011.Coca-Cola Great Britain 
2011-05-25 18:36  ©2011.Coca-Cola Great Britain 
2010-06-14 20:26 [PATCH 0/8] Fix gcc 4.6.0 set but not used warning messages Justin P. Mattock
2010-06-14 20:26 ` [PATCH 7/8]ieee1394/sdp2 Fix warning: variable 'unit_characteristics' set but not used Justin P. Mattock
2010-06-14 21:44   ` [PATCH] ieee1394: sbp2: remove unused code Stefan Richter
2010-06-14 22:35     ` Justin P. Mattock
2010-06-14 23:22       ` Stefan Richter
2010-06-15  0:08         ` (no subject) Stefan Richter
2009-12-14 23:44 Mr Mou Xinsheng
2009-08-24 19:35 MRS SANDRA WHITE
2009-08-23 17:49 INFO
2009-08-03 10:14 kell
2009-07-17 12:02 UK
2009-07-17  4:17 CG LOTTO
2009-07-13 23:56 Camelot Group.
2009-07-10 21:36 The UKNL
2009-07-09  7:20 UKNL
2009-07-09  2:20 UKNL
2009-07-02 14:23 The British
2009-06-30  1:16 Mrs Dianne Thompson
2009-06-29 19:56 Uknl
2009-06-23 16:08 UNL
2009-06-23  2:55 UKL-DEPT
2009-06-21 13:34 The Nat
2009-06-09 18:04 IL
2009-05-29 13:14 Camelot Uk
2009-05-28  4:26 CL
2009-05-28  1:44 Cgnlwin
2009-05-26 18:10 Mnl
2009-05-25 18:02 IL
2009-05-23 18:14 Cgnlwin
2009-05-23 11:09 Mnl
2009-05-18 15:12 Mnl
2009-05-18 12:16 Mnl
2009-05-18  9:59 Mnl
2009-05-18  8:58 Mnl
2009-05-16  4:56 il
2009-05-15 14:29 il
2009-05-09  1:50 IL
2008-04-06 12:47 [PATCH] x86: remove superfluous initialisation in boot code Alexander van Heukelum
2008-04-07  7:46 ` Ingo Molnar
2008-04-07  9:13   ` Alexander van Heukelum
2008-04-07 10:00     ` (no subject) zhenwenxu
2007-09-07 22:19 Jim Cromie
2007-06-08  7:53 Nicklas Bondesson
2007-02-15 11:54 ddup1
2007-02-01  9:19 ddup1
2007-01-26  7:29 orig
2007-01-25 20:50 Craig Van Tassle
2006-09-16  9:11 Laurent CARON
2006-09-16  9:10 Laurent CARON
2006-08-03  8:25 Franck Bui-Huu
2006-06-05 19:48 process starvation with 2.6 scheduler Kallol Biswas
2006-06-05 23:49 ` (no subject) Hack Sung Lee
2006-05-14 12:57 [No Subject] Arnulfo Titor
2006-01-07  4:16 (no subject) Chaitanya Vinay Hazarey
2005-11-30  5:56 [GIT PATCH] USB patches for 2.6.15-rc3 Greg KH
2005-11-30 18:23 ` Linus Torvalds
2005-11-30 19:35   ` Greg KH
2005-12-01  4:10     ` (no subject) Glenn L Shurson
2005-11-18 16:05 Andi Kleen
2005-11-21 10:06 ` (no subject) Keir Fraser
2005-11-21 10:11   ` Russell King
2005-11-21 17:27   ` Andi Kleen
2005-05-22 16:05 Pedro Henrique
2005-05-22 12:40 Timo Hallek
2005-05-18  7:56 suzuki
2005-04-26  4:20 Frederic Weisbecker
2005-03-29  4:46 Sumesh
2005-03-10  2:03 Ray Bryant
2005-02-16  4:08 Ethan Weinstein
2005-01-20 19:33 Ram Kumar
2004-10-27 12:09 Mirko Bonasorte
2004-09-01  2:42 Anthony DiSante
2004-08-29 13:21 <no subject> Joachim Bremer
2004-08-29 12:36 Joachim Bremer
2004-08-29 12:42 ` Nick Piggin
2004-08-16  1:09 (no subject) A. Mani
2004-06-30 17:58 Frederic Krueger
2004-06-30  9:50 <no subject> Michael Tasche
2004-03-18  1:08 True fsync() in Linux (on IDE) Peter Zaitsev
2004-03-18  6:47 ` Jens Axboe
2004-03-18 11:34   ` Matthias Andree
2004-03-18 11:58     ` (no subject) Daniel Czarnecki
2004-02-25 15:16 Joel Cant
2004-02-25 15:54 ` Redeeman
     [not found] <402A710F.9080908@surricani.cjb.net>
2004-02-11 18:20 ` Armen Kaleshian
2004-02-09 21:05 Alexandr Chernyy
2004-02-09 21:22 ` Matti Aarnio
2004-02-09 22:46 ` Alessandro Amici
2003-12-05 23:35 Jonathan Fors
2003-11-04 15:47 Bas van Kampen
2003-11-02 21:58 phil
2003-09-01  6:15 Honne Gowda A
2003-09-01 12:46 ` Herbert Poetzl
2003-08-13  9:14 Vid Strpic
2003-08-13 10:36 ` Catalin BOIE
2003-08-13 11:34 ` Herbert Pötzl
2003-08-07  1:46 (No Subject) Solaris Wildchild
2003-07-20 11:46 (no subject) Cédric Barboiron
2003-07-20 19:43 ` jiho
2003-05-20 10:50 COMALP - Mar.Ord. MATTIUZZO Riccardo
2003-05-16 21:35 Anders Franzen
2003-03-19  3:21 Gabe Arnold
2003-03-16 15:35 MaxF
2002-12-02  9:21 (No subject) Marc-Christian Petersen
2002-10-17 21:58 (no subject) Daniele Lugli
2002-09-13 17:39 [No Subject]  Jim Sibley
2002-09-13 18:02 ` Jesse Pollard
2002-08-25  9:15 <no subject> joerg.beyer
2002-08-25 11:04 ` Zwane Mwaikambo
2002-08-14 11:23 (no subject) Bernard yap
     [not found] <Pine.LNX.4.44.0208131430570.22034-100000@dstl.gov.uk>
2002-08-13  6:35 ` Jeff Chua
2002-08-13  9:27   ` (no subject) Tony Gale
2002-07-20  8:00 close return value Florian Weimer
2002-07-20 16:45 ` Linus Torvalds
2002-07-26  0:06   ` EFAULT vs. SIGSEGV [was Re: close return value] Pavel Machek
2002-07-26 14:01     ` (no subject) Alexis Deruelle
2002-03-22 14:28 Pierre Rousselet
2002-03-01  2:55 Justin Piszcz
2002-02-11 15:02 Aaron & Elizabeth Day
2001-03-21  9:44 Moran Cohen
2001-01-10  1:40 Eko Sulistiono

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=E06E3B7BBC07864CADE892DAF1EB0FBD049E778C@NT-SJCA-0752.brcm.ad.broadcom.com \
    --to=rkota@broadcom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=veerasena_b@yahoo.co.in \
    /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;
as well as URLs for NNTP newsgroup(s).