From nobody Tue Nov 23 02:42:25 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 E2A3E18A9DC3 for ; Tue, 23 Nov 2021 02:42:37 +0000 (UTC) (envelope-from jdhurtado@orbiware.com) Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) (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 4HypMd27Mzz56Hp for ; Tue, 23 Nov 2021 02:42:37 +0000 (UTC) (envelope-from jdhurtado@orbiware.com) Received: by mail-ua1-x933.google.com with SMTP id y5so40711220ual.7 for ; Mon, 22 Nov 2021 18:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orbiware.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=1+l88g/drIEn1hApbBGlEpGsGPn6q1BOdxYpVoQUsfw=; b=aDTn6CqIVcvyqa0mXxhnMZQ2Eby6tK7roSYV0Fy2Y7RjwXkJqkJv51QHndE9BNnEvo BPF6LFuVkU6/wz07y2ds/O4z6zq4uWzCU7POFHfxuiIeUaDTRb35fYmXZZ/MVrnBWfUH F9NzZuBl+elE3gAQHxWOgFvlgJAKMIuzKZXw7NMuAxb4faVNT480m6aqsWvAS1rAlOD2 EvCAnZCfsw9J/QZmd7F/122ANoK09TZMYHFzHiriGSix53vZuqZFpoaOq6amTpb4ZQCs /nSwyxEQEHLMsGPdmzaCSXenZZ68Vieto5jM/4dd4OBOScYRri8k28SF3Gt0+WobYu4p YQBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1+l88g/drIEn1hApbBGlEpGsGPn6q1BOdxYpVoQUsfw=; b=zcXHTX3XLE3wrPeL/lI72X6lW4CmBVikDWPoPkOmVfTOanemHTRmpCYPp0NvNFLZWG st90p37ebwLqhpWR+LOh2pymByiEa5Wsr+DFbT6GkjfTlqn7U3354Jbduz3AD6qzi3SU 2w45KkXONk7XIrCgOg3AfQhE44dZ5DMqR94LUyjV0EP765LEVXqXfjzXj4wCouZrlaNr jEkpohDAlnhaqX/K+0LbQ9Wg3hlO9rtKG32RSYOsq8z08nvRkN2gt2YX4YUxfIY7eSNn mrGhyUDIOfvg/iw4yujnFahlLDXKFaDWwip5Wxjuyj3g4TdlZwdkpuG9jUTcLRU2vm9U K+cw== X-Gm-Message-State: AOAM530UkUr/doIVF4iHcyVnj3JE/RXDlS15/sNoH9+Aad0hdvNRaF58 gNlUh0+ylEmPSK+adzvp0UwdA/Si91qCWLwLGj4w+p9+MxVM X-Google-Smtp-Source: ABdhPJycvqU2gzPuUR7Lw7Lbe0983cR6RTd6zdEgEcvNgfqTJZRebF0m+98oHCuU1Rlb4QUzJ/K9rxa1Elohz73pUyc= X-Received: by 2002:a05:6102:160f:: with SMTP id cu15mr2609754vsb.11.1637635356481; Mon, 22 Nov 2021 18:42:36 -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 From: Juan David Hurtado G Date: Mon, 22 Nov 2021 21:42:25 -0500 Message-ID: Subject: 13.0-RELEASE Poor performance on Raspberry pi 3 B+ To: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b1ed0105d16bb166" X-Rspamd-Queue-Id: 4HypMd27Mzz56Hp X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=orbiware.com header.s=google header.b=aDTn6CqI; dmarc=pass (policy=none) header.from=orbiware.com; spf=softfail (mx1.freebsd.org: 2607:f8b0:4864:20::933 is neither permitted nor denied by domain of jdhurtado@orbiware.com) smtp.mailfrom=jdhurtado@orbiware.com X-Spamd-Result: default: False [2.20 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[orbiware.com:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.997]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(1.00)[0.999]; DKIM_TRACE(0.00)[orbiware.com:+]; DMARC_POLICY_ALLOW(0.00)[orbiware.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::933:from]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; NEURAL_SPAM_LONG(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000b1ed0105d16bb166 Content-Type: text/plain; charset="UTF-8" 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. 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 can provide in order to troubleshoot this. PS: I don't think it is the microsd card since it runs raspios fine. PS2: The red led is turned off at the boot process so no way of knowing visually if the pi is running. Weird is that the led turned on again after `shutdown -p now` hehe. -- Juan David Hurtado G --000000000000b1ed0105d16bb166--