Embedded 版 (精华区)

发信人: vmlinuz (生活将因为你而美丽), 信区: Embedded_system
标  题: LynxOS - HARD REAL-TIME PERFORMANCE
发信站: 哈工大紫丁香 (2001年06月01日08:30:54 星期五), 转信


HARD REAL-TIME PERFORMANCE
LynxOS provides a proven foundation for building real-time
applications with high performance  requirements and hard response
deadlines. While no RTOS itself can claim to offer "hard" or "soft"
real-time performance, LynxOS helps systems designers meet
real-time deadlines through its deterministic behavior, short
blocking times, and architectural features designed to prevent
unbounded priority inversion, while also offering reliability,
scalability, and openness.
LynxOS Scheduling
-------------------------------------------------------------------------------
The LynxOS scheduler enforces hard real-time prioritization across
user and system threads of execution. Unlike schemes found in
standard, polled versions of UNIX and other general purpose
operating systems, LynxOS scheduling does not induce priority
promotion for "fairness" or equal time sharing; rather, LynxOS
respects real-time designers' prerogatives, guaranteeing that
the highest priority ready thread will always be scheduled for
execution.
1.Hard-real-time scheduling
2.256 global user-thread priority levels
3.Round-Robin, Quantum, and FIFO policies at each of 256 priorities
4.Fast context switch and short, deterministic blocking times
5.1>Preemptible RTOS kernel
6.Priority inheritance through semaphores
7.Priority-tracking kernel threads
Lynx Patented Event Processing
-------------------------------------------------------------------------------
The interaction of numerous input-output (I/O) devices and
application threading can give rise to  I/O-induced priority
inversion that can degrade system performance. LynxOS features
a unique, patented method of managing such interaction through
priority-tracking kernel threads.
Kernel Threads
Most operating systems I/O schemes encourage software developers
to handle real-time events with driver code in the body of interrupt
service routines (ISRs). While such ISRs execute, they not only
preempt lower hardware priorities but also ALL software
prioritization. While some kernels support I/O processing deferral,
subsequent scheduling of handlers fails to harmonize I/O priority
with the priority of requesting user threads.
LynxOS gives software designers more control over event handling
by migrating I/O processing out of ISRs and into Kernel Threads.
LynxOS Kernel Threads run as system entities, but track the priority
of the user threads.
Using Kernel Threads, LynxOS schedules I/O handling on the same
global basis as user  application execution, improving predictability
and stability, eliminating I/O-induced priority inversion, and
greatly enhancing system throughput.
Synchronization and Inter-Process Communications
-------------------------------------------------------------------------------
UNIX/POSIX applications developers have come to rely on a standard
set of robust inter-thread and inter-process synchronization and
communications mechanisms. While many embedded products force
developers to use a small set of RTOS-specific Inter-Process
Communications (IPC) primitives, LynxOS offers developers a wide
range of portable IPC mechanisms, including:
1.Counting and binary semaphores with optional priority-inheritance
2.Mutexes, condition variables, and events
3.Message queues, pipes, and sockets
4.Standard and real-time POSIX queued signals
5.Memory-mapped files, shared memory, and memory locking
6.Synchronous and asynchronous I/O
7.Parent-child synchronization
8.Clocks and timers
--

--
※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: mtlab4.hit.edu.cn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:6.766毫秒