Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Posted by
Jon Elson
on 2000-12-07 15:54:08 UTC
Jeff Barlow wrote:
servicing I/O interrupts. DOS doesn't have much housekeeping
to do, so it is not too bad, and you can take over the interrupts,
anyway. About the only one that really keeps on going is the
interval timer. Linux, without the RT patch, is much the same.
Linux WITH the RT patch is essentially an embedded system,
dedicated to the RT process, which allows wasted (idle) time to
be used by Linux. Interrupt latency is better than 10 uS even on
fairly slow processors, MAX! If you take that latency into consideration,
it is a fully-fledged hard real time system. This places a hell of a lot
of constraints on what the RT process can do - it can't make any
system calls at all, it is running in real mode, has access to the
entire machine's memory, etc. But, the RT process has as much of
the machine as it needs, when it needs it. Period.
If it misses even one interrupt, or takes longer than about 750 uS
to get around to servicing it, I WILL get an emergency stop on my
servo system. And, that has never happened, in 2 years, except
when the GUI locked up and I had to reboot. That did cause the
estop. (This was an old X-windows problem, corrected in early
1999.) But, in that case, even though the GUI was dead, and most
probably Linux, too, the RT process was merrily chugging along,
doing its work without fail.
Jon
> Jon,Well, in general, OS's do their own stuff first, then worry about
>
> I sent Mariss a message off list in which I tried to explain this same
> issue. I suspect he is a bit naive when it comes to PC interfacing. The
> sad truth is that the PC interrupt system is very flaky, even with
> Linux.
servicing I/O interrupts. DOS doesn't have much housekeeping
to do, so it is not too bad, and you can take over the interrupts,
anyway. About the only one that really keeps on going is the
interval timer. Linux, without the RT patch, is much the same.
Linux WITH the RT patch is essentially an embedded system,
dedicated to the RT process, which allows wasted (idle) time to
be used by Linux. Interrupt latency is better than 10 uS even on
fairly slow processors, MAX! If you take that latency into consideration,
it is a fully-fledged hard real time system. This places a hell of a lot
of constraints on what the RT process can do - it can't make any
system calls at all, it is running in real mode, has access to the
entire machine's memory, etc. But, the RT process has as much of
the machine as it needs, when it needs it. Period.
If it misses even one interrupt, or takes longer than about 750 uS
to get around to servicing it, I WILL get an emergency stop on my
servo system. And, that has never happened, in 2 years, except
when the GUI locked up and I had to reboot. That did cause the
estop. (This was an old X-windows problem, corrected in early
1999.) But, in that case, even though the GUI was dead, and most
probably Linux, too, the RT process was merrily chugging along,
doing its work without fail.
Jon
Discussion Thread
Alan Marconett KM6VV
2000-12-05 16:58:48 UTC
Pulse Gen
Wally K
2000-12-05 20:43:19 UTC
Re: Pulse Gen
Alan Marconett KM6VV
2000-12-05 21:56:36 UTC
Re: Pulse Gen
Wally K
2000-12-05 23:30:20 UTC
Re: Pulse Gen
Mariss Freimanis
2000-12-06 07:16:05 UTC
Re: Pulse Gen
Mariss Freimanis
2000-12-06 07:55:06 UTC
Re: Pulse Gen
Alan Marconett KM6VV
2000-12-06 11:42:09 UTC
Re: Pulse Gen
Wally K
2000-12-06 13:35:49 UTC
Re: Pulse Gen
Dan Mauch
2000-12-07 06:46:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Jon Elson
2000-12-07 12:00:37 UTC
Re: Pulse Gen
Jon Elson
2000-12-07 12:28:46 UTC
Re: Pulse Gen
Jon Elson
2000-12-07 12:35:32 UTC
Re: Pulse Gen
Jon Elson
2000-12-07 12:39:29 UTC
Re: Pulse Gen
Jeff Barlow
2000-12-07 12:46:49 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Doug Harrison
2000-12-07 13:55:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Mariss Freimanis
2000-12-07 15:17:36 UTC
Re: Pulse Gen
Jeff Barlow
2000-12-07 15:52:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Jon Elson
2000-12-07 15:54:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Jeff Barlow
2000-12-07 16:19:48 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Mariss Freimanis
2000-12-07 16:22:45 UTC
Re: Pulse Gen
Smoke
2000-12-07 16:32:55 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Jeff Barlow
2000-12-07 16:40:14 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pulse Gen
Alan Marconett KM6VV
2000-12-07 20:41:50 UTC
Pulse Gen
Jeff Barlow
2000-12-07 20:57:34 UTC
Re: [CAD_CAM_EDM_DRO] Pulse Gen
ballendo@y...
2000-12-09 13:19:31 UTC
Re: Pulse Gen
ballendo@y...
2000-12-09 13:28:03 UTC
Re: Pulse Gen
ballendo@y...
2000-12-09 14:46:59 UTC
Re: Re: Pulse Gen