Toshiba disk low performance

Christos Chatzaras chris at cretaforce.gr
Thu Jun 7 15:24:40 UTC 2018


I also see this differences between other server disks and server with toshiba disks. Toshiba disks show PIO 8192bytes and the other "good" disks show PIO 512bytes.

Toshiba disks:

ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <TOSHIBA MG04ACA400EY FQ1B> ATA8-ACS SATA 3.x device
ada0: Serial Number 382RK075F7GB
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 MG04ACA400EY FQ1B> ATA8-ACS SATA 3.x device
ada1: Serial Number 383IK043F7GB
ada1: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 3815447MB (7814037168 512 byte sectors)

"Good" disks:

ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <ST4000NM0245-1Z2107 SS03> ACS-3 ATA SATA 3.x device
ada0: Serial Number ZC112ALJ
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 3815447MB (7814037168 512 byte sectors)
ada1 at ahcich2 bus 0 scbus1 target 0 lun 0
ada1: <ST4000NM0245-1Z2107 SS03> ACS-3 ATA SATA 3.x device
ada1: Serial Number ZC111JK1
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada1: Command Queueing enabled
ada1: 3815447MB (7814037168 512 byte sectors)



> On 7 Jun 2018, at 18:02, Christos Chatzaras <chris at cretaforce.gr> wrote:
> 
> 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?
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list