-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
My RTAI package 4.1 branch builds the latest ShabbyX/RTAI code, and the linux-ipipe-deb 3.16.7 branch builds kernel packages from that.
#24 raised the issue of scheduling latency calibration, which is reported to be done at build time, traditionally. This doesn't make sense in a package setting, since latency values likely won't apply to the application host (if calibration on the build host is even possible, which it isn't in my environment).
RTAI ships an init script that loads modules at boot time. I propose to use this init script to run the calibrate tool on the application host to determine latency, and then load modules with the resulting figures.
I'd appreciate help with these questions:
- How exactly to determine the latency? The calibration
READMEsays it's up to the user to determine a balance between the kernel and user space scheduling latency figures from thecalibration_helpertool. Any rules of thumb? - How to feed the results into which parameter of which module? The latest (v. 3.4) user manual appears out of date, referring to
rtai_lxrt.koandrtai_ksched.ko. - Does it make most sense to run
calibration_helperjust once and store the results in amodprobe.dor/etc/defaultconfig file, from where the results will be retrieved upon subsequent boots? This would enable the user to further tune the value, as well as possibly saving time during boot.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels