Project

General

Profile

Bug #12840

Network speed is very poor compared to Linux and FreeBSD on the same machine

Added by giahung 1997tn about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

It's Ethernet, as I can't get my USB dongle to work on OI. This is on real hardware, not on a VM.

The test is downloading the latest monthly snapshot ISO of MX Linux from mxrepo.com.

The Ethernet controller is Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) according to lspci on Linux.

On both FreeBSD and Linux, the download speed is the maximum of my plan: 5.6 Mb/s.

On OI, the best it could reach is 1.6 Mb/s.

I also noticed the same slow down happen with Linux guests on VirtualBox hosted by this OI installation. They are using NAT interface and they can't get pass 1.6 Mb/s, too.

So it's the problem of OI's Ethernet driver or network stack in general.

Note: The OI installation on VirtualBox on my Linux host using the NAT interface and could reach the maximum speed as the host, too.

History

#1

Updated by giahung 1997tn about 2 months ago

giahung 1997tn wrote:

It's Ethernet, as I can't get my USB dongle to work on OI. This is on real hardware, not on a VM.

The test is downloading the latest monthly snapshot ISO of MX Linux from mxrepo.com.

The Ethernet controller is Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) according to lspci on Linux.

On both FreeBSD and Linux, the download speed is the maximum of my plan: 5.6 Mb/s.

On OI, the best it could reach is 1.6 Mb/s.

I also noticed the same slow down happen with Linux guests on VirtualBox hosted by this OI installation. They are using NAT interface and they can't get pass 1.6 Mb/s, too.

So it's the problem of OI's Ethernet driver or network stack in general.

Note: The OI installation on VirtualBox on my Linux host using the NAT interface and could reach the maximum speed as the host, too.

Update: the MTU is set to 1752 (as I recall, as I don't know how to read it again, it's from a message when I boot OI), it's an odd value, as the MTU on both Linux and FreeBSD are set to 1500.

#2

Updated by giahung 1997tn about 2 months ago

giahung 1997tn wrote:

It's Ethernet, as I can't get my USB dongle to work on OI. This is on real hardware, not on a VM.

The test is downloading the latest monthly snapshot ISO of MX Linux from mxrepo.com.

The Ethernet controller is Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) according to lspci on Linux.

On both FreeBSD and Linux, the download speed is the maximum of my plan: 5.6 Mb/s.

On OI, the best it could reach is 1.6 Mb/s.

I also noticed the same slow down happen with Linux guests on VirtualBox hosted by this OI installation. They are using NAT interface and they can't get pass 1.6 Mb/s, too.

So it's the problem of OI's Ethernet driver or network stack in general.

Note: The OI installation on VirtualBox on my Linux host using the NAT interface and could reach the maximum speed as the host, too.

No one has any ideas about this?

#3

Updated by Olaf Bohlen about 2 months ago

  • Project changed from OpenIndiana Distribution to illumos gate
  • Priority changed from High to Normal
  • Target version deleted (2020.10)

Please specify the name of the driver the interface uses, run

(594) x230:/root# dladm show-phys
LINK         MEDIA                STATE      SPEED  DUPLEX    DEVICE
e1000g0      Ethernet             down       0      half      e1000g0
iwn0         WiFi                 up         54     unknown   iwn0

And tell use the name of your device.

Again RTL cards are not know for good performance at all and also their drivers have been very "flaky" on other Operating Systems as well. Well tested Network Cards include for example intel chipsets, so your performance issues will go away if you use for example an e1000 compatible NIC.

#4

Updated by giahung 1997tn about 2 months ago

Olaf Bohlen wrote:

Please specify the name of the driver the interface uses, run

[...]

And tell use the name of your device.

Again RTL cards are not know for good performance at all and also their drivers have been very "flaky" on other Operating Systems as well. Well tested Network Cards include for example intel chipsets, so your performance issues will go away if you use for example an e1000 compatible NIC.

I no longer use OI in real hardware. So I can't run the command you said. BTW, the card is Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) according to lspci on Linux as I have said.

Also available in: Atom PDF