-
Notifications
You must be signed in to change notification settings - Fork 245
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
[tperf] socket write error on wireless networks #329
Comments
Is this issue still occurring? I have not been able to reproduce the issue. Could you share more about the specific setup you are using? |
I don't have a raspberry pi to try to reproduce the issue at the moment but the "Input/output error" indicates that the link may have been down momentarily. Given it works fine on a wired connection, I suspect this could be related to power issues in the RPi. Could you check dmesg output around the time of the failure? |
@jbeshay, thanks for advice. [ 1100.515913] usb 1-1.3: new full-speed USB device number 5 using xhci_hcd |
I run tperf on wired and wireless networks, it works well on wired networks but fails on wireless networks.
It seems that, onConnectionError() in quic\tools\tperf\tperf.cpp prints the error message, flushInternal() in quic\api\IoBufQuicBatch.cpp throws the error. Does it have something to do with folly?
server's command is:
tperf -mode server -host 192.168.2.1 -port 9001 -congestion cubic --v=4
server's output is:
I0129 17:13:29.629806 5206 QuicServer.cpp:274] No valid takenover fd found for address=192.168.2.1:9001. binding on worker=0xaaab04550740 workerId=0 processId=0
I0129 17:13:29.630307 5206 QuicServer.cpp:285] Initialized all workers in the eventbase
I0129 17:13:29.630574 5206 tperf.cpp:171] TPerfAcceptObserver attached
I0129 17:13:29.630636 5205 tperf.cpp:533] tperf server started at: 192.168.2.1:9001
I0129 17:13:44.463753 5206 QuicServerWorker.cpp:870] Creating new connection for client=192.168.3.1:41198, routingInfo=CID=d94f4fa19aa2b4f1, cidVersion=1, workerId=0, processId=0, hostId=0, threadId=281473521771904, cidVersion in packet=3, workerId in packet=162, processId in packet=1, hostId in packet=1330618778,
I0129 17:13:44.480093 5206 QuicServerWorker.cpp:1269] Adding into connectionIdMap_ for CID=4000001971171151 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.480290 5206 tperf.cpp:243] Starting sends to client.
I0129 17:13:44.480788 5206 QuicPacketScheduler.cpp:814] Wrote crypto frame offset=0 bytesWritten=90 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.483676 5206 QuicPacketScheduler.cpp:814] Wrote crypto frame offset=0 bytesWritten=714 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.484714 5206 QuicPacketScheduler.cpp:556] Wrote stream frame stream=3 offset=0 bytesWritten=1429 finWritten=0 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.485170 5206 QuicPacketScheduler.cpp:556] Wrote stream frame stream=3 offset=1429 bytesWritten=1427 finWritten=0 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.485388 5206 QuicPacketScheduler.cpp:556] Wrote stream frame stream=3 offset=2856 bytesWritten=1427 finWritten=0 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.485599 5206 QuicPacketScheduler.cpp:556] Wrote stream frame stream=3 offset=4283 bytesWritten=1427 finWritten=0 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.485882 5206 QuicPacketScheduler.cpp:556] Wrote stream frame stream=3 offset=5710 bytesWritten=1427 finWritten=0 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.486230 5206 QuicPacketScheduler.cpp:556] Wrote stream frame stream=3 offset=7137 bytesWritten=1427 finWritten=0 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.486543 5206 QuicPacketScheduler.cpp:556] Wrote stream frame stream=3 offset=8564 bytesWritten=1427 finWritten=0 client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.486864 5206 IoBufQuicBatch.cpp:154] Error writing to the socket Input/output error, 192.168.3.1:41198
I0129 17:13:44.487277 5206 QuicTransportBase.cpp:3198] writeSocketDataAndCatchError on socket write Input/output error, client CID= server CID=4000001971171151 peer address=192.168.3.1:41198
I0129 17:13:44.487398 5206 QuicTransportBase.cpp:2882] Clearing datagram callback
I0129 17:13:44.487425 5206 QuicTransportBase.cpp:2885] Clearing ping callback
I0129 17:13:44.487445 5206 QuicTransportBase.cpp:2888] Clearing 0 peek callbacks
E0129 17:13:44.487555 5206 tperf.cpp:235] Conn errorCoded=Internal Error, errorMsg=Error on socket write Input/output error,
F0129 17:13:44.488060 5206 tperf.cpp:269] Connection closed
*** Check failure stack trace: ***
*** Aborted at 1706519624 (Unix time, try 'date -d @1706519624') ***
*** Signal 6 (SIGABRT) (0x3e800001455) received by PID 5205 (pthread TID 0xffffa9476580) (linux TID 5206) (maybe from PID 5205, UID 1000) (code: -6), stack trace: ***
(error retrieving stack trace)
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: