Hi,
I recently installed FreeBSD 11.2 on a PC which was transported with a Transcend SSD, this has UFS with Soft updates enabled(without journaling), I see very low write speeds on this and the PC goes unresponsive when disk IO intensive task is underway. Also the disk was not getting detected occasionally during bootup, causing the BIOS to show "No bootable media" messge, I removed it and refit the cables, now it seems to detect it. I am posting from that PC.
Following is the output when I was copying a 3.9Gb GNU/Linux image to this disk from a USB drive:
As you can see above the effective speed is less than 10Mb/s, slower than a 100MBit connection.
Output from
I verified whether AHCI is enabled and is loaded and I observed some timeouts in the output:
I recently installed FreeBSD 11.2 on a PC which was transported with a Transcend SSD, this has UFS with Soft updates enabled(without journaling), I see very low write speeds on this and the PC goes unresponsive when disk IO intensive task is underway. Also the disk was not getting detected occasionally during bootup, causing the BIOS to show "No bootable media" messge, I removed it and refit the cables, now it seems to detect it. I am posting from that PC.
Following is the output when I was copying a 3.9Gb GNU/Linux image to this disk from a USB drive:
Bash:
/0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10
Load Average ||
/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100
cpu user|
nice|
system|
interrupt|
idle|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100
md0 MB/s
tps|
ada0 MB/sXXXX
tps|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
da0 MB/sXXX
tps|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX127.45
As you can see above the effective speed is less than 10Mb/s, slower than a 100MBit connection.
Output from
diskinfo
Bash:
diskinfo -t /dev/ada0
/dev/ada0
512 # sectorsize
128035676160 # mediasize in bytes (119G)
250069680 # mediasize in sectors
0 # stripesize
0 # stripeoffset
248085 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
TS128GSSD370 # Disk descr.
B552621885 # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 0.814388 sec = 3.258 msec
Half stroke: 250 iter in 0.985269 sec = 3.941 msec
Quarter stroke: 500 iter in 1.347342 sec = 2.695 msec
Short forward: 400 iter in 1.169079 sec = 2.923 msec
Short backward: 400 iter in 0.606855 sec = 1.517 msec
Seq outer: 2048 iter in 4.678100 sec = 2.284 msec
Seq inner: 2048 iter in 3.010615 sec = 1.470 msec
Transfer rates:
outside: 102400 kbytes in 9.028492 sec = 11342 kbytes/sec
middle: 102400 kbytes in 4.794113 sec = 21360 kbytes/sec
inside: 102400 kbytes in 8.194049 sec = 12497 kbytes/sec
I verified whether AHCI is enabled and is loaded and I observed some timeouts in the output:
Code:
# dmesg | grep -i ahci
ahci0: <Intel Panther Point AHCI SATA controller> port 0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f mem 0xf7216000-0xf72167ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
ses0 at ahciem0 bus 0 scbus1 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ahcich0: Timeout on slot 31 port 0
ahcich0: is 00000000 cs 80000000 ss 00000000 rs 80000000 tfd c0 serr 00000000 cmd 0000df17
(ada0:ahcich0:0:0:0): DSM TRIM. ACB: 06 01 00 00 00 40 00 00 00 00 01 00
(ada0:ahcich0:0:0:0): CAM status: Command timeout
(ada0:ahcich0:0:0:0): Retrying command
ahcich0: Timeout on slot 22 port 0
ahcich0: is 00000000 cs 00000000 ss effbffff rs effbffff tfd 40 serr 00000000 cmd 0000db17
(ada0:ahcich0:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 a8 94 90 40 00 00 00 01 00 00
(ada0:ahcich0:0:0:0): CAM status: Command timeout
(ada0:ahcich0:0:0:0): Retrying command