Is this a known problem with Redhat Linux 9? Is it network related?
Currently I'm using Redhat Linux 9 as the RTOS for an embedded
application.
From within my code I measure very accurately the period of time my
application is not running when it should be. In other words I measure
the time periods Linux suspends my application in favor of OS
activities.
My application is run with nice set to -10, everything else in the
process listing has a nice value of 0, I am the only user logged in
and the only user application running. In addition, my code has no
interrupts, is single threaded and runs its tasks from a polling loop.
The polling loop has a call to nanosleep(duration of 100 mSec).
nanosleep is similar to sleep and usleep, so the loop is executed 10
times per second, ... or so I expected.
While the tasks in my polling loop are extremely fast, Linux is still
willing to suspend them to perform tasks of its own. My code can run
for hours, even days, and the maximum time that Linux suspends my app
at any point is 30 mSec or so. However, at certain times, when certain
XP boxes are on the network, Linux gets distracted with something (I
don't know what), probably network related, and is willing to ditch my
application and go away for 13 seconds or more. Unfortunately, this
dropout is unacceptable for my application which must run on a typical
network.
I've tried installing Linux with only a minimum number of packages,
ftp, Gnome, X-Window, not much else; it still behaves the same way.
/***********************************
* Has anyone else observed this?
**********************************/
Do I need a custom RTOS version of Linux or perhaps the Enterprise
version?
many TIA.
- Geoff
(E-Mail Removed)
Experient Corp.,
www.experient.com
Denver, CO