linux-mips.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: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01 18:14 (no subject) veerasena reddy
2008-02-04  5:41 ` Ramgopal Kota [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-05-22  8:53 [No Subject] Gardner, Tim
2017-07-19 15:25 [PATCH 000/102] Convert drivers to explicit reset API Philipp Zabel
2017-07-20 20:32 ` (no subject) Heiko Stuebner
2017-07-20 20:32   ` Heiko Stuebner
2017-01-13 10:46 [PATCH v3 4/8] x86: stop exporting msr-index.h to userland Nicolas Dichtel
2017-01-13 10:46 [PATCH v3 1/8] arm: put types.h in uapi Nicolas Dichtel
2017-01-09 11:33 ` [PATCH v2 0/7] uapi: export all headers under uapi directories Arnd Bergmann
2017-01-13 10:46   ` [PATCH v3 0/8] " Nicolas Dichtel
2017-01-13 15:36     ` (no subject) David Howells
2017-01-13 15:43     ` David Howells
2012-10-05 11:48 ABN AMRO
2012-10-05 11:48 ` ABN AMRO
2010-09-13 19:47 [PATCH 00/25] treewide-next: Use static const char arrays Joe Perches
2010-09-14  9:14 ` (no subject) David Howells
2010-09-14  9:14   ` David Howells
2008-01-22  0:00 Thiemo Seufer
2007-11-25  2:10 Thomas Bogendoerfer
2007-04-16  6:10 xfwolf
2004-06-07  9:37 "romio kasyanov" 
2004-04-06 19:56 Brian Murphy
2003-06-19 13:51 David Kesselring
2003-02-21 11:38 santosh kumar gowda
2003-02-21 18:37 ` Maciej W. Rozycki
2002-12-19  0:11 Kyle Mestery
2000-01-31 13:02 Alan McFaul

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).