Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-10-2009, 12:55 PM   #16
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109

Originally Posted by paulsm4 View Post
2. You you think you're actually going to *get* nanosecond resolution, you're probably mistaken (even with decent hardware, up-to-date kernels, and realtime extensions)(and *certainly* with most other, non-Linux multitasking, preemptable operating systems; including most/all flavors of Unix and Windows).
This is the most important thing to grasp. Linux was NEVER originally designed as a high-resolution realtime system. In fact, WindRiver runs the RTCore/RTL module for a reason - linux (and most unix flavors) will NEVER reach that kind of granularity. The RTCore/RTL mod pushes linux as a low-priority task in a much more "real-time" system with much better latency numbers.

Old 08-10-2009, 01:13 PM   #17
LQ Newbie
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Summing it up.

Thanks for all the replies.

Just to clarify :-):
  • I know what a millisecond, microsecond and nanosecond is.
  • I did not think the resolution I got is nanoseconds just because the interface is in nanoseconds.
  • Our product needs to process complex events in latencies of up to 10 milliseconds (and millions of those per second) and it does that in our tests on other platforms.
  • We require time sampling resolution of about 1 microsecond or higher. Considering the requirements, I do not think that this is a design defect.
  • We are just now starting to port to Linux.

Upgrade the Linux machine is what I'm going to ask (and pass this as a requirement to our clients as well).

It is still a bit of a disappointment for me to find that Linux from not so long ago does not expose properly the underlying machines ability to user applications.

Thanks again for all the information,


clock, high, realtime, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration