Ports the Thread-Metric suite of benchmarks from ThreadX to Zephyr. This makes it easier for others to run these benchmarks with the best set of configuration options for their board so that they can better compare Zephyr performance to another RTOS. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
26 lines
655 B
Plaintext
26 lines
655 B
Plaintext
# Default base configuration file
|
|
|
|
# Use a tickless kernel to minimize the number of timer interrupts
|
|
CONFIG_TICKLESS_KERNEL=y
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
|
|
|
|
# Optimize for speed
|
|
CONFIG_SPEED_OPTIMIZATIONS=y
|
|
|
|
# Disable time slicing
|
|
CONFIG_TIMESLICING=n
|
|
|
|
# Test is only designed for a single CPU
|
|
CONFIG_MP_MAX_NUM_CPUS=1
|
|
|
|
# Disabling hardware stack protection can greatly
|
|
# improve system performance.
|
|
CONFIG_HW_STACK_PROTECTION=n
|
|
|
|
# Picolibc is faster than Zephyr's minimal libc memcpy
|
|
CONFIG_PICOLIBC_SPEED_OPTIMIZATIONS=y
|
|
CONFIG_PICOLIBC_USE_MODULE=y
|
|
|
|
# Disable Thread Local Storage for better context switching times
|
|
CONFIG_THREAD_LOCAL_STORAGE=n
|