Resource usage
High performance combined with low resource usage has always been a major design consideration.
![SEGGER embOS SEGGER embOS](https://c.a.segger.com/fileadmin/_processed_/0/b/csm_Produkt-Icon_embOS_ab845fa2b9.png)
Resource usage of different operating systems
The actual resource usage depends on many factors (CPU, compiler, memory model, optimization, configuration, etc.). Therefore, these values are neither precise, nor guaranteed – but they give you a good idea of the memory requirements. In the table below, which is for a 32 bit target and XRelease build, you will find minimum ROM and RAM size requirements.
Module | Memory type | Memory requirements |
---|---|---|
embOS kernel | ROM | ~ 1700 bytes |
embOS kernel | RAM | ~ 110 bytes |
Task control block | RAM | 36 bytes |
Software timer | RAM | 20 bytes |
Task event | RAM | 0 bytes |
Event object | RAM | 12 bytes |
Mutex | RAM | 16 bytes |
Semaphore | RAM | 8 bytes |
RWLocks | RAM | 28 bytes |
Mailbox | RAM | 24 bytes |
Queue | RAM | 32 bytes |
Watchdog | RAM | 12 bytes |
Fixed Block Size Memory Pool | RAM | 32 bytes |