Re: 13.0-RELEASE Poor performance on Raspberry pi 3 B+

Juan David Hurtado G <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CAL3Ut_Y_BLbGM1WZ+8JbkSp9F=s9_xcWbFikLpcOufioxd1m_g@mail.gmail.com>
Thanks to @evadot and @f451 on Discord, seems there is the issue:

Raspberry Pi 3B+

```
root@generic:~ # dmesg | grep -i mmcsd
mmcsd0: 31GB <SDHC SPCC 2.0 SN 1072013D MFG 08/2017 by 49 SP> at mmc0
0.4MHz/4bit/65535-block
```

Raspberry Pi 4 with a different card:
```
mmcsd0: 31GB <SDHC 00000 0.0 SN 0000509F MFG 09/2019 by 159 TI> at mmc1
0.4MHz/4bit/65535-block
```

So no matter the pi or the card, the microsd clock is at 0.4MHz while in
raspios same cards gets 50 MHz apparently

Seems that explain the behaviour... So is this a FreeBSD bug? or a card
issue even if I've tested with different cards?

PS: A brand new sandisk ultra is on the way so I can test with it.

El lun, 22 nov 2021 a las 21:42, Juan David Hurtado G (<
[email protected]>) escribió:

> 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
>


-- 
Juan David Hurtado G
(+57) 319 252 3773
www.orbiware.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.