...
4xSamsung 990 Pro GMKtec NucBox G9 Ubuntu 24.04 LVM RAID0 | Sequental | Random | |||||||
---|---|---|---|---|---|---|---|---|---|
Read (MiB/s) | Write (MiB/s) | Read (MiB/s) | Write (MiB/s) | ||||||
RAID | compression | bs = 1M | bs = 4K | bs = 1M | bs = 4K | bs = 1M | bs = 4K | bs = 1M | bs = 4K |
ZFS Stripe | OFF/128K | 4357 | 986 | 3405 | 508 | 4258 | 168 | 3007 | 80.3 |
LVM Stripe (ext4) | OFF/4K | 2596 | 213 | 2434 | 165 | 2302 | 65.3 | 2437 | 162 |
LVM Stripe (ext4) | OFF/16K | 2574 | 220 | 2357 | 167 | 2163 | 64.9 | 2362 | 157 |
LVM Stripe (ext4) | OFF/128K | 2619 | 51 | 2369 | 148 | 2322 | 65.6 | 2372 | 143 |
btrfs raid 0 | OFF/4K | 1947 | 126 | 2017 | 134 | 1943 | 42.5 | 1988 | 118 |
btrfs raid 0 | ON/4K | 1960 | 44.7 | 2036 | 129 | 1930 | 40.0 | 1993 | 117 |
VG PE Size 4M, PV PE Size 4M ext fs default cluster size 4k
Code Block |
---|
mkfs.ext4 -C 16384 -O bigalloc -L EXT4-16K /dev/storage/fs mkfs.btrfs --data raid0 --sectorsize 4k /dev/nvme0n1p1 /dev/nvme1n1p1 /dev/nvme2n1p1 /dev/nvme3n1p1 |
Table for comparison with non-NAS devices
...
For disk performance comparison next system were use,
...
Commands used to test disk speed
Code Block |
---|
cd /mnt/pool/shared/user
# each command executed 3 times
# 1M
fio --ioengine=libaio --direct=1 --name=test --filename=test0 --bs=1M --size=4G --readwrite=write --ramp_time=4 # Col 3
fio --ioengine=libaio --direct=1 --name=test --filename=test0 --bs=1M --size=4G --readwrite=read --ramp_time=4 # Col 1
fio --randrepeat=1 --ioengine=libaio --direct=1 --name=test1 --filename=test2 --bs=1M --size=4G --readwrite=randwrite --ramp_time=4 # Col 7
fio --randrepeat=1 --ioengine=libaio --direct=1 --name=test1 --filename=test2 --bs=1M --size=4G --readwrite=randread --ramp_time=4 # Col 5
# 4K
fio --ioengine=libaio --direct=1 --name=test --filename=test0 --bs=4K --size=4G --readwrite= |
1 Year is 8766 hours (37877 hours = 4.3 Years)
Commands used to test disk speed
Code Block |
---|
cd /mnt/pool/shared/user # each command executed 3 times # 1M fio --ioengine=libaio --direct=1 --name=test --filename=test0 --bs=1M --size=4G --readwrite=write --ramp_time=4 # Col 34 fio --ioengine=libaio --direct=1 --name=test --filename=test0 --bs=1M4K --size=4G --readwrite=read --ramp_time=4 # Col 12 fio --randrepeat=1 --ioengine=libaio --direct=1 --name=test1 --filename=test2 --bs=1M4k --size=4G --readwrite=randwrite --ramp_time=4 # Col 78 fio --randrepeat=1 --ioengine=libaio --direct=1 --name=test1 --filename=test2 --bs=1M4k --size=4G --readwrite=randread --ramp_time=4 # Col 5 # 4K fio --ioengine=libaio --direct=1 --name=test --filename=test0 --bs=4K --size=4G --readwrite=write --ramp_time=4 # Col 4 fio --ioengine=libaio --direct=1 --name=test --filename=test0 --bs=4K --size=4G --readwrite=read --ramp_time=4 # Col 2 fio --randrepeat=1 --ioengine=libaio --direct=1 --name=test1 --filename=test2 --bs=4k --size=4G --readwrite=randwrite --ramp_time=4 # Col 8 fio --randrepeat=1 --ioengine=libaio --direct=1 --name=test1 --filename=test2 --bs=4k --size=4G --readwrite=randread --ramp_time=4 # Col 66 |
Table for comparison with non-NAS devices
Sequental | Random | ||||||||
---|---|---|---|---|---|---|---|---|---|
Read (MiB/s) | Write (MiB/s) | Read (MiB/s) | Write (MiB/s) | ||||||
device | disk type | bs = 1M | bs = 4K | bs = 1M | bs = 4K | bs = 1M | bs = 4K | bs = 1M | bs = 4K |
R100N | 1xNVMe | 1302 | 123 | 1047 | 104 | 1211 | 49.1 | 1056 | 103 |
R100S | 1xSSD | 405 | 57.4 | 347 | 49.9 | 321 | 20.0 | 341 | 48.5 |
N200N | 1xNVMe | 1293 | 89.9 | 1212 | 202 | 1255 | 74.0 | 1152 | 193 |
I1071N | 1xNVMe | 2720 | 278 | 2691 | 280 | 2462 | 75.0 | 2414 | 216 |
I1355N | 1xNVMe | 1756 | 289 | 16.0 | 2.5 | 1348 | 57.4 | 15.9 | 2.6 |
DS220+ | 2xHDD | 179 | 62.7 | 168 | 20.9 | 182 | 61.5 | 169 | 9.6 |
For disk performance comparison next system were use,
code | Hardware | Disk | space used,% | Power On, hours | Life Time Remain, % |
---|---|---|---|---|---|
N150R | Intel N150, 12GB LPDDR5, Debian, TrueNAS 25.04 RC1, ZFS | Samsung SSD 990 PRO with Heatsink 4TB (4 in RAID) | 1 | 56 | 100 |
R100N | Intel N100, 16GB DDR4, Ubuntu 24.04, CasaOS, ext4 | Movespeed YSSDHB-4TN7000 4TB NVMe | 8 | 4822 | 100 |
R100S | Intel N100, 16GB DDR4, Ubuntu 24.04, CasaOS, ext4 | Transcend SSD230S 4 TB SATA SSD | 49 | 1522 | 100 |
N200N | Intel N200, 32GB DDR5, Ubuntu 24.04, ext4 | Fanxiang S500PRO 2TB | 97 | 8343 | 100 |
I1071N | Intel Core i7-10710U, 64GB DDR4, Ubuntu 24.0 | Lexar SSD ARES 4TB | 74 | 12238 | 99 |
I1355N | Intel Core i7-1355U (15W), 96GB DDR5, Ubuntu 24.04 | XPG GAMMIX S70 BLADE 8TB | 85 | 6823 | 100 |
DS220+ | Synology DS220+, J4025, 2GB, RAID1 | WD Gold Enterprise Class 18 TB 7200 RPM(2 in RAID1) | 77 | 37877 | N/A |
1 Year is 8766 hours (37877 hours = 4.3 Years)
Check Power Limits
Code Block |
---|
root@truenas:/mnt/pool/shared/user# turbostat 2>&1|grep Watt RAPL: 43691 sec. Joule Counter Range, at 6 Watts cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.) cpu0: PKG Limit #1: ENabled (15.000 Watts, 8.000000 sec, clamp ENabled) cpu0: PKG Limit #2: ENabled (15.000 Watts, 0.002441* sec, clamp DISabled) cpu0: PKG Limit #4: 78.000000 Watts (UNlocked) cpu0: DRAM Limit: DISabled (0.000 Watts, 0.000977 sec, clamp DISabled) cpu0: Cores Limit: DISabled (0.000 Watts, 0.000977 sec, clamp DISabled) cpu0: GFX Limit: DISabled (0.000 Watts, 0.000977 sec, clamp DISabled) |
...