mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
Set GPU priorities + improved modeld priorities (#2691)
* give gpu threads rt priority * modeld gets highest prio on core 2 * fix frame stream * lower prio of cal thread Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: c57ee16e86275820f97631fb79df1685e914d564
This commit is contained in:
@@ -69,6 +69,11 @@ function two_init {
|
||||
done
|
||||
echo 2 > /proc/irq/193/smp_affinity_list # GPU
|
||||
|
||||
# give GPU threads RT priority
|
||||
for pid in $(pgrep "kgsl"); do
|
||||
chrt -f -p 52 $pid
|
||||
done
|
||||
|
||||
# Check for NEOS update
|
||||
if [ $(< /VERSION) != "$REQUIRED_NEOS_VERSION" ]; then
|
||||
if [ -f "$DIR/scripts/continue.sh" ]; then
|
||||
|
||||
Reference in New Issue
Block a user