mishakov
Posts: 1
Joined: Thu Jun 04, 2020 8:36 am

Underwhelming Ethernet performance [ubuntu 64-bit]

Thu Jun 04, 2020 9:06 am

Hello. I have a Raspberry Pi 4B 4GB with the official 64 bit Ubuntu 20.04 image (5.4.0-1011-raspi kernel and Samsung Evo+ SD card if that helps). I am using it as a NAS and have several USB HDDs connected. The issue I've got is that I'm only getting about 70-80MB/s SMB transfer speeds or about 650 Mbps when running iperf test to my desktop in local network. It doesn't seem to be an HDD problem as I've seen speeds of 150-180MB/s when moving files between the hard drives (NTFS and XFS formated).

What could be an issue and how can I make it saturate a gigabit network? I have seen other people achieving 115MB/s when using SMB and I would expect a full gigabit speed in iperf or similar tests, but I'm only getting two thirds of what I should.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26442
Joined: Sat Jul 30, 2011 7:41 pm

Re: Underwhelming Ethernet performance

Thu Jun 04, 2020 9:31 am

There is no official Ubuntu image, unless you look at it from Ubuntu's point of view.

Raspberry Pi OS is the only officially supported OS.

Do you get better speeds with that?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

User avatar
B.Goode
Posts: 10191
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Underwhelming Ethernet performance

Thu Jun 04, 2020 10:39 am

mishakov wrote:
Thu Jun 04, 2020 9:06 am
Hello. I have a Raspberry Pi 4B 4GB with the official 64 bit Ubuntu 20.04 image (5.4.0-1011-raspi kernel and Samsung Evo+ SD card if that helps). I am using it as a NAS and have several USB HDDs connected. The issue I've got is that I'm only getting about 70-80MB/s SMB transfer speeds or about 650 Mbps when running iperf test to my desktop in local network. It doesn't seem to be an HDD problem as I've seen speeds of 150-180MB/s when moving files between the hard drives (NTFS and XFS formated).

What could be an issue and how can I make it saturate a gigabit network? I have seen other people achieving 115MB/s when using SMB and I would expect a full gigabit speed in iperf or similar tests, but I'm only getting two thirds of what I should.


This information from an employee of Canonical seems directly relevant to getting advice about Ubuntu:
First of all, introductions: I'm Dave Jones. Some of you will know me from things like picamera, piwheels, pisense, gpio-zero and so forth (he says, sounding like Troy McClure). Nowadays, I'm also on the Canonical Foundations team, with responsibility for Ubuntu on the Pi which means:
You can blame me for a lot of the things mentioned on this thread!
This is probably the wrong place to discuss a lot of this; there's absolutely no point complaining to the fine folks at the Pi Foundation about Ubuntu. Bug me instead (see below for more information on how to bug Dave)!
As already mentioned by others, https://ubuntuforums.org/ and https://askubuntu.com/ are good places to ask about things like this. In particular, I trawl the "raspberrypi" tag on the latter in spare moments (which are few and far between in the run-up to a release, but will be a bit more plentiful now).
Ref: viewtopic.php?f=131&t=254649&p=1556639#p1556639

Return to “Ubuntu”