So I'm putting together a new Truenas build, drives all from ebay. A mix of models but all HGST helium. Some care or were reformatted as 512, 2 are 520. They have all passed a full badblocks test. Some I have had for a while and were cycled out of another build, some are "new to me". Onto the weirdness.
In Truenas the 5 512 formatted drives are significantly slower (and this was not true when they were in my "bench" machine that runs Ubuntu) .
For writes:
Smaller sizes are predictably slower, but the "all reads are ok, writes are vastly asymmetric" remains.
I'm going to *guess* that I screwed up the low level formatting, but since that can take a long time and I'm not sure if I can "brick" a drive if I screw around with the command... I'm hesitant to just do so without more understanding.
All drives report " Mode: r0w0e0" from "geom disk list"
All drives report they are a mix of physical/logical 512/4096
Only 1 of the two 520 formatted drives reports "Formatted with type 1 protection | 8 bytes of protection information per logical block", but both are the identical reported size.
And I spin up a quick test Raidz1 as well as a ZFS stripe, write speeds with fully random data seem.... *fine* so.... is this just weirdness, or an actual issue?
In Truenas the 5 512 formatted drives are significantly slower (and this was not true when they were in my "bench" machine that runs Ubuntu) .
For writes:
Reads are much more sane, roughly 202MiB-221MiB with the same 1M size.[root@truenas ~]# for i in {0..6}; do echo $i && dd if=/dev/zero of=/dev/da$i bs=1M count=1024; done
0
1073741824 bytes transferred in 13.506698 secs (79496991 bytes/sec)
1
1073741824 bytes transferred in 13.757889 secs (78045534 bytes/sec)
2
1073741824 bytes transferred in 13.958135 secs (76925878 bytes/sec)
3
1073741824 bytes transferred in 5.416859 secs (198222223 bytes/sec)
4
1073741824 bytes transferred in 13.717107 secs (78277573 bytes/sec)
5
1073741824 bytes transferred in 5.303768 secs (202448882 bytes/sec)
6
1073741824 bytes transferred in 13.781617 secs (77911162 bytes/sec)
Smaller sizes are predictably slower, but the "all reads are ok, writes are vastly asymmetric" remains.
I'm going to *guess* that I screwed up the low level formatting, but since that can take a long time and I'm not sure if I can "brick" a drive if I screw around with the command... I'm hesitant to just do so without more understanding.
All drives report " Mode: r0w0e0" from "geom disk list"
All drives report they are a mix of physical/logical 512/4096
Only 1 of the two 520 formatted drives reports "Formatted with type 1 protection | 8 bytes of protection information per logical block", but both are the identical reported size.
And I spin up a quick test Raidz1 as well as a ZFS stripe, write speeds with fully random data seem.... *fine* so.... is this just weirdness, or an actual issue?