We tried lscpu 2.37.2, and it could also show correct information. So
the fix change should be merged during 2.34 to 2.37.

Please help on this issue to backport the fix change to 2.34 for Ubuntu
focal.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2041779

Title:
  lscpu shows wrong L3 Cache size on NVIDIA Orin Nano

Status in util-linux package in Ubuntu:
  New

Bug description:
  For NVIDIA Orin Nano, L3 all cache size is 4M. But we got different
  result via lscpu comes from different version of util-linux:

  lscpu from util-linux 2.34 which is the default version in Ubuntu
  focal (20.04) and shows wrong information:

      # lscpu -C    // lscpu bin from util-linux 2.34
      NAME ONE-SIZE ALL-SIZE WAYS TYPE        LEVEL
      L1d       64K     384K    4 Data            1
      L1i       64K     384K    4 Instruction     1
      L2       256K     1.5M    8 Unified         2
      L3         2M       2M   16 Unified         3

      # lscpu
      L1d cache:                       384 KiB
      L1i cache:                       384 KiB
      L2 cache:                        1.5 MiB
      L3 cache:                        2 MiB

  lscpu from util-linux 2.39 shows correct information, and this version
  is only packaged for Ubuntu mantic (23.10):

      # lscpu -C    // lscpu bin from util-linux 2.39
      NAME ONE-SIZE ALL-SIZE WAYS TYPE        LEVEL SETS PHY-LINE COHERENCY-SIZE
      L1d       64K     384K    4 Data            1  256                      64
      L1i       64K     384K    4 Instruction     1  256                      64
      L2       256K     1.5M    8 Unified         2  512                      64
      L3         2M       4M   16 Unified         3 2048                      64

      # lscpu
      Caches (sum of all):
        L1d:                   384 KiB (6 instances)
        L1i:                   384 KiB (6 instances)
        L2:                    1.5 MiB (6 instances)
        L3:                    4 MiB (2 instances)

  Looks like there was a fix during version 2.34 to 2.39, but we need to
  use Ubuntu 20.04. Can you please backport the fix change to 2.34 then
  we can get correct information using default lscpu for Ubuntu 20.04?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2041779/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to