From owner-freebsd-questions@freebsd.org Thu Jun 7 15:18:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23250FE0582 for ; Thu, 7 Jun 2018 15:18:26 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp2.cretaforce.gr (smtp2.cretaforce.gr [195.201.125.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B0856F0C7 for ; Thu, 7 Jun 2018 15:18:25 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) by smtp2.cretaforce.gr (Postfix) with ESMTP id 2B8343E905 for ; Thu, 7 Jun 2018 18:18:19 +0300 (EEST) Received: from [192.168.2.3] (athedsl-4449129.home.otenet.gr [79.129.211.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id F37A82732E for ; Thu, 7 Jun 2018 18:18:18 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: Toshiba disk low performance Date: Thu, 7 Jun 2018 18:18:17 +0300 References: To: FreeBSD In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.6.18) X-CretaForce-MailScanner-Information: Please contact the ISP for more information X-CretaForce-MailScanner-ID: 2B8343E905.AF4B0 X-CretaForce-MailScanner: Found to be clean X-CretaForce-MailScanner-From: chris@cretaforce.gr X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 15:18:26 -0000 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 = 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: 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: 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"