Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.adass.org/adass/proceedings/adass99/B1-03/
Дата изменения: Fri Oct 6 01:00:06 2000
Дата индексирования: Tue Oct 2 06:05:27 2012
Кодировка:

Поисковые слова: п п п п п п п п п п п п
Real Time Linux -- The RTOS for Astronomy? Next: The ROOT Object Oriented Framework to Analyze INTEGRAL Data
Up: BoFs and Demos
Previous: BoF - Python in Astronomy
Table of Contents - Subject Index - Author Index - PS reprint -

Daly, P. N. 2000, in ASP Conf. Ser., Vol. 216, Astronomical Data Analysis Software and Systems IX, eds. N. Manset, C. Veillet, D. Crabtree (San Francisco: ASP), 686

Real Time Linux -- The RTOS for Astronomy?

P. N. Daly
National Optical Astronomy Observatories, 950 N. Cherry Avenue, Tucson, AZ 85719, U S A


Abstract:

The BoF was attended by about 30 participants and a free CD of real time Linux--based upon RedHat 5.2--was available. There was a detailed presentation on the nature of real time Linux and the variants for hard real time: New Mexico Tech's RTL and DIAPM's RTAI. Comparison tables between standard Linux and real time Linux responses to time interval generation and interrupt response latency were presented (see elsewhere in these proceedings). The present recommendations are to use RTL for UP machines running the 2.0.x kernels and RTAI for SMP machines running the 2.2.x kernel. Support, both academically and commercially, is available. Some known limitations were presented and the solutions reported e.g., debugging and hardware support.

The features of RTAI (scheduler, fifos, shared memory, semaphores, message queues and RPCs) were described. Typical performance statistics were presented: Pentium-based oneshot tasks running $>30$kHz, 486-based oneshot tasks running at $\sim10$kHz, periodic timer tasks running in excess of $90$kHz with average zero jitter peaking to $\sim 13\mu s$ (UP) and $\sim 30\mu s$ (SMP). Some detail on kernel module programming, including coding examples, were presented showing a typical data acquisition system generating simulated (random) data writing to a shared memory buffer and a fifo buffer to communicate between real time Linux and user space. All coding examples were complete and tested under RTAI v0.6 and the 2.2.12 kernel.

Finally, arguments were raised in support of real time Linux: it's open source, free under GPL, enables rapid prototyping, has good support and the ability to have a fully functioning workstation capable of co-existing hard real time performance. The counter weight--the negatives--of lack of platforms (x86 and PowerPC only at present), lack of board support, promiscuous root access and the danger of ignorance of real time programming issues were also discussed. See

ftp://orion.tuc.noao.edu/pub/pnd/rtlbof.tgz for the StarOffice overheads for this presentation.


© Copyright 2000 Astronomical Society of the Pacific, 390 Ashton Avenue, San Francisco, California 94112, USA
Next: The ROOT Object Oriented Framework to Analyze INTEGRAL Data
Up: BoFs and Demos
Previous: BoF - Python in Astronomy
Table of Contents - Subject Index - Author Index - PS reprint -

adass@cfht.hawaii.edu