Клиппер
Go to file
Dr. Matthew Swabey 4026365270
linux: Lock Memory and Increase Priority (#6131)
Realtime programming best practice is to lock realtime code
memory to prevent paging which will lead to unbounded latencies. The
Linux MCU process has well bounded memory and small RAM footprint
so locking the entire process' RAM has no downsides and will improve
behavior when the system comes under memory pressure.
(See bootlin training and Linux Foundation documentation linked below.)
RT process priority ranges from 0-99 (although POSIX only requires 32),
boost MCU process priority to half the max/2 to improve robustness when
the system comes under pressure from other RT Kernel or user processes.

Reference links:
bootlin: https://bootlin.com/doc/training/preempt-rt/preempt-rt-slides.pdf
Linux Foundation: https://wiki.linuxfoundation.org/realtime/documentation/howto/applications/application_base#howto_build_a_simple_rt_application

Signed-off-by: Matthew Swabey <matthew@swabey.org>
2023-03-27 21:34:24 -04:00
.github stale-issue-bot: Update github lock-threads action to v4 2023-03-27 20:22:44 -04:00
config config: Update printer-anycubic-vyper-2021.cfg (#6113) 2023-03-21 15:12:58 -04:00
docs tmc: Enable sg_angle_offset for smooth switching from Stealthchop to Spreadcycle (#6123) 2023-03-27 21:18:06 -04:00
klippy tmc: Enable sg_angle_offset for smooth switching from Stealthchop to Spreadcycle (#6123) 2023-03-27 21:18:06 -04:00
lib ar100: Support for ar100 (#6054) 2023-02-20 20:15:01 -05:00
scripts scripts: add install script for Ubuntu 22.04 Jammy (#6112) 2023-03-27 21:09:46 -04:00
src linux: Lock Memory and Increase Priority (#6131) 2023-03-27 21:34:24 -04:00
test config: Add Fysetc Cheetah V2.0 (#6119) 2023-03-20 11:06:44 -04:00
.gitignore util: Fix versioning when gitdir is absent (#809) 2018-10-27 10:44:38 -04:00
COPYING COPYING: Update GPLv3 license to latest text (uses https instead of http) 2022-06-03 11:28:44 -04:00
Makefile makefile: disable null pointer checks 2022-06-08 12:17:12 -04:00
README.md docs: Add a Sponsors.md file 2022-07-16 10:48:10 -04:00

README.md

Welcome to the Klipper project!

Klipper

https://www.klipper3d.org/

Klipper is a 3d-Printer firmware. It combines the power of a general purpose computer with one or more micro-controllers. See the features document for more information on why you should use Klipper.

To begin using Klipper start by installing it.

Klipper is Free Software. See the license or read the documentation. We depend on the generous support from our sponsors.