I have an application that has a thread which is using an interval timer to
generate simulated clock ticks
at approx 32Hz (e.g. 31-32 ms).
Originally the problem was that these ticks were getting rounded up to 40ms
because I didn't have the
hires_tick parameter set in /etc/system (Solaris 2.6).
Now I have and the ticks are mostly around 32-33ms...but some jump out
occasionally but alot,
e.g. 90, 100, 150 ms!
The thread is in a process within a Real-Time Scheduling class..so I'm not
sure what could be delaying the timer ticks as i'm not sure what else would
be higher priority. I don't believe any page faulting is occuring as it
should all be memory resident...however..it's not statically linked...but I
have tried setting the LD_BIND_NOW environment variable (I've assumed this
environment variable will still work when running from 'root'?)
There is no serial device I/O going on, but it is on a 100baseT network.
thats being used is generated by the thread itself ...and without
logic analyser is showing the same problems.
Anything else I should know about timers?..or could the O/S be doing
something even though
I'm in the RT scheduling class.
Any suggestions at all...anyone...urgently?