iperf
STREAM
sysbench
- https://www.cloudsavvyit.com/2521/how-to-test-your-unix-servers-disk-and-ram-speed/
- https://git.congatec.com/yocto/meta-openembedded/blob/dc48e768f527cbed0cc3899f6a2ebb396cd9ada8/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb
- https://stackoverflow.com/questions/62227788/is-there-major-difference-in-underlying-implementation-of-the-following-sysbench
- https://www.dondari.com/Amazon_LinuxにSysbenchをインストールする手順
- https://e-garakuta.net/techinfo/doku.php/linux/sysbench
TEMPMON(Temperature Monitor)
- https://qiita.com/koara-local/items/1fac13704123717f5cc8
- https://manual.atmark-techno.com/armadillo-iot-g3/armadillo-iotg-g3_product_manual_ja-1.0.0/ch07.html
Kernel config
- https://community.nxp.com/thread/360368
- https://community.nxp.com/thread/376369
- https://yoctobbq.lineo.co.jp/?q=node/200
- https://yoctobbq.lineo.co.jp/?q=node/184
- https://qiita.com/maueki/items/324190b5ca53cf780f93
SD Card
- https://community.nxp.com/docs/DOC-105521
- https://community.nxp.com/thread/526763
- http://www.sinby.com/misc/yocto-30.html
試したこと
local.conf の変更
ひとまず試すということで ./conf/local.conf に以下を追記(あるいは変更) local.conf は fsl-setup-release.sh の実施で初期化されるので注意
EXTRA_IMAGE_FEATURES ?= "debug-tweaks tools-sdk dev-pkgs" INHERIT_append = " extrausers" EXTRA_USERS_PARAMS = "useradd -P userpass user;usermod -P rootpass root;" IMAGE_ROOTFS_EXTRA_SPACE = "1048576"
iperf
ターゲットでgccでビルド
curl -OL https://iperf.fr/download/source/iperf-3.1.3-source.tar.gz ./configure make sudo make install
sysbench
./configure にて以下の通りエラーになるので mysql を無効化
configure: error: mysql_config executable not found ******************************************************************************** ERROR: cannot find MySQL libraries. If you want to compile with MySQL support, you must either specify file locations explicitly using --with-mysql-includes and --with-mysql-libs options, or make sure path to mysql_config is listed in your PATH environment variable. If you want to disable MySQL support, use --without-mysql option. ********************************************************************************
以下を実施した。
$ curl -OL http://downloads.mysql.com/source/sysbench-0.4.12.5.tar.gz $ gunzip -c sysbench-0.4.12.5.tar.gz |tar zx $ ./autogen.sh $ ./configure --without-mysql $ sudo make install $ sysbench --test=cpu run --max-requests=1000 --num-threads=2
なお、sysbench-0.4.12.14.tar.gz は make 時に以下のエラーになるのが解消できなかったのであきらめた。
gcc: error: unrecognized command line option '-m64'