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

34 lines
1.1 KiB
Fortran

module FileHandlingConfig {
#Base ID for the FileHandling Subtopology, all components are offsets from this base ID
constant BASE_ID = 0x05000000
module QueueSizes {
constant fileUplink = 10
constant fileDownlink = 10
constant fileManager = 10
constant prmDb = 10
}
module StackSizes {
constant fileUplink = 64 * 1024
constant fileDownlink = 64 * 1024
constant fileManager = 64 * 1024
constant prmDb = 64 * 1024
}
module Priorities {
constant fileUplink = 24
constant fileDownlink = 23
constant fileManager = 22
constant prmDb = 21
}
# File downlink configuration constants
module DownlinkConfig {
constant timeout = 1000 # File downlink timeout in ms
constant cooldown = 1000 # File downlink cooldown in ms
constant cycleTime = 1000 # File downlink cycle time in ms
constant fileQueueDepth = 10 # File downlink queue depth
}
}