Hello everyone, I have encountered some problems while using TrueNAS. The write speed of my TrueNAS is extremely slow, but the read speed is completely normal.
write speed:
As the above test results show, my read speed can reach 843MB/S, but the write speed is only 42MB/s.
The dataset I used for testing has Atime and compression functions turned off, and is configured with sync=ALWAYS.
My physical hardware configuration is AMD 5650GE+64G ECC MEM+ASUS B550M motherboard; TrueNAS runs as a VM in Proxmox, and I have allocated 4 cores and 32G memory to the TrueNAS VM. I have passthrough the onboard SATA controller to TrueNAS so that TrueNAS can directly operate the hardware, so I believe that my virtualization should not be significantly related to the performance problems I encountered.
My storage pool configuration is as follows. I used 4*16T HDDs(2 WD,2 Toshiba) to form a 2x2 mirror pool:
I hope you can help me, thank you again and have a nice day.
write speed:
read speedroot@truenas[/mnt/pool/volume1]# dd if=/dev/urandom of=/mnt/pool/volume1/testx.img bs=1M count=20480
20480+0 records in
20480+0 records out
21474836480 bytes (21 GB, 20 GiB) copied, 511.211 s, 42.0 MB/s
Even when reading a cold file that has not been cached, it can still reach a read speed of 520 MB/s.root@truenas[/mnt/pool/volume1]# dd if=/mnt/pool/volume1/testx.img of=/dev/null bs=1M count=20480
20480+0 records in
20480+0 records out
21474836480 bytes (21 GB, 20 GiB) copied, 25.4646 s, 843 MB/s
root@truenas[/mnt/pool/volume1]# dd if=/mnt/pool/volume1/a_cold_file.mkv of=/dev/null bs=1M count=20480
20480+0 records in
20480+0 records out
21474836480 bytes (21 GB, 20 GiB) copied, 41.3029 s, 520 MB/s
As the above test results show, my read speed can reach 843MB/S, but the write speed is only 42MB/s.
The dataset I used for testing has Atime and compression functions turned off, and is configured with sync=ALWAYS.
My physical hardware configuration is AMD 5650GE+64G ECC MEM+ASUS B550M motherboard; TrueNAS runs as a VM in Proxmox, and I have allocated 4 cores and 32G memory to the TrueNAS VM. I have passthrough the onboard SATA controller to TrueNAS so that TrueNAS can directly operate the hardware, so I believe that my virtualization should not be significantly related to the performance problems I encountered.
My storage pool configuration is as follows. I used 4*16T HDDs(2 WD,2 Toshiba) to form a 2x2 mirror pool:
pool: pool
state: ONLINE
scan: resilvered 9.75T in 23:38:35 with 0 errors on Sat Sep 30 07:36:35 2023
config:
NAME STATE READ WRITE CKSUM
pool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
2343edf3-760d-4ed7-b7eb-caa44e715193 ONLINE 0 0 0
dbc71442-bc2b-4df4-94de-bb308c837dd4 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
3248d680-ab45-47d4-8d4e-0828b1b03687 ONLINE 0 0 0
4cb3c5f9-1113-41c1-be65-8b498cae56ac ONLINE 0 0 0
cache
476716f5-5577-46e3-92fe-be42efa95151 ONLINE 0 0 0
errors: No known data errors
I hope you can help me, thank you again and have a nice day.