Philip Romano bf12f48c27
Adjust task priorities to fit within supported platform priority ranges (#4337)
* Adjust task priorities to fit in supported platforms' priority ranges

Darwin's task priority range is most restrictive (15-47); adjusted priorities
to reside within that range.

* Add comment clarifying TASK_PRIORITY_DEFAULT and TASK_DEFAULT

* Adjust relative task priorities for uplink and downlink

This moves uplink tasks to higher priority than downlink tasks and places
consumer tasks at higher priority than producer tasks.
2025-10-22 15:46:05 -07:00

43 lines
1.2 KiB
Fortran

module ComCcsdsConfig {
#Base ID for the ComCcsds Subtopology, all components are offsets from this base ID
constant BASE_ID = 0x02000000
module QueueSizes {
constant comQueue = 50
constant aggregator = 10
}
module StackSizes {
constant comQueue = 64 * 1024
constant aggregator = 64 * 1024
}
module Priorities {
constant aggregator = 30
constant comQueue = 29
}
# Queue configuration constants
module QueueDepths {
constant events = 200
constant tlm = 500
constant file = 100
}
module QueuePriorities {
constant events = 0
constant tlm = 2
constant file = 1
}
# Buffer management constants
module BuffMgr {
constant frameAccumulatorSize = 2048
constant commsBuffSize = 2048
constant commsFileBuffSize = 3000
constant commsBuffCount = 20
constant commsFileBuffCount = 30
constant commsBuffMgrId = 200
}
}