RT-kernel 移植后无效果

zzy1@zzy1:~$ sudo cyclictest -t 5 -p 50 --n
WARN: cyclictest was not built with the numa option

/dev/cpu_dma_latency set to 0us

policy: fifo: loadavg: 0.82 1.17 1.10 1/648 3803

T: 0 ( 3797) P:50 I:1000 C: 8602 Min: 18092 Act: 24499 Avg: 30118 Max: 118496
T: 1 ( 3798) P:50 I:1500 C: 5734 Min: 19468 Act: 24675 Avg: 29667 Max: 111945
T: 2 ( 3799) P:50 I:2000 C: 4301 Min: 19594 Act: 23058 Avg: 30292 Max: 136324
T: 3 ( 3800) P:50 I:2500 C: 3440 Min: 19794 Act: 70646 Avg: 37450 Max: 136564
T: 4 ( 3801) P:50 I:3000 C: 2867 Min: 18364 Act: 22143 Avg: 34760 Max: 141682
zzy@zzy:~uname -a
Linux titr 5.10.120-rt70-tegra #1 SMP PREEMPT RT Tue Jan 30 09:42:17 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
我在尝试 构建实时内核。在烧录后使用cyclctest查看,延时还是很高。
zzy@zzy:~/jetson/Linux_for_Tegra/rootfs/lib/modules$ ls
5.10.120-rt70-tegra 5.10.120-tegra
我的步骤

  1. 打开.p3668.conf.common 删除 console=ttyTCU0,
  2. ./kernel-5.10/scripts/rt-patch.sh apply-patches
  3. 在/kernel-5.10 make ARCH=arm64 O=$TEGRA_KERNEL_OUT tegra_defconfig
  4. sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT -j16
  5. 替换 Image 和 dts
  6. sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install
    INSTALL_MOD_PATH=$HOME/jetson/Linux_for_Tegra/rootfs/
  7. cd $HOME/software/JetsonNX/Linux_for_Tegra/rootfs
    tar --owner root --group root -cjf kernel_supplements.tbz2 lib/modules
  8. 替换kernel_supplements.tbz2
  9. sudo ./apply_binaries.sh
  10. sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
    -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml”
    –showlogs --network usb0 jetson-xavier-nx-devkit internal

https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/SD/Kernel/KernelCustomization.html#using-the-jetson-linux-real-time-kernel-package
register調一下試試看

你至少告訴我哪一個視窗是哪一次的結果…

这两个都是echo修改后的结果
一个是运行sudo cyclictest -t 5 -p 50 --n输出的结果
另一个是运行sudo cyclictest -t 8 -p 50 输出的结果

你要不要先對照一下你截圖上的指令跟你回的哪一個是對的
應該是正常但是偏高
跑測試之前先執行這個試試看

sudo nvpmodel -m 0
sudo jetson_clocks

这是我之前的数据 这是我在20w 6core 下


这是我sudo nvpmodel -m 0 sudo jetson_clocks后,在执行后我变成了15W 2core

我打算重新烧录一个正常版本的。进行一次对比。谢谢你

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.