after umount /sys/kernel/debug,jetson_clocks command error.error info:
cat: /sys/kernel/debug/bpmp/debug/clk/emc/max_rate: No such file or directory
/usr/bin/jetson_clocks: line 494: /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked: No such file or directory
/usr/bin/jetson_clocks: line 495: /sys/kernel/debug/bpmp/debug/clk/emc/rate: No such file or directory
question1:Can the debug file system be uninstalled after system startup? If not, what are the impacts?
question2:After uninstalling the debug file system after system startup, it is necessary to enable maximum power consumption mode and CPU frequency locking. Does this error affect the performance?
Just so you know, /sys is not on any disk. This is a result of kernel drivers pretending to be files for various I/O purposes, e.g., some drivers accept commands to do things. You could have actual files of those names, but they would not do anything because they would not be the drivers. Any umount of this is essentially cutting the I/O path for control or monitoring of drivers.
Why would you want to remove and then add the /sys files?
Due to the kernel opening debugfs, exposing memory addresses, being attacked by DOS, and posing security issues, it was closed.
After uninstalling the debug file system after system startup, it is necessary to enable maximum power consumption mode and CPU frequency locking. Does this error affect the performance?
系统启动后卸载debug调试文件系统后,需要启用最大功耗模式和CPU频率锁定。这个错误会影响性能吗?错误如下:
执行jetson_clocks报错:
cat: /sys/kernel/debug/bpmp/debug/clk/emc/max_rate: No such file or directory
/usr/bin/jetson_clocks: line 494: /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked: No such file or directory
/usr/bin/jetson_clocks: line 495: /sys/kernel/debug/bpmp/debug/clk/emc/rate: No such file or directory
If you have some sort of DOS going on, then this is the wrong way to deal with it. You’re essentially lobotomizing various parts of the kernel from the outside world in such a way that talking to those parts of the kernel is no longer possible. This is not a bug, it did as you told it to do. Imagine your car is expected to be stolen, so you remove the transmission to prevent it from being driven away…then you want to get in your car and drive away and wonder why the car won’t move. Wouldn’t it be better to lock the doors or add a car alarm?
1、agx orin jetpack5.0.2,且未卸载 /sys/kernel/debug/。设置最大功耗模式,设置锁屏,采用stress-ng和gpu_burn压测,cpu主频稳定在2188000HZ未出现降频。
2、agx orin jetpack5.1.2,且未卸载 /sys/kernel/debug/。设置最大功耗模式,设置锁屏,正在测试
3、agx orin jetpack5.1.2,卸载 /sys/kernel/debug/。设置最大功耗模式,设置锁屏,CPU主频降频,降频记录如下