Output of lscpu on Jetpack 5.1.1 shows incorrect cache sizes for AGX Xavier

Here’s the output of lscpu on an AGX Xavier running 5.1.1. I have noticed that my applications have much higher cache miss rates, and hence lower CPU performance, than on Jetpack 4, and it seems like it might be related to this issue.

Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          8
On-line CPU(s) list:             0-7
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       4
Vendor ID:                       Nvidia
Model:                           0
Model name:                      ARMv8 Processor rev 0 (v8l)
Stepping:                        0x0
CPU max MHz:                     2265.6001
CPU min MHz:                     115.2000
BogoMIPS:                        62.50
L1d cache:                       512 KiB
L1i cache:                       1 MiB
L2 cache:                        8 MiB
L3 cache:                        4 MiB
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Branch predictor hardening
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm dcpop

On my previous Jetpack 4.3 builds, the cache sizes are reported correctly

L1d cache:           64K
L1i cache:           128K
L2 cache:            2048K
L3 cache:            4096K

It seems like on Jetpack 5 lscpu prints the total cache L1 and L2 cache size, not just per-core. So this isn’t a bug; I’ll create a separate post for the cache performance degradation issue.

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