Real-time Operating Systems - Memory Allocation

Memory Allocation

Memory allocation is more critical in an RTOS than in other operating systems.

First, speed of allocation is important. A standard memory allocation scheme scans a linked list of indeterminate length to find a suitable free memory block. This is unacceptable in an RTOS since memory allocation has to occur within a certain amount of time.

The simple fixed-size-blocks algorithm works quite well for simple embedded systems because of its low overhead.

Read more about this topic:  Real-time Operating Systems

Famous quotes containing the word memory:

    Beauty sat bathing by a spring,
    Where fairest shades did hide her;
    The winds blew calm, the birds did sing,
    The cool streams ran beside her.
    My wanton thoughts enticed mine eye
    To see what was forbidden:
    But better memory said Fie;
    So vain desire was chidden—
    Anthony Munday (1553–1633)