Christos Chatzaras
2018-06-07 15:02:03 UTC
I order a new dedicated server from a provider. The server has 2 Toshiba disks and the disk peformance is very slow.
I test it using mysqlcheck -Ao which optimizes the databases and also with 10GB mysql import at 2 servers - one with the Toshiba disks and the other with Seagate disks.
During the tests gstat for the server with Toshiba disks show 3-4 times lower disk operations / second compared to the other server.
I had the same problem (same Toshiba models) in a production server (I notice it after I put it in production) and ask the datacenter to replace one disk with different model, I rebuild RAID-1, then replace the second disk and I rebuild the RAID-1. And the issue resolved.
It shows these disks as UDMA5 but other disks with good speed show UDMA6. Also Linux shows these disks as UDMA5.
Here is the dmesg output:
----
ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <TOSHIBA MG04ACA400E FP3B> ATA8-ACS SATA 3.x device
ada0: Serial Number Z5B7K1Q4FJKA
ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 3815447MB (7814037168 512 byte sectors)
ada1 at ahcich2 bus 0 scbus1 target 0 lun 0
ada1: <TOSHIBA MG04ACA400E FP3B> ATA8-ACS SATA 3.x device
ada1: Serial Number Z5B7K1Q5FJKA
ada1: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 3815447MB (7814037168 512 byte sectors)
----
What could be the problem with the Toshiba disks?
I test it using mysqlcheck -Ao which optimizes the databases and also with 10GB mysql import at 2 servers - one with the Toshiba disks and the other with Seagate disks.
During the tests gstat for the server with Toshiba disks show 3-4 times lower disk operations / second compared to the other server.
I had the same problem (same Toshiba models) in a production server (I notice it after I put it in production) and ask the datacenter to replace one disk with different model, I rebuild RAID-1, then replace the second disk and I rebuild the RAID-1. And the issue resolved.
It shows these disks as UDMA5 but other disks with good speed show UDMA6. Also Linux shows these disks as UDMA5.
Here is the dmesg output:
----
ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <TOSHIBA MG04ACA400E FP3B> ATA8-ACS SATA 3.x device
ada0: Serial Number Z5B7K1Q4FJKA
ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 3815447MB (7814037168 512 byte sectors)
ada1 at ahcich2 bus 0 scbus1 target 0 lun 0
ada1: <TOSHIBA MG04ACA400E FP3B> ATA8-ACS SATA 3.x device
ada1: Serial Number Z5B7K1Q5FJKA
ada1: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 3815447MB (7814037168 512 byte sectors)
----
What could be the problem with the Toshiba disks?