#18725 closed bug (fixed)

tcp: even localhost networking is extremely slow sometimes

Reported by: X512 Owned by: axeld
Priority: normal Milestone: R1/beta5
Component: Network & Internet/TCP Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by X512)

This is hrev57460.

Server:

python3 -m http.server --bind 0.0.0.0 80

Client:

/Haiku/data/distrib> wget -O - http://127.0.0.1/Fedora-Workstation-Live-x86_64-38-1.6.iso > /dev/null
--2023-12-29 05:51:44--  http://127.0.0.1/Fedora-Workstation-Live-x86_64-38-1.6.iso
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2099451904 (2.0G) [application/octet-stream]
Saving to: 'STDOUT'

-                                0%[                                                  ]   4.44M   284KB/s    eta 2h 0m  

DD for reference:

/Haiku/data/distrib> dd if=/Haiku/data/distrib/Fedora-Workstation-Live-x86_64-38-1.6.iso of=/dev/null bs=1M
2002+1 records in
2002+1 records out
2099451904 bytes (2.1 GB, 2.0 GiB) copied, 0.199473 s, 10.5 GB/s

Change History (4)

comment:1 by X512, 12 months ago

Description: modified (diff)

comment:2 by waddlesplash, 12 months ago

Related: #12876, #18203.

comment:3 by X512, 12 months ago

After patchset (https://review.haiku-os.org/c/haiku/+/7285/1) applied:

/boot/data/distrib> wget -O - http://127.0.0.1/Fedora-Workstation-Live-x86_64-38-1.6.iso > /dev/null
--2023-12-31 12:03:59--  http://127.0.0.1/Fedora-Workstation-Live-x86_64-38-1.6.iso
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2099451904 (2.0G) [application/octet-stream]
Saving to: ‘STDOUT’

-                         100%[=====================================>]   1.96G   596MB/s    in 3.5s    
-                               100%[====================================================>]   1.96G   263MB/s    in 7.6s    
-                                    100%[=====================================================================>]   1.96G   493MB/s    in 4.1s    
-                                    100%[=====================================================================>]   1.96G  45.3MB/s    in 45s     
-                                    100%[=====================================================================>]   1.96G   656MB/s    in 3.1s    
-                                    100%[=====================================================================>]   1.96G   860MB/s    in 2.3s    
-                                    100%[=====================================================================>]   1.96G   558MB/s    in 3.6s    
-                                    100%[=====================================================================>]   1.96G   536MB/s    in 3.7s    
-                                    100%[=====================================================================>]   1.96G   929MB/s    in 2.2s    
-                                    100%[=====================================================================>]   1.96G   221MB/s    in 9.0s    

comment:4 by waddlesplash, 12 months ago

Milestone: UnscheduledR1/beta5
Resolution: fixed
Status: newclosed

Merged in hrev57492. An 160x-3200x improvement is nothing to scoff at, to be sure; even if it's still inconsistent and more can be done.

Note: See TracTickets for help on using tickets.