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

MJ <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
HI Juan,


On 26/11/2021 7:16 am, Juan David Hurtado G wrote:
> Thanks, I've used `sysutils/u-boot-rpi3` (for the 3B+) and copied the
> u-boot.bin file to the sd card before the first boot.
> 
> ```
> root@generic:~ # strings /boot/msdos/u-boot.bin | grep "U-Boot 2"
> U-Boot 2021.07 (Nov 12 2021 - 01:50:18 +0000)
> ```
> 
> Now I'm U-Boot 2021.07 and at the same 0.4MHz :)
> 
> I'll definitely wait for the new microSD to arrive hoping that it will work.

I have a RPI 2B with Sandisk Extreme 32GB and its diskinfo is as follows:
# diskinfo -tv /dev/ufs/rootfs
/dev/ufs/rootfs
         512             # sectorsize
         31861506048     # mediasize in bytes (30G)
         62229504        # mediasize in sectors
         4194304         # stripesize
         3145728         # stripeoffset
         3873            # Cylinders according to firmware.
         255             # Heads according to firmware.
         63              # Sectors according to firmware.
         SDHC SE32G 8.0 SN B3C83C06 MFG 10/2016 by 3 SD  # Disk descr.
         B3C83C06s0      # Disk ident.
                         # Attachment
         Yes             # TRIM/UNMAP support
         0               # Rotation rate in RPM

Seek times:
         Full stroke:      250 iter in   0.151175 sec =    0.605 msec
         Half stroke:      250 iter in   0.148608 sec =    0.594 msec
         Quarter stroke:   500 iter in   0.298612 sec =    0.597 msec
         Short forward:    400 iter in   0.190279 sec =    0.476 msec
         Short backward:   400 iter in   0.191797 sec =    0.479 msec
         Seq outer:       2048 iter in   0.764279 sec =    0.373 msec
         Seq inner:       2048 iter in   0.769431 sec =    0.376 msec

Transfer rates:
         outside:       102400 kbytes in   5.805765 sec =    17638 kbytes/sec
         middle:        102400 kbytes in   5.954521 sec =    17197 kbytes/sec
         inside:        102400 kbytes in   5.891870 sec =    17380 kbytes/sec

Your card(s) should at least get these values.

My dmesg sample:
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
mmcsd0: 32GB <SDHC SE32G 8.0 SN B3C83C06 MFG 10/2016 by 3 SD> at mmc0 50.0MHz/4bit/65535-block
bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF


If I read your cards correctly:
>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
>```

I guess the first is Silicon Power but I don't know the last one, Texas Instruments?.

So, maybe it is just the type of card? That doesn't explain why they work in linux, though.

On the forums I have read where anything but Sandisk seems to be problematic. I have always run Sandisk Extreme (pro) on Raspberry Pis and never had any slowness and just 1 failure in many years.

Regards,
Matt.
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.