-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qemu: virtio-serial-pci: set max_ports=1 #1693
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apparently fix issue 1689 and 1691 Signed-off-by: Akihiro Suda <[email protected]>
This was
linked to
issues
Jul 30, 2023
As a side effect this PR seems to improve network throughput as well, but not sure why. Lima v0.16.0Guest -> Hostguest$ iperf3 -c 192.168.5.2
Connecting to host 192.168.5.2, port 5201
[ 5] local 192.168.5.15 port 34748 connected to 192.168.5.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 21.4 MBytes 179 Mbits/sec 0 67.0 KBytes
[ 5] 1.00-2.00 sec 22.3 MBytes 187 Mbits/sec 0 67.0 KBytes
[ 5] 2.00-3.00 sec 19.9 MBytes 167 Mbits/sec 0 67.0 KBytes
[ 5] 3.00-4.00 sec 14.3 MBytes 120 Mbits/sec 0 67.0 KBytes
[ 5] 4.00-5.00 sec 18.9 MBytes 158 Mbits/sec 0 67.0 KBytes
[ 5] 5.00-6.00 sec 13.8 MBytes 116 Mbits/sec 0 67.0 KBytes
[ 5] 6.00-7.00 sec 20.0 MBytes 168 Mbits/sec 0 67.0 KBytes
[ 5] 7.00-8.00 sec 21.2 MBytes 178 Mbits/sec 0 67.0 KBytes
[ 5] 8.00-9.00 sec 15.0 MBytes 126 Mbits/sec 0 67.0 KBytes
[ 5] 9.00-10.00 sec 19.5 MBytes 163 Mbits/sec 0 67.0 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 186 MBytes 156 Mbits/sec 0 sender
[ 5] 0.00-9.99 sec 186 MBytes 156 Mbits/sec receiver
iperf Done. Host -> Guest
master (6fba254) + Revert #1674Guest -> Hostguest$ iperf3 -c 192.168.5.2
Connecting to host 192.168.5.2, port 5201
[ 5] local 192.168.5.15 port 40878 connected to 192.168.5.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 28.9 MBytes 242 Mbits/sec 0 180 KBytes
[ 5] 1.00-2.00 sec 28.3 MBytes 237 Mbits/sec 0 180 KBytes
[ 5] 2.00-3.00 sec 28.2 MBytes 236 Mbits/sec 0 180 KBytes
[ 5] 3.00-4.00 sec 28.2 MBytes 237 Mbits/sec 0 180 KBytes
[ 5] 4.00-5.00 sec 28.3 MBytes 238 Mbits/sec 0 180 KBytes
[ 5] 5.00-6.00 sec 28.2 MBytes 237 Mbits/sec 0 180 KBytes
[ 5] 6.00-7.00 sec 28.7 MBytes 241 Mbits/sec 0 180 KBytes
[ 5] 7.00-8.00 sec 27.9 MBytes 234 Mbits/sec 0 180 KBytes
[ 5] 8.00-9.00 sec 28.1 MBytes 236 Mbits/sec 0 180 KBytes
[ 5] 9.00-10.00 sec 28.1 MBytes 236 Mbits/sec 0 180 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 283 MBytes 237 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 282 MBytes 237 Mbits/sec receiver
iperf Done. Host -> Guest
#1693Guest -> Hostguest$ iperf3 -c 192.168.5.2
Connecting to host 192.168.5.2, port 5201
[ 5] local 192.168.5.15 port 40312 connected to 192.168.5.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 172 MBytes 1.44 Gbits/sec 0 123 KBytes
[ 5] 1.00-2.00 sec 172 MBytes 1.45 Gbits/sec 0 123 KBytes
[ 5] 2.00-3.00 sec 171 MBytes 1.43 Gbits/sec 0 123 KBytes
[ 5] 3.00-4.00 sec 171 MBytes 1.44 Gbits/sec 0 123 KBytes
[ 5] 4.00-5.00 sec 170 MBytes 1.42 Gbits/sec 0 123 KBytes
[ 5] 5.00-6.00 sec 169 MBytes 1.41 Gbits/sec 0 123 KBytes
[ 5] 6.00-7.00 sec 159 MBytes 1.33 Gbits/sec 0 123 KBytes
[ 5] 7.00-8.00 sec 154 MBytes 1.29 Gbits/sec 0 123 KBytes
[ 5] 8.00-9.00 sec 102 MBytes 854 Mbits/sec 0 123 KBytes
[ 5] 9.00-10.00 sec 125 MBytes 1.05 Gbits/sec 0 123 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.53 GBytes 1.31 Gbits/sec 0 sender
[ 5] 0.00-10.01 sec 1.53 GBytes 1.31 Gbits/sec receiver
iperf Done. Host -> Guesthost$ iperf3 -c 127.0.0.1
Connecting to host 127.0.0.1, port 5201
[ 5] local 127.0.0.1 port 61838 connected to 127.0.0.1 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 201 MBytes 1.68 Gbits/sec
[ 5] 1.00-2.00 sec 200 MBytes 1.68 Gbits/sec
[ 5] 2.00-3.00 sec 201 MBytes 1.69 Gbits/sec
[ 5] 3.00-4.00 sec 209 MBytes 1.75 Gbits/sec
[ 5] 4.00-5.00 sec 205 MBytes 1.72 Gbits/sec
[ 5] 5.00-6.00 sec 199 MBytes 1.67 Gbits/sec
[ 5] 6.00-7.00 sec 206 MBytes 1.73 Gbits/sec
[ 5] 7.00-8.00 sec 205 MBytes 1.72 Gbits/sec
[ 5] 8.00-9.00 sec 215 MBytes 1.81 Gbits/sec
[ 5] 9.00-10.00 sec 223 MBytes 1.87 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.00 sec 2.02 GBytes 1.73 Gbits/sec sender
[ 5] 0.00-10.05 sec 2.01 GBytes 1.72 Gbits/sec receiver
iperf Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Apparently fix:
limactl start template://docker
no longer boots (virtio-serial seems intermittently breaking virtio-net-pci) #1689socat -,echo=0,icanon=0 unix-connect:serial.sock
prints nothing since PR 1674 (virtio serial) #1691