From nobody Tue Nov 23 13:49:47 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 89C151889C3F for ; Tue, 23 Nov 2021 13:49:59 +0000 (UTC) (envelope-from jdhurtado@orbiware.com) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hz59g3Fhwz3tWX for ; Tue, 23 Nov 2021 13:49:59 +0000 (UTC) (envelope-from jdhurtado@orbiware.com) Received: by mail-ua1-x92a.google.com with SMTP id az37so43814334uab.13 for ; Tue, 23 Nov 2021 05:49:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orbiware.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yfA7SLap/0nSalEOERKJ1lchW4diucjy0NmAfYzztL4=; b=WjKFsC8+McNhmxK7d00Hqx4L+2UeuHH6urw2ta833fp4fbsMQNIslzKLe2ijhWELts kzDnfE3KL4GPvk9yV4CrrREczU8YnOoIMtUNouLpSSg4L+5r4MyOe8AwccAKirzGk3PW ONwWorTytX4UbpAcvtLtxiwesLlsZDJdkWvpHs0zvjAM+HIsBOUe3hE+k/fGIkmxgspB WkRh61lthrH1XG0oghbWFwnOfJMPltcx8zo+0FeGbcYGck5oWAJ036Zb/a0yYcoOkNDe 5bMCCBD3XYiJg8ywSiqFSQqI+M4QSBS+qv9uQoiokZytR4XDndrOSuDou0c/z8FylkCt SbkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yfA7SLap/0nSalEOERKJ1lchW4diucjy0NmAfYzztL4=; b=gRrFBetEos6aaAAJo8WofdRXV7mrF9Ptw5PlmnOmLCzrWCVtevwzNaU866xQvKS4le 7+iwNp6SyY0xh1V6qZWPyBNxKvufuGpHQ1jP8XV025KT8ztwQPStfXMqCJZuVQAD+XHF CST6hWwmOm9OPiOwlM0/4nXflsemhtFL31vKwEU71MP25ZzmFOfLXDpJ+hAXEUFRAEAy vGQGM72T2HZNPxvGtL/M3pTOaaCtokb6/Rys6Ju5bTD3+UT98okc2aC0PeTpTpAHLqjl yRw6P178EeKQtA0RQOtmubrLfeceGgVIX8KCjhTbERqEKfOInFd41X14DPD6MkSotUn+ XwFA== X-Gm-Message-State: AOAM532+9twV7NcZIAjvlP2hg0rgRoMj3wmTHBhHc3VmkAsZMUe2/ahF 7DSeZ97NT4E49f3fDEgwGysZJjL7PXMIe5LUbQ4qdtA6c1Mh X-Google-Smtp-Source: ABdhPJwANABFaVIsr3OD4zqx46nXs3Zz2RuF5wpdevRfj3WmJLHw3TrAMLjJorFUYagwji5ncUJ/moYN7Uop2wCW350= X-Received: by 2002:ab0:3b12:: with SMTP id n18mr9154251uaw.2.1637675398651; Tue, 23 Nov 2021 05:49:58 -0800 (PST) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: <94d868fb-3646-598f-fdea-7d4c61bae4c1@gmail.com> In-Reply-To: <94d868fb-3646-598f-fdea-7d4c61bae4c1@gmail.com> From: Juan David Hurtado G Date: Tue, 23 Nov 2021 08:49:47 -0500 Message-ID: Subject: Re: 13.0-RELEASE Poor performance on Raspberry pi 3 B+ To: MJ Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="00000000000065040a05d175042a" X-Rspamd-Queue-Id: 4Hz59g3Fhwz3tWX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000065040a05d175042a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > I had similar experiences. Do you have any USB devices attached? No USB devices attached. Only hdmi to see what was going on. > I've never tried this. Is this now possible because it's a Tier 1 architecture? Sure, system upgraded from 13.0 to 13.0-p5 (only supported on 13.x, not on 12.x) > Would not memory be a constraint here? I'm not sure, it never shows excessive memory consumption. Only what I'm mentioning about wdrain > And usually they start exhibiting write issues beforehand if they're going to fail. I'll try another microsd later and see what happens. But why does raspios not show this kind of behaviour? > Have you looked in /var/log/messages to see if there's any help there? Mmmm nothing I can find suspicious but let me post the message from a fresh install https://bsd.to/PJgm El mar, 23 nov 2021 a las 0:44, MJ () escribi=C3=B3: > > > On 23/11/2021 1:42 pm, Juan David Hurtado G wrote: > > Hi, I'm trying to use the OS on a Raspberry pi 3 B+ > > > > Boot is pretty slow. It hangs on `ue0: Ethernet addresss: ...` for some > > minutes before showing the `login:` to enter the username. When I enter > it, > > it takes a few seconds to ask for the password. > > > I had similar experiences. Do you have any USB devices attached? > One thing to watch for is any mounting of USB drives. I also had problems > with certain cables connecting USB drives to the Pi but when I placed the= m > on a powered hub they were fine (not slow to mount). As a reference, > running devuan I had no issues. > > If you have USB drives attached, try this: place hw.usb.no_boot_wait=3D"1= " > in /boot/loader.conf > > > > > While doing `freebsd-update fetch install` it took a plenty of minutes, > so > > I canceled the process and then did `freebsd-update fetch` and then > > `freebsd-update install` to see what was going on. > > > > Found that the process was at `wdraid` state. Doing a simple search, I > > found about `vfs.hirunningspace` so I tweaked it to 1Mb and then to 2Mb= . > It > > seems to help, but not by much. Look at this: > > > > freebsd@generic:~ % time freebsd-version -kru > > 13.0-RELEASE-p4 > > 13.0-RELEASE-p4 > > 13.0-RELEASE-p5 > > 0.365u 0.045s 0:41.25 0.9% 20+177k 14+0io 0pf+0w > > > > :( > > > > What could I be missing? Maybe I need to tweak partitions and use some > kind > > of configuration/optimization? how? I do appreciate any guidance you ca= n > > provide in order to troubleshoot this. > > I've never tried this. Is this now possible because it's a Tier 1 > architecture? > Would not memory be a constraint here? You definitely wouldn't want to be > using tmpfs system. > > > > > PS: I don't think it is the microsd card since it runs raspios fine. > > > > And usually they start exhibiting write issues beforehand if they're goin= g > to fail. > > Have you looked in /var/log/messages to see if there's any help there? > Matt. > > --=20 Juan David Hurtado G (+57) 319 252 3773 www.orbiware.com --00000000000065040a05d175042a--