国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
opkg update | |
opkg install losetup resize2fs | |
BOOT="$(sed -n -e "/\s\/boot\s.*$/{s///p;q}" /etc/mtab)" | |
DISK="${BOOT%%[0-9]*}" | |
PART="$((${BOOT##*[^0-9]}+1))" | |
ROOT="${DISK}${PART}" | |
LOOP="$(losetup -f)" | |
losetup ${LOOP} ${ROOT} | |
fsck.ext4 -y ${LOOP} | |
resize2fs ${LOOP} |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
From this article you’ll learn how to measure an input/output performance of a file system on such devices as HDD, SSD, USB Flash Drive etc.
I’ll show how to test the read/write speed of a disk from the Linux command line using dd command.
I’ll also show how to install and use hdparm utility for measuring read speed of a disk on Linux Mint, Ubuntu, Debian, CentOS, RHEL.
Take the average result: To get the accurate read/write speed, you should repeat the below tests several times (usually 3-5) and take the average result.