From owner-freebsd-stable@freebsd.org Tue Mar 23 05:51:40 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AF3A57A92C for ; Tue, 23 Mar 2021 05:51:40 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4L8q60Klz3rWB; Tue, 23 Mar 2021 05:51:39 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x236.google.com with SMTP id a8so15824774oic.11; Mon, 22 Mar 2021 22:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rsFlB1evrqzo/Bj0FSBucPiKQuhycWuUu1EuIi0P+Vg=; b=cDy7YhwmZ81FAtwrR5iX3+nfZFbhZhFbAh+if9HdWOtbaypeiWEg3Cb3/zwss8xDay BrQDaZyQfWs0Jd3cp2eF1tMbIyA8HwsQNg0L0nUZUCEYFRhHfg+TeCFBTDaZB+cY3GqG +MUAuxfxQTZ7xd6l5pN3NoG/M6huSuWsTBkJHXF3cRhsNPW435aQOCUP+DxVSVonfUWj kqAOScyAcUqbeRLe8DTYz6C+MKoxYGeeZujJRkBZ16tX/6T+zHDJCLtPwWztjE8mJ0EH iQBkdH1Bobuij3b0nnOy23ttXLtlKgrfNOw5Znd6acs0QsVQHyTSR0V2IE2Lk46O+fjz cV8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rsFlB1evrqzo/Bj0FSBucPiKQuhycWuUu1EuIi0P+Vg=; b=SoJ+aPaDlzYeMJcn2wr8lN7yiVa8ulZEBuI2gogKZR+xlVsK1seOtsXFhPfcxHsUXl OKa+feTrujBcrPkOv8VeJPbV9254rPZSNCAVHP8SPgtCATxnMjZ/vMn+mUvOn0BbHXni z06BAiHvo5E5HVIzpBorOxSEBWzAJOQD3nbc5X79KaxDTW3SYvkUbcu8sWGROB2mqaT2 Qt8nC1BRKJMhMH+Q4ZfSu9D6Seby8wwVVIqQ3kLRlIDuHg+R1M6y88za29ce3olAkk/y QUDqNNNb6W6f4khowo5gD047YzZBgJFDTtz/Ss+w5hBy+WTOxrippMoZUn/PWmE3u8dZ VQjw== X-Gm-Message-State: AOAM531da+m+lrVHpXPqnGwjX+eNDG/Uws47lcuJiOOOKuzv5e/EV1hE GnNrgRAysPnnZtGh2q4rghqcVVpOONh+rfBRomg= X-Google-Smtp-Source: ABdhPJxv90yn1NlLKiNLe6iw1mLs90ZWBMN2u0+fJlcnrhbWEYg6ube04fiAqns76IzW5NOCwKtDz2J4aHq06gUtWjw= X-Received: by 2002:aca:ed04:: with SMTP id l4mr2077526oih.27.1616478698613; Mon, 22 Mar 2021 22:51:38 -0700 (PDT) MIME-Version: 1.0 References: <12705C29-53EA-4484-8291-C409AF4B3DE5.ref@yahoo.com> <12705C29-53EA-4484-8291-C409AF4B3DE5@yahoo.com> In-Reply-To: From: Kevin Oberman Date: Mon, 22 Mar 2021 22:51:21 -0700 Message-ID: Subject: Re: Filesystem operations slower in 13.0 than 12.2 To: Adrian Chadd Cc: Mark Millard , FreeBSD-STABLE Mailing List , Konstantin Belousov X-Rspamd-Queue-Id: 4F4L8q60Klz3rWB X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 05:51:40 -0000 On Mon, Mar 22, 2021 at 8:19 AM Adrian Chadd wrote: > On Mon, 15 Mar 2021 at 14:58, Kevin Oberman wrote: > > > > > > > It appears that the messages are associated with reading > > > the disk(s), not directly with writing them, where the > > > reads take more than "hz * 20" time units to complete. > > > (I'm looking at main (14) code.) What might contribute > > > to the time taken for the pending read(s)? > > > > > The reference to hz * 20 woke up a few sleeping memory cells. I forgot > that > > I cleaned up my loader.conf. It was largely a copy of the one on my > > decade-old T520. I commented out "kern.hz=100". I don't recall the > details, > > but I think it was actually from an even older system, my T42 from > before I > > retired. > > > > In any case, restoring this setting has greatly improved the situation. I > > now have really bad disk I/O performance on large disk to disk activity > > (untarring the firefox distro) instead of terrible performance and the > > system freezes have vanished, though I do see pauses in response to > clicks > > or text entry, but the display remains active and the pauses are > short... 1 > > to 15 seconds, I'd guess. No, I have no idea what this indicates. > > ... which drive controller is this? Is it just a laptop ATA disk? > > > I'm still not seeing the performance I was seeing back in February when > 40 > > MB/s for extended intervals was common and I once untarred > firefox.tar.gz2 > > in under a minute and performance seldom dropped below 1.4 MB/s. > > Did you find a resolution? I wonder if setting kern.hz is kicking > some process(es) to get some time more frequently due to bugs > elsewhere in the system (interrupts, IPI handling, wake-ups, etc) > > > > -adrian > No resolution. This is a Lenovo L15 ThinkPad with a 2TB ATAPI drive. The current drive is a Seagate. All testing has been done since I got it back from Lenovo in late January. I can read or write the drive at reasonable rates that exceed 50 MB/s. Extracting a tar distribution file is painful. I have had firefox extracts take over a half hour. Worse, if I do other operations while the extract is taking place, I often see a 30 second (and, occasionally 60 second) display freezes as well as log reports that of "swap_pager: indefinite wait buffer:" This is a bit odd as I have 20G of RAM and am pretty close to no swap space activity, but, of course, paging does occur. This system is CometLake and graphics are not supported on 12. I am not absolutely sure that there is not a hardware issue even though the main board, the disk, and the keyboard/mouse pad have all been replace since I received the system back last June. I now wonder what else could go wrong. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683