Opened 7 years ago
Closed 5 years ago
#13770 closed bug (invalid)
Poor rtl8139 performance
Reported by: | kallisti5 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Network/rtl8139 | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
rtl8139 performance is extremely random.
Host system:
libvirtd + kvm on Linux
Control:
Prepare a Haiku VM.
- hrev51540
- 4 cores
- virtio disk
- Network card. "Source Mode: Bridge". Driver: e1000
Download a kernel from kernel.org. Observe download speed. Should be consistent limited by your local internet connection.
Test:
- Power off vm
- Change network card to the "rtl8139" driver.
- Boot.
Download a kernel from kernel.org. Observe download speed.
In my tests, the download starts strong at 7MB/s, but then suddenly drops to 230KB/s after somewhere between 7% - 60% downloaded.
Other observations:
- CPU
- With rtl8139, during speed reduction, one core is pegged at 100%.
- With e1000, all cores have low even load.
- Input
- With rtl8139, during speed reduction, mouse movement freezes up
- With e1000, mouse movement remains normal.
Given the observations above, this issue could be related to an interrupt storm.
Change History (5)
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Summary: | Pool rtl8139 performance → Poor rtl8139 performance |
---|
comment:5 by , 5 years ago
Component: | Drivers/Network/rtl81xx → Drivers/Network/rtl8139 |
---|---|
Keywords: | rtl8139 removed |
Resolution: | → invalid |
Status: | new → closed |
Actually, based on the comment in the source, it looks like this is "expected": https://xref.landonf.org/source/xref/haiku/src/add-ons/kernel/drivers/network/rtl8139/dev/rl/if_rl.c#48
After a download test:
rtl8139
Interrupts:
Logs:
e1000 Interrupts:
rtl8139 seems to be generating a lot of interrupts...