test(libSceNet): net_dontwait_blocking_send, _sendto and _sendmsg fail on a Linux host whose loopback receive buffer can grow to 32 MiB #8917

Closed
opened 2026-10-21 06:09:41 +00:00 by xXPBSXx · 0 comments
xXPBSXx commented 2026-10-21 06:09:41 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-21T06:09:41Z.


On Linux (WSL2 Ubuntu 24.04, GCC 13.3, Release, main fa9eb5cfac, net.ipv4.tcp_wmem max 4194304, net.ipv4.tcp_rmem max 33554432) net_dontwait_blocking_send, net_dontwait_blocking_sendto and net_dontwait_blocking_sendmsg fail with peer never exhausted the send buffers (core/libs/tests/NetBlockingSend.cpp:125). The test sends 4 MiB with a 100 ms send timeout to a peer that never reads, and expects one of 16 further timed sends to return EAGAIN. With a receive buffer that autotunes up to 32 MiB, 16 sends of at most 4 MiB leave room, so the loop ends without an EAGAIN. The other 1768 tests pass or skip (full ctest run, 3 failed out of 1771).

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5955327254 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/8917). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-21T06:09:41Z. --- On Linux (WSL2 Ubuntu 24.04, GCC 13.3, Release, `main` fa9eb5cfac, `net.ipv4.tcp_wmem` max 4194304, `net.ipv4.tcp_rmem` max 33554432) `net_dontwait_blocking_send`, `net_dontwait_blocking_sendto` and `net_dontwait_blocking_sendmsg` fail with `peer never exhausted the send buffers` (core/libs/tests/NetBlockingSend.cpp:125). The test sends 4 MiB with a 100 ms send timeout to a peer that never reads, and expects one of 16 further timed sends to return EAGAIN. With a receive buffer that autotunes up to 32 MiB, 16 sends of at most 4 MiB leave room, so the loop ends without an EAGAIN. The other 1768 tests pass or skip (full ctest run, 3 failed out of 1771). AI-assisted (Claude Code).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#8917
No description provided.