PC Review


Reply
Thread Tools Rate Thread

windows = realtime?

 
 
alpha
Guest
Posts: n/a
 
      19th Jun 2004
Hello,

I have posted similar topic some weeks ago and now I want to discuss it
further. I'm searching for operating system to meet real-time constraints. I
know that windows is not true real time system, but I have found some papers
complaining that Windows NT can be used as real time system. It complains
that total interrupt latency of NT is about 30 microseconds. That sounds
good for me. I found nothing about Win 2000 and XP interrupt latency. Maybe
someone knows? I think if I write my apps in Ring0 as kernel mode drivers,
then I will have latency as system interrupt latency. So why Windows cant be
used as real-time system? Maybe someone have good ideas or links about that.
I found it very interesting topic. I have searched through internet and
found lots of add-on for linux kernels, but they can guarantee about 30
microseconds latency. Developers complain that these add-ons is real time.
So why windows with 30 us latency can't be real time?
Thank you for any thoughts.

alpha


 
Reply With Quote
 
 
 
 
Gary Chanson
Guest
Posts: n/a
 
      19th Jun 2004

"alpha" <(E-Mail Removed)> wrote in message
news:cb2913$rl4$(E-Mail Removed)...
> Hello,
>
> I have posted similar topic some weeks ago and now I want to discuss it
> further. I'm searching for operating system to meet real-time constraints.

I
> know that windows is not true real time system, but I have found some

papers
> complaining that Windows NT can be used as real time system. It complains
> that total interrupt latency of NT is about 30 microseconds. That sounds
> good for me. I found nothing about Win 2000 and XP interrupt latency.

Maybe
> someone knows? I think if I write my apps in Ring0 as kernel mode drivers,
> then I will have latency as system interrupt latency. So why Windows cant

be
> used as real-time system? Maybe someone have good ideas or links about

that.
> I found it very interesting topic. I have searched through internet and
> found lots of add-on for linux kernels, but they can guarantee about 30
> microseconds latency. Developers complain that these add-ons is real time.
> So why windows with 30 us latency can't be real time?


I highly doubt that 30 us is the worst case latency for Windows. Even
if it is, Windows has no control over what additional latency might be
introduced by third party device drivers. I think the real worst case would
be measured in ms not us.

--
-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-(E-Mail Removed)

 
Reply With Quote
 
Pavel A.
Guest
Posts: n/a
 
      19th Jun 2004
Posted in too many newsgroups, except of one where it really belongs -
microsoft.public.windowsxp.embedded

Even if the HAL gives 30 mks interrupt latency, the real latency you'll see is DPC latency.
And it depends on too many details. Moreover, latency probably isn't the main criterium
to choose a RT platform. Can you tell more about your application?

--PA


"alpha" <(E-Mail Removed)> wrote in message news:cb2913$rl4$(E-Mail Removed)...
> Hello,
>
> I have posted similar topic some weeks ago and now I want to discuss it
> further. I'm searching for operating system to meet real-time constraints. I
> know that windows is not true real time system, but I have found some papers
> complaining that Windows NT can be used as real time system. It complains
> that total interrupt latency of NT is about 30 microseconds. That sounds
> good for me. I found nothing about Win 2000 and XP interrupt latency. Maybe
> someone knows? I think if I write my apps in Ring0 as kernel mode drivers,
> then I will have latency as system interrupt latency. So why Windows cant be
> used as real-time system? Maybe someone have good ideas or links about that.
> I found it very interesting topic. I have searched through internet and
> found lots of add-on for linux kernels, but they can guarantee about 30
> microseconds latency. Developers complain that these add-ons is real time.
> So why windows with 30 us latency can't be real time?
> Thank you for any thoughts.
>
> alpha
>
>




 
Reply With Quote
 
beta
Guest
Posts: n/a
 
      20th Jun 2004
alpha wrote:

> Hello,


> I have posted similar topic some weeks ago and now I want to discuss it
> further. I'm searching for operating system to meet real-time constraints. I
> know that windows is not true real time system, but I have found some papers
> complaining that Windows NT can be used as real time system. It complains
> that total interrupt latency of NT is about 30 microseconds. That sounds

That's wrong for the Windows NT family shipped by Microsoft with the
possible exception of embedded versions ( which i do not know ) and
realtime extensions.
Basically you can not even be sure that any response time is
guaranteed(!) under windows nt/w2k/xp.
Where can we find the papers mentioned above?
> alpha

beta


 
Reply With Quote
 
alpha
Guest
Posts: n/a
 
      20th Jun 2004
Hello,

> Where can we find the papers mentioned above?


I found these:
http://www.theragens.com/misc/MR%20-...0Real-Time.htm
http://www.omimo.be/magazine/98q3/index983.htm
http://msdn.microsoft.com/library/de...XPEmbedded.asp

It is OT but similary linux and its real-time extensions can't guarantee
exact latency also? So we must use only real time systems like Qnx? I
thought it would be great to use windows as real time system.

alpha


 
Reply With Quote
 
alpha
Guest
Posts: n/a
 
      20th Jun 2004
Hello,

> Even if the HAL gives 30 mks interrupt latency, the real latency you'll

see is DPC latency.
> And it depends on too many details. Moreover, latency probably isn't the

main criterium
> to choose a RT platform. Can you tell more about your application?


Mostly high speed data acquisition and visualization on industrial
computers.

alpha


 
Reply With Quote
 
Mark Roddy
Guest
Posts: n/a
 
      20th Jun 2004
In general, as this has been discussed ad nauseum, the consensus is that if
you have 'hard' real time constraints NT is the wrong OS. For example you
cannot strictly control interrupt priority, so even your 30us latency is
really 30us best case not 30us worst case. As others have mentioned, it
isn't even ISR latency that is the big problem, DPC latency is even harder
to quantify. If you can strictly control hardware and software deployment
you can use NT, either embedded or standard versions, as long as your
requirements are loose enough to fit within what NT can give you, but as
'what NT can give you' is not documented or guaranteed, you will have to
experimentally determine if it is suitable. Otherwise, for RT requirements
use an RTOS.


--

=====================
Mark Roddy
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
(E-Mail Removed)


"alpha" <(E-Mail Removed)> wrote in message
news:cb3ldr$1srm$(E-Mail Removed)...
> Hello,
>
> > Where can we find the papers mentioned above?

>
> I found these:
> http://www.theragens.com/misc/MR%20-...0Real-Time.htm
> http://www.omimo.be/magazine/98q3/index983.htm
>

http://msdn.microsoft.com/library/de...XPEmbedded.asp
>
> It is OT but similary linux and its real-time extensions can't guarantee
> exact latency also? So we must use only real time systems like Qnx? I
> thought it would be great to use windows as real time system.
>
> alpha
>
>



 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a
 
      20th Jun 2004
> complaining that Windows NT can be used as real time system. It complains
> that total interrupt latency of NT is about 30 microseconds.


IDE in PIO mode will easily introduce larger latency. So is serial port.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
(E-Mail Removed)
http://www.storagecraft.com


 
Reply With Quote
 
Colin Picking
Guest
Posts: n/a
 
      21st Jun 2004
If you are seeking a Real Time OS you might take a look at QNX
http://www.qnx.com

"alpha" <(E-Mail Removed)> wrote in message
news:cb2913$rl4$(E-Mail Removed)...
> Hello,
>
> I have posted similar topic some weeks ago and now I want to discuss it
> further. I'm searching for operating system to meet real-time constraints.

I
> know that windows is not true real time system, but I have found some

papers
> complaining that Windows NT can be used as real time system. It complains
> that total interrupt latency of NT is about 30 microseconds. That sounds
> good for me. I found nothing about Win 2000 and XP interrupt latency.

Maybe
> someone knows? I think if I write my apps in Ring0 as kernel mode drivers,
> then I will have latency as system interrupt latency. So why Windows cant

be
> used as real-time system? Maybe someone have good ideas or links about

that.
> I found it very interesting topic. I have searched through internet and
> found lots of add-on for linux kernels, but they can guarantee about 30
> microseconds latency. Developers complain that these add-ons is real time.
> So why windows with 30 us latency can't be real time?
> Thank you for any thoughts.
>
> alpha
>
>



 
Reply With Quote
 
Rufus V. Smith
Guest
Posts: n/a
 
      21st Jun 2004

"alpha" <(E-Mail Removed)> wrote in message
news:cb3ldr$1srm$(E-Mail Removed)...
> Hello,
>
> > Where can we find the papers mentioned above?

>
> I found these:
> http://www.theragens.com/misc/MR%20-...0Real-Time.htm
> http://www.omimo.be/magazine/98q3/index983.htm
>

http://msdn.microsoft.com/library/de...XPEmbedded.asp
>
> It is OT but similary linux and its real-time extensions can't guarantee
> exact latency also? So we must use only real time systems like Qnx? I
> thought it would be great to use windows as real time system.
>
> alpha
>

You might take a look at hyperkernel

http://www.nematron.com/Software/HyperKernel.shtml

or intime or iRMX, now at

http://www.tenasys.com/

I have seen others at the Embedded Systems Conference, but don't remember
their names at this time. Many are of the form, "We run Windows as a
task within our real-time os structure".

In my experience this means you can't guarantee response of your windows
code, but if you are controlling equipment, you can write real-time tasks
to do that. However, communication between realtime and non-realtime
tasks can be a bit of a pain...

And Microsoft themselves have embedded versions of Windows which
in some cases purport to have real-time capability.

http://msdn.microsoft.com/embedded/default.aspx


Rufus


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vista windows defender realtime protection sally Windows Vista Security 1 2nd Jan 2008 09:07 PM
realtime =?Utf-8?B?TWF0cw==?= Microsoft Excel Worksheet Functions 7 14th Nov 2007 10:11 AM
About incorporating realtime capabilities in Windows XP Arsalan Ahmad Windows XP General 2 24th Feb 2005 01:41 PM
RealTime Joe Microsoft Dot NET Framework 4 3rd Dec 2003 10:18 AM
OT: Realtime av null@zilch.com Anti-Virus 18 4th Aug 2003 05:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 AM.