NetBSD Problem Report #48178
From www@NetBSD.org Wed Sep 4 06:17:08 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 489C1703F9
for <gnats-bugs@gnats.NetBSD.org>; Wed, 4 Sep 2013 06:17:08 +0000 (UTC)
Message-Id: <20130904061706.C2ED6710C4@mollari.NetBSD.org>
Date: Wed, 4 Sep 2013 06:17:06 +0000 (UTC)
From: kolbycrouch@gmail.com
Reply-To: kolbycrouch@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Extremely slow disk read/write
X-Send-Pr-Version: www-1.0
>Number: 48178
>Category: kern
>Synopsis: Extremely slow disk read/write
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 04 06:20:01 +0000 2013
>Closed-Date: Sat Aug 07 02:36:49 +0000 2021
>Last-Modified: Sat Aug 07 02:36:49 +0000 2021
>Originator: Kolby Crouch
>Release: 6.99.23
>Organization:
NA
>Environment:
NetBSD 6.99.23 GENERIC AMD64
>Description:
On NetBSD-current my disk speeds are terribly slow on 2 different machines. on one of the machines, running STABLE is the solution, but the other machine has new hardware which I want to test with current. I've tried formatting the disk as ffs1 and ffs2, used noatime and log options at mount, neither works. With log turned on, speeds "seem" good at first until the system freezes for a moment to catch up with the log. At this rate pkgsrc takes around 1+ hour to extract, many times longer than on any other system I have tried (OpenBSD, FreeBSD, DragonFly, Linux)
>How-To-Repeat:
N/A
>Fix:
Use stable :)
>Release-Note:
>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/48178: Extremely slow disk read/write
Date: Wed, 4 Sep 2013 06:23:03 +0000
On Wed, Sep 04, 2013 at 06:20:01AM +0000, kolbycrouch@gmail.com wrote:
> On NetBSD-current my disk speeds are terribly slow on 2 different
> machines. on one of the machines, running STABLE is the solution,
> but the other machine has new hardware which I want to test with
> current. I've tried formatting the disk as ffs1 and ffs2, used
> noatime and log options at mount, neither works. With log turned
> on, speeds "seem" good at first until the system freezes for a
> moment to catch up with the log. At this rate pkgsrc takes around
> 1+ hour to extract, many times longer than on any other system I
> have tried (OpenBSD, FreeBSD, DragonFly, Linux)
You'll need to tell us a bit more, like what disk controllers and
other related hardware are involved.
--
David A. Holland
dholland@netbsd.org
From: Kolby Crouch <kolbycrouch@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/48178
Date: Wed, 4 Sep 2013 06:39:24 +0000
--001a1132fb9af7a01c04e589107e
Content-Type: text/plain; charset=ISO-8859-1
I should have said this, but It's the generic AHCI driver, I have also
tried setting my SATA mode to IDE in the bios to see if pciide would work
better. There is no apparent difference in performance, and other machines
that also use the generic AHCI driver aren't necessarily effected by it.
--001a1132fb9af7a01c04e589107e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><span style=3D"font-family:arial,sans-serif;font-size:13px=
">I should have said this, but It's the generic AHCI driver, I have als=
o tried setting my SATA mode to IDE in the bios to see if pciide would work=
better. There is no apparent difference in performance, and other machines=
that also use the generic AHCI driver aren't necessarily effected by i=
t.</span><br>
</div>
--001a1132fb9af7a01c04e589107e--
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
kolbycrouch@gmail.com
Subject: Re: kern/48178
Date: Wed, 4 Sep 2013 09:23:52 +0200
On Wed, Sep 04, 2013 at 06:40:01AM +0000, Kolby Crouch wrote:
> The following reply was made to PR kern/48178; it has been noted by GNATS.
>
> From: Kolby Crouch <kolbycrouch@gmail.com>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: kern/48178
> Date: Wed, 4 Sep 2013 06:39:24 +0000
>
> --001a1132fb9af7a01c04e589107e
> Content-Type: text/plain; charset=ISO-8859-1
>
> I should have said this, but It's the generic AHCI driver, I have also
> tried setting my SATA mode to IDE in the bios to see if pciide would work
> better. There is no apparent difference in performance, and other machines
> that also use the generic AHCI driver aren't necessarily effected by it.
Can you post the dmesg ?
Also, the output of
systat vm
while disk I/O is in progress could help.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Greg Oster <oster@cs.usask.ca>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/48178: Extremely slow disk read/write
Date: Wed, 4 Sep 2013 07:58:01 -0600
On Wed, 4 Sep 2013 06:25:00 +0000 (UTC)
David Holland <dholland-bugs@netbsd.org> wrote:
> The following reply was made to PR kern/48178; it has been noted by
> GNATS.
>
> From: David Holland <dholland-bugs@netbsd.org>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: kern/48178: Extremely slow disk read/write
> Date: Wed, 4 Sep 2013 06:23:03 +0000
>
> On Wed, Sep 04, 2013 at 06:20:01AM +0000, kolbycrouch@gmail.com
> wrote:
> > On NetBSD-current my disk speeds are terribly slow on 2 different
> > machines. on one of the machines, running STABLE is the solution,
> > but the other machine has new hardware which I want to test with
> > current. I've tried formatting the disk as ffs1 and ffs2, used
> > noatime and log options at mount, neither works. With log turned
> > on, speeds "seem" good at first until the system freezes for a
> > moment to catch up with the log. At this rate pkgsrc takes around
> > 1+ hour to extract, many times longer than on any other system I
> > have tried (OpenBSD, FreeBSD, DragonFly, Linux)
>
> You'll need to tell us a bit more, like what disk controllers and
> other related hardware are involved.
Also: what do your disklabels look like? My guess is you have a disk
with 4K sectors, and your filesystems are not 4K-aligned.
Later...
Greg Oster
State-Changed-From-To: open->feedback
State-Changed-By: prlw1@NetBSD.org
State-Changed-When: Thu, 12 Sep 2019 14:43:39 +0000
State-Changed-Why:
Many questions were asked.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 07 Aug 2021 02:36:49 +0000
State-Changed-Why:
many questions were asked, and only the first was answered; unfortunately
there's not enough detail here to identify or fix any problems.
If you're still having trouble please feel free to write in with answers,
or file a new PR.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.