Hi,
During the test of the Jetson AGX Orin dev board, we encountered continuosly IO bottleneck of the built-in storage. The problem first appeared when we tried to pull and build docker images. It took very long to download and extract files, especially for large files.
Then, we performed the following disk write test both on Jetson AGX Xavier and Jetson AGX Orin. Both of them are dev boards.
countArr=($(seq 1 1 10))
for count in "${countArr[@]}"
do
echo "Count: ${count}"
sudo dd if=/dev/zero of=/tmp/output bs=1G count=$count && sudo rm -f /tmp/output
done
The result for Jetson AGX Xavier:
Count: 1
1+0 records in
1+0 records out
1073741824 bytes (1,1 GB, 1,0 GiB) copied, 4,40018 s, 244 MB/s
Count: 2
2+0 records in
2+0 records out
2147483648 bytes (2,1 GB, 2,0 GiB) copied, 8,1285 s, 264 MB/s
Count: 3
3+0 records in
3+0 records out
3221225472 bytes (3,2 GB, 3,0 GiB) copied, 11,5208 s, 280 MB/s
Count: 4
4+0 records in
4+0 records out
4294967296 bytes (4,3 GB, 4,0 GiB) copied, 15,5986 s, 275 MB/s
Count: 5
5+0 records in
5+0 records out
5368709120 bytes (5,4 GB, 5,0 GiB) copied, 20,1221 s, 267 MB/s
Count: 6
6+0 records in
6+0 records out
6442450944 bytes (6,4 GB, 6,0 GiB) copied, 23,7572 s, 271 MB/s
Count: 7
7+0 records in
7+0 records out
7516192768 bytes (7,5 GB, 7,0 GiB) copied, 30,4741 s, 247 MB/s
Count: 8
8+0 records in
8+0 records out
8589934592 bytes (8,6 GB, 8,0 GiB) copied, 40,2465 s, 213 MB/s
Count: 9
9+0 records in
9+0 records out
9663676416 bytes (9,7 GB, 9,0 GiB) copied, 48,832 s, 198 MB/s
Count: 10
10+0 records in
10+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 58,0722 s, 185 MB/s
The result for Jetson AGX Orin:
Count: 1
1+0 records in
1+0 records out
1073741824 bytes (1,1 GB, 1,0 GiB) copied, 0,95453 s, 1,1 GB/s
Count: 2
2+0 records in
2+0 records out
2147483648 bytes (2,1 GB, 2,0 GiB) copied, 1,8267 s, 1,2 GB/s
Count: 3
3+0 records in
3+0 records out
3221225472 bytes (3,2 GB, 3,0 GiB) copied, 2,71831 s, 1,2 GB/s
Count: 4
4+0 records in
4+0 records out
4294967296 bytes (4,3 GB, 4,0 GiB) copied, 3,86091 s, 1,1 GB/s
Count: 5
5+0 records in
5+0 records out
5368709120 bytes (5,4 GB, 5,0 GiB) copied, 75,4004 s, 71,2 MB/s
Count: 6
6+0 records in
6+0 records out
6442450944 bytes (6,4 GB, 6,0 GiB) copied, 206,466 s, 31,2 MB/s
Count: 7
7+0 records in
7+0 records out
7516192768 bytes (7,5 GB, 7,0 GiB) copied, 380,17 s, 19,8 MB/s
Count: 8
8+0 records in
8+0 records out
8589934592 bytes (8,6 GB, 8,0 GiB) copied, 477,032 s, 18,0 MB/s
Count: 9
9+0 records in
9+0 records out
9663676416 bytes (9,7 GB, 9,0 GiB) copied, 604,54 s, 16,0 MB/s
Count: 10
10+0 records in
10+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 826,765 s, 13,0 MB/s
As shown above, the write operations of Orin has some significant performance degradation starting from count=5 with bs=1G. Could this be the cause to the issue? We have the same disk IO issue on the other Jetson AGX Orin dev board as well.
Some system information:
$ cat /proc/version
Linux version 5.10.104-tegra (buildbrain@mobile-u64-5273-d7000) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2020.08) 9.3.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP PREEMPT Wed Aug 10 20:17:07 PDT 2022
$ cat /etc/nv_tegra_release
# R35 (release), REVISION: 1.0, GCID: 31346300, BOARD: t186ref, EABI: aarch64, DATE: Thu Aug 25 18:41:45 UTC 2022
$ sudo apt-cache show nvidia-jetpack
Package: nvidia-jetpack
Version: 5.0.2-b231
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-jetpack-runtime (= 5.0.2-b231), nvidia-jetpack-dev (= 5.0.2-b231)
Homepage: http://developer.nvidia.com/jetson
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_5.0.2-b231_arm64.deb
I appreciate your help in advance!
Kind regards,
Zhongpin