Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2018 18:18:17 +0300
From:      Christos Chatzaras <chris@cretaforce.gr>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Toshiba disk low performance 
Message-ID:  <C44EC16F-E0DA-4CDD-A180-6ECEA1436F74@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
During a 10GB mysql import the server with Toshiba disks does 250-400 =
ops/s and another server with exactly the same setup (only disks =
different) does 1000-2300 ops/s.

When servers are idle "diskinfo -ctv /dev/ada0" show similar speeds to =
both disks. During the mysql import the server with Toshiba disks show =
15 times worst results.


> 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?C44EC16F-E0DA-4CDD-A180-6ECEA1436F74>