qyh
August 4, 2023, 3:36am
1
Dear nvidia dev teams:
I have read the following post and feel that it is just an estimate.
Hello,
I would like to measure DDR bandwidth of the Xavier during runtime.
Following is the tegrastats output :
RAM 11444/15688MB (lfb 427x4MB) SWAP 0/7844MB (cached 0MB) CPU [3%@2265,2%@2263,0%@2217,0%@2265,1%@2265,0%@2265,3%@2265,6%@2265] EMC_FREQ 29%@2133 GR3D_FREQ 56%@1377 APE 150 MTS fg 0% bg 6% AO@37C GPU@38.5C Tboard@37C Tdiode@40.5C AUX@37.5C CPU@38C thermal@37.8C PMIC@100C GPU 4008/4008 CPU 1079/1109 SOC 4008/3977 CV 3394/3393 VDDRQ 1542/1542 SYS5V 3185/3181
out of that , EMC_FREQ …
How can I accurately obtain bandwidth data?
Additionally, I have used LMbench testing, which can only test the DDR bandwidth of the CPU. However, when we perform model inference, GPU, DLA, and CPU all access DDR. How can we see the total bandwidth data.
Thanks.
Maybe try --interval to check
Thanks
qyh
August 4, 2023, 6:14am
5
Thanks for your reply,ShaneCCC
I tried --interval, but it’s still only a percentage,I can’t see the real bandwidth
qyh
August 4, 2023, 6:22am
6
root@nvidia-desktop:~# tegrastats --interval<int>
-bash: syntax error near unexpected token `newline'
root@nvidia-desktop:~# tegrastats --interval <int>
-bash: syntax error near unexpected token `newline'
root@nvidia-desktop:~# tegrastats --interval <int>
-bash: syntax error near unexpected token `newline'
Looks like something’s not quite right
This parameter only change the sample rate like below each 1 millisec get the data.
tegrastats --interval 1
qyh
August 4, 2023, 8:53am
8
EMC_FREQ 0%@2133
there’s no specific bandwidth monitoring tool?I want to see the actual bandwidth speed,
What do you mean bandwidth speed? @2133 is the speed?
qyh
August 4, 2023, 9:35am
10
I know that the theoretical bandwidth speed of orin’s DDR is 102GB/S(3200x256/8). I would like to know the specific speed of the current situation,not the percentage.
Thanks,ShaneCCC
The speed is should be able get from below node.
sudo cat /sys/kernel/debug/bpmp/debug/clk/emc/rate
qyh
August 6, 2023, 7:12am
12
nvidia@nvidia-desktop:~$ sudo cat /sys/kernel/debug/bpmp/debug/clk/emc/rate
2133000000
This value is always 2333, I think it should be seeing the current frequency
cat /sys/kernel/actmon_avg_activity/mc_all
system
Closed
August 30, 2023, 1:07am
14
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.