Jetson Nano
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[Jetson TX1]]
|SoC|Tegra X1|
|CPU|Cortex A57 4 core|
|GPU|Maxwell 128 Core|
|Memory|4GB LPDDR4|
|Storage|Micro SD|
[[Arm]][[:Arm Cortex A57]]
*スペック [#m4f9b40c]
-CPU:Cortex-A57 (1.4GHz)
-cpuinfo
$ cat /proc/cpuinfo
processor : 0
model name : ARMv8 Processor rev 1 (v8l)
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd07
CPU revision : 1
processor : 1
model name : ARMv8 Processor rev 1 (v8l)
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd07
CPU revision : 1
processor : 2
model name : ARMv8 Processor rev 1 (v8l)
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd07
CPU revision : 1
processor : 3
model name : ARMv8 Processor rev 1 (v8l)
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd07
CPU revision : 1
-lscpu
$ lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 1
Model name: Cortex-A57
Stepping: r1p1
CPU max MHz: 1428.0000
CPU min MHz: 102.0000
BogoMIPS: 38.40
L1d cache: 32K
L1i cache: 48K
L2 cache: 2048K
Flags: fp asimd evtstrm aes pmull sha1 sha...
-cpufreq
$ cat /sys/bus/cpu/devices/cpu?/cpufreq/cpuinfo_max_freq
1428000
1428000
1428000
1428000
-kernel
$ uname -a
Linux nvidia-nano 4.9.140-tegra #1 SMP PREEMPT Tue Jul 1...
-OS
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
-auxv
$ xxd -e -g8 /proc/self/auxv
00000000: 0000000000000021 0000007f92ef4000 !........@....
00000010: 0000000000000010 00000000000000ff ..............
00000020: 0000000000000006 0000000000001000 ..............
00000030: 0000000000000011 0000000000000064 ........d.....
00000040: 0000000000000003 00000055859d9040 ........@.....
00000050: 0000000000000004 0000000000000038 ........8.....
00000060: 0000000000000005 0000000000000008 ..............
00000070: 0000000000000007 0000007f92ec9000 ..............
00000080: 0000000000000008 0000000000000000 ..............
00000090: 0000000000000009 00000055859db1a4 ..............
000000a0: 000000000000000b 00000000000003e8 ..............
000000b0: 000000000000000c 00000000000003e8 ..............
000000c0: 000000000000000d 00000000000003e8 ..............
000000d0: 000000000000000e 00000000000003e8 ..............
000000e0: 0000000000000017 0000000000000000 ..............
000000f0: 0000000000000019 0000007fe8d6d208 ..............
00000100: 000000000000001f 0000007fe8d6dfeb ..............
00000110: 000000000000000f 0000007fe8d6d218 ..............
00000120: 0000000000000000 0000000000000000 ..............
-deviceQuery
/usr/local/cuda-10.0/samples/1_Utilities/deviceQuery/dev...
CUDA Device Query (Runtime API) version (CUDART static ...
Detected 1 CUDA Capable device(s)
Device 0: "NVIDIA Tegra X1"
CUDA Driver Version / Runtime Version 10.0 / ...
CUDA Capability Major/Minor version number: 5.3
Total amount of global memory: 3956 MB...
( 1) Multiprocessors, (128) CUDA Cores/MP: 128 CUD...
GPU Max Clock rate: 922 MHz...
Memory Clock rate: 13 Mhz
Memory Bus Width: 64-bit
L2 Cache Size: 262144 ...
Maximum Texture Dimension Size (x,y,z) 1D=(655...
Maximum Layered 1D Texture Size, (num) layers 1D=(163...
Maximum Layered 2D Texture Size, (num) layers 2D=(163...
Total amount of constant memory: 65536 b...
Total amount of shared memory per block: 49152 b...
Total number of registers available per block: 32768
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1...
Max dimension size of a grid size (x,y,z): (2147483...
Maximum memory pitch: 2147483...
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes wit...
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: Yes
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
Device supports Unified Addressing (UVA): Yes
Device supports Compute Preemption: No
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 0 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetD...
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version =...
Result = PASS
-gcc
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/7/lto...
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='...
--with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ -...
--with-gcc-major-version-only --program-suffix=-7 --prog...
--enable-shared --enable-linker-build-id --libexecdir=/u...
--enable-threads=posix --libdir=/usr/lib --enable-nls --...
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --w...
--enable-gnu-unique-object --disable-libquadmath --disab...
--enable-default-pie --with-system-zlib --enable-multiar...
--disable-werror --enable-checking=release --build=aarch...
--target=aarch64-linux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)
-nvcc
$ /usr/local/cuda-10.0/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Mon_Mar_11_22:13:24_CDT_2019
Cuda compilation tools, release 10.0, V10.0.326
-ccache
--nvccに対応したバージョン3.6をパッケージでインストールす...
$ sudo dpkg -i ccache_3.6-1_arm64.deb
Selecting previously unselected package ccache.
(Reading database ... 138239 files and directories curre...
Preparing to unpack ccache_3.6-1_arm64.deb ...
Unpacking ccache (3.6-1) ...
Setting up ccache (3.6-1) ...
Updating symlinks in /usr/lib/ccache ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
$ ccache --version
ccache version 3.6
Copyright (C) 2002-2007 Andrew Tridgell
Copyright (C) 2009-2019 Joel Rosdahl
This program is free software; you can redistribute it a...
the terms of the GNU General Public License as published...
Foundation; either version 3 of the License, or (at your...
version.
-cmake
--パッケージで提供されてるのが3.10.2。nvcc+ccacheに対応し...
$ sudo apt -y install cmake
$ cmake --version
cmake version 3.10.2
CMake suite maintained and supported by Kitware (kitware...
-UART Debug console
--[[115200 8N1>https://www.jetsonhacks.com/2019/04/19/jet...
*その他セットアップ [#u54ffa2e]
$ ssh-keygen -t ecdsa
$ ssh-keygen -f hoge
$ cat hoge.pub >> .ssh/authorized_keys
$ sudo apt update && sudo apt upgrade
$ git config --global user.name "Tomoaki Teshima"
$ git config --global user.email "tomoaki.teshima@gmail....
$ time sudo apt-get -y install libgtk-3-dev openjdk-8-jr...
*[[Jetson TX1]]との比較 [#r3286f5e]
-OSとかCUDAとかソフト的な変更は割愛
-cpu (/proc/cpuinfo)
--evtstrm機能がCortexA57に追加されている
+ Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- Features : fp asimd aes pmull sha1 sha2 crc32
-gpu (deviceQuery)
--きっちりコア数が半分に減っている
CUDA Capability Major/Minor version number: 5.3
+ Total amount of global memory: 3964 M...
+ ( 1) Multiprocessors, (128) CUDA Cores/MP: 128 CU...
- Total amount of global memory: 3994 M...
- ( 2) Multiprocessors, (128) CUDA Cores/MP: 256 CU...
終了行:
[[Jetson TX1]]
|SoC|Tegra X1|
|CPU|Cortex A57 4 core|
|GPU|Maxwell 128 Core|
|Memory|4GB LPDDR4|
|Storage|Micro SD|
[[Arm]][[:Arm Cortex A57]]
*スペック [#m4f9b40c]
-CPU:Cortex-A57 (1.4GHz)
-cpuinfo
$ cat /proc/cpuinfo
processor : 0
model name : ARMv8 Processor rev 1 (v8l)
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd07
CPU revision : 1
processor : 1
model name : ARMv8 Processor rev 1 (v8l)
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd07
CPU revision : 1
processor : 2
model name : ARMv8 Processor rev 1 (v8l)
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd07
CPU revision : 1
processor : 3
model name : ARMv8 Processor rev 1 (v8l)
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd07
CPU revision : 1
-lscpu
$ lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 1
Model name: Cortex-A57
Stepping: r1p1
CPU max MHz: 1428.0000
CPU min MHz: 102.0000
BogoMIPS: 38.40
L1d cache: 32K
L1i cache: 48K
L2 cache: 2048K
Flags: fp asimd evtstrm aes pmull sha1 sha...
-cpufreq
$ cat /sys/bus/cpu/devices/cpu?/cpufreq/cpuinfo_max_freq
1428000
1428000
1428000
1428000
-kernel
$ uname -a
Linux nvidia-nano 4.9.140-tegra #1 SMP PREEMPT Tue Jul 1...
-OS
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
-auxv
$ xxd -e -g8 /proc/self/auxv
00000000: 0000000000000021 0000007f92ef4000 !........@....
00000010: 0000000000000010 00000000000000ff ..............
00000020: 0000000000000006 0000000000001000 ..............
00000030: 0000000000000011 0000000000000064 ........d.....
00000040: 0000000000000003 00000055859d9040 ........@.....
00000050: 0000000000000004 0000000000000038 ........8.....
00000060: 0000000000000005 0000000000000008 ..............
00000070: 0000000000000007 0000007f92ec9000 ..............
00000080: 0000000000000008 0000000000000000 ..............
00000090: 0000000000000009 00000055859db1a4 ..............
000000a0: 000000000000000b 00000000000003e8 ..............
000000b0: 000000000000000c 00000000000003e8 ..............
000000c0: 000000000000000d 00000000000003e8 ..............
000000d0: 000000000000000e 00000000000003e8 ..............
000000e0: 0000000000000017 0000000000000000 ..............
000000f0: 0000000000000019 0000007fe8d6d208 ..............
00000100: 000000000000001f 0000007fe8d6dfeb ..............
00000110: 000000000000000f 0000007fe8d6d218 ..............
00000120: 0000000000000000 0000000000000000 ..............
-deviceQuery
/usr/local/cuda-10.0/samples/1_Utilities/deviceQuery/dev...
CUDA Device Query (Runtime API) version (CUDART static ...
Detected 1 CUDA Capable device(s)
Device 0: "NVIDIA Tegra X1"
CUDA Driver Version / Runtime Version 10.0 / ...
CUDA Capability Major/Minor version number: 5.3
Total amount of global memory: 3956 MB...
( 1) Multiprocessors, (128) CUDA Cores/MP: 128 CUD...
GPU Max Clock rate: 922 MHz...
Memory Clock rate: 13 Mhz
Memory Bus Width: 64-bit
L2 Cache Size: 262144 ...
Maximum Texture Dimension Size (x,y,z) 1D=(655...
Maximum Layered 1D Texture Size, (num) layers 1D=(163...
Maximum Layered 2D Texture Size, (num) layers 2D=(163...
Total amount of constant memory: 65536 b...
Total amount of shared memory per block: 49152 b...
Total number of registers available per block: 32768
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1...
Max dimension size of a grid size (x,y,z): (2147483...
Maximum memory pitch: 2147483...
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes wit...
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: Yes
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
Device supports Unified Addressing (UVA): Yes
Device supports Compute Preemption: No
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 0 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetD...
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version =...
Result = PASS
-gcc
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/7/lto...
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='...
--with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ -...
--with-gcc-major-version-only --program-suffix=-7 --prog...
--enable-shared --enable-linker-build-id --libexecdir=/u...
--enable-threads=posix --libdir=/usr/lib --enable-nls --...
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --w...
--enable-gnu-unique-object --disable-libquadmath --disab...
--enable-default-pie --with-system-zlib --enable-multiar...
--disable-werror --enable-checking=release --build=aarch...
--target=aarch64-linux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)
-nvcc
$ /usr/local/cuda-10.0/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Mon_Mar_11_22:13:24_CDT_2019
Cuda compilation tools, release 10.0, V10.0.326
-ccache
--nvccに対応したバージョン3.6をパッケージでインストールす...
$ sudo dpkg -i ccache_3.6-1_arm64.deb
Selecting previously unselected package ccache.
(Reading database ... 138239 files and directories curre...
Preparing to unpack ccache_3.6-1_arm64.deb ...
Unpacking ccache (3.6-1) ...
Setting up ccache (3.6-1) ...
Updating symlinks in /usr/lib/ccache ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
$ ccache --version
ccache version 3.6
Copyright (C) 2002-2007 Andrew Tridgell
Copyright (C) 2009-2019 Joel Rosdahl
This program is free software; you can redistribute it a...
the terms of the GNU General Public License as published...
Foundation; either version 3 of the License, or (at your...
version.
-cmake
--パッケージで提供されてるのが3.10.2。nvcc+ccacheに対応し...
$ sudo apt -y install cmake
$ cmake --version
cmake version 3.10.2
CMake suite maintained and supported by Kitware (kitware...
-UART Debug console
--[[115200 8N1>https://www.jetsonhacks.com/2019/04/19/jet...
*その他セットアップ [#u54ffa2e]
$ ssh-keygen -t ecdsa
$ ssh-keygen -f hoge
$ cat hoge.pub >> .ssh/authorized_keys
$ sudo apt update && sudo apt upgrade
$ git config --global user.name "Tomoaki Teshima"
$ git config --global user.email "tomoaki.teshima@gmail....
$ time sudo apt-get -y install libgtk-3-dev openjdk-8-jr...
*[[Jetson TX1]]との比較 [#r3286f5e]
-OSとかCUDAとかソフト的な変更は割愛
-cpu (/proc/cpuinfo)
--evtstrm機能がCortexA57に追加されている
+ Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- Features : fp asimd aes pmull sha1 sha2 crc32
-gpu (deviceQuery)
--きっちりコア数が半分に減っている
CUDA Capability Major/Minor version number: 5.3
+ Total amount of global memory: 3964 M...
+ ( 1) Multiprocessors, (128) CUDA Cores/MP: 128 CU...
- Total amount of global memory: 3994 M...
- ( 2) Multiprocessors, (128) CUDA Cores/MP: 256 CU...
ページ名: