Re: Raspberry Pi 3B and pitiful network speeds

From: Mark Millard via freebsd-arm <freebsd-arm_at_freebsd.org>
Date: Mon, 21 Jun 2021 07:01:32 UTC
On 2021-Jun-20, at 23:26, MJ <mafsys1234 at gmail.com> wrote:

> On 21/06/2021 1:04 pm, Mark Millard wrote:
>> 
>> On 2021-Jun-20, at 19:16, MJ <mafsys1234 at gmail.com> wrote:
>> 
>> 
>>> On 21/06/2021 7:29 am, Denis Ovsienko wrote:
>>>> . . .
>>>> As a separate note, in my setup ifconfig tells "100baseTX
>>>> <full-duplex>", which is expected for RPI3B. In the original message it
>>>> tells "1000baseT <full-duplex>", which means the board is RPI3B+ or
>>> 
>>> Hi Denis.
>>> 
>>> Yes, you're correct. This is the 3B+. I apologize for misrepresenting it. It is also the earlier version board,
>>> 
>>> Built in 2017. I think it's version 1.1 (it's in a case, I don't feel like dismantling it).
>> I do not have access to such for any testing, just a 3B. (Not
>> a reasonable comparison.) In checking on that, I ran into the
>> following information:
>> 
>> https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
>> only shows one revision for 3B+:
>> 
>> Code	Model	Revision	RAM	Manufacturer
>> . . .
>> a020d3	3B+	1.3	1GB	Sony UK
>> . . .
>> 
>> Under RaspiOS the revision code shows up via: cat /proc/cpuinfo
> 
> 
> Output of /proc/cpuinfo
> 
> cat /proc/cpuinfo
> processor       : 0
> BogoMIPS        : 38.40
> Features        : fp asimd evtstrm crc32 cpuid
> CPU implementer : 0x41
> CPU architecture: 8
> CPU variant     : 0x0
> CPU part        : 0xd03
> CPU revision    : 4
> 
> processor       : 1
> BogoMIPS        : 38.40
> Features        : fp asimd evtstrm crc32 cpuid
> CPU implementer : 0x41
> CPU architecture: 8
> CPU variant     : 0x0
> CPU part        : 0xd03
> CPU revision    : 4
> 
> processor       : 2
> BogoMIPS        : 38.40
> Features        : fp asimd evtstrm crc32 cpuid
> CPU implementer : 0x41
> CPU architecture: 8
> CPU variant     : 0x0
> CPU part        : 0xd03
> CPU revision    : 4
> 
> processor       : 3
> BogoMIPS        : 38.40
> Features        : fp asimd evtstrm crc32 cpuid
> CPU implementer : 0x41
> CPU architecture: 8
> CPU variant     : 0x0
> CPU part        : 0xd03
> CPU revision    : 4

My guess is that was not a RaspiOS version
but some other Linux.

RaspiOS adds more text at the end. Using a
RPi4B example that is running RaspiOS64
(their Debian with 64-bit world and kernel):

# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 108.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 1
BogoMIPS        : 108.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 2
BogoMIPS        : 108.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 3
BogoMIPS        : 108.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

Hardware        : BCM2835
Revision        : d03114
Serial          : REPLACED
Model           : Raspberry Pi 4 Model B Rev 1.4

The "Hardware" is misleading (and documented to
be so) but the Revision and Model are appropriate
above.

That also worked on ubuntu, but not on Fedora 34.

All 3 support:

# cat /sys/firmware/devicetree/base/model

but there is no new-line at the end.

If vcgencmd is present and operational:

# vcgencmd otp_dump | grep 30:

should work to find the revision code. But
it failed to initialize on Fedora 34.

(All this testing is on RPi4B's.)

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)