linux-mips
[Top] [All Lists]

RE: (no subject)

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)
From: "Ramgopal Kota" <rkota@broadcom.com>
Date: Sun, 3 Feb 2008 21:41:23 -0800
In-reply-to: <416607.4159.qm@web8406.mail.in.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <416607.4159.qm@web8406.mail.in.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
Thread-index: Achk/nZNV5d8tkTXQPm2kxAavxWLGwB8ea2w
Thread-topic: (no subject)
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




<Prev in Thread] Current Thread [Next in Thread>
  • (no subject), veerasena reddy
    • RE: (no subject), Ramgopal Kota <=