102 lines
3.3 KiB
Plaintext
102 lines
3.3 KiB
Plaintext
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./tcp_server
|
||
TCP Server listening on port 8080...
|
||
Client connected.
|
||
Received 21 bytes: Hello from TCP Client
|
||
Response sent to client.
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./quic_client
|
||
Connecting to QUIC server...
|
||
Sent: Hello from QUIC Client!
|
||
Received: Server received: Hello from QUIC Client!
|
||
Connection closed.
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./tcp_perf_server
|
||
TCP Performance Server listening on port 8081...
|
||
Client connected. Receiving data...
|
||
Received 100.00 MB in 0.04 seconds.
|
||
Throughput: 2238.34 MB/s
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./quic_perf_client
|
||
Connecting to QUIC Perf Server and sending 100 MB...
|
||
Finished sending data.
|
||
Connection closed.
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./tcp_server
|
||
TCP Server listening on port 8080...
|
||
Client connected.
|
||
Received 21 bytes: Hello from TCP Client
|
||
Response sent to client.
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./quic_server
|
||
QUIC Server listening on port 8888
|
||
New connection accepted.
|
||
Received 23 bytes on stream 4: Hello from QUIC Client!
|
||
Connection closed.
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./tcp_perf_server
|
||
TCP Performance Server listening on port 8081...
|
||
Client connected. Receiving data...
|
||
Received 100.00 MB in 0.04 seconds.
|
||
Throughput: 2771.82 MB/s
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./quic_perf_server
|
||
QUIC Performance Server listening on port 8889
|
||
New performance connection accepted.
|
||
Received 100.00 MB in 16.31 seconds.
|
||
Throughput: 6.13 MB/s
|
||
Connection closed.
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ sudo tc qdisc add dev lo root netem loss 5%
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./tcp_perf_server
|
||
TCP Performance Server listening on port 8081...
|
||
Client connected. Receiving data...
|
||
Received 100.00 MB in 0.04 seconds.
|
||
Throughput: 2716.84 MB/s
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./quic_perf_server
|
||
QUIC Performance Server listening on port 8889
|
||
New performance connection accepted.
|
||
Received 100.00 MB in 21.36 seconds.
|
||
Throughput: 4.68 MB/s
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main) [130]
|
||
❯ sudo tc qdisc del dev lo root
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ sudo tc qdisc add dev lo root netem delay 100ms
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./tcp_perf_server
|
||
TCP Performance Server listening on port 8081...
|
||
Client connected. Receiving data...
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main) [130]
|
||
❯ ./tcp_perf_server
|
||
TCP Performance Server listening on port 8081...
|
||
Client connected. Receiving data...
|
||
Received 100.00 MB in 102.31 seconds.
|
||
Throughput: 0.98 MB/s
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main)
|
||
❯ ./quic_perf_server
|
||
QUIC Performance Server listening on port 8889
|
||
New performance connection accepted.
|
||
Received 100.00 MB in 41.46 seconds.
|
||
Throughput: 2.41 MB/s
|
||
|
||
gh0s7@SecretSealingClub ~/project/NE_YuR/network/tcpquiclab (main) [130]
|
||
❯ sudo tc qdisc del dev lo root
|
||
|