Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2018 18:24:36 +0300
From:      Christos Chatzaras <chris@cretaforce.gr>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Toshiba disk low performance 
Message-ID:  <E1F9FB16-B792-4A54-9E95-7F0CA8201469@cretaforce.gr>
In-Reply-To: <DC4343C3-AC15-427E-9653-4C6A7F4E34C4@cretaforce.gr>
References:  <DC4343C3-AC15-427E-9653-4C6A7F4E34C4@cretaforce.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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@cretaforce.gr> =
wrote:
>=20
> I order a new dedicated server from a provider. The server has 2 =
Toshiba disks and the disk peformance is very slow.
>=20
> 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.
>=20
> During the tests gstat for the server with Toshiba disks show 3-4 =
times lower disk operations / second compared to the other server.
>=20
> 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.
>=20
> It shows these disks as UDMA5 but other disks with good speed show =
UDMA6. Also Linux shows these disks as UDMA5.
>=20
> Here is the dmesg output:
>=20
> ----
> 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)
> ----
>=20
> What could be the problem with the Toshiba disks?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1F9FB16-B792-4A54-9E95-7F0CA8201469>