DataDog / glommio

Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.
Other
3.06k stars 162 forks source link

Is TcpStream broken? #592

Open yngrtc opened 1 year ago

yngrtc commented 1 year ago

both echo bench hang

cargo bench -p glommio --bench echo

long-lived connections, 1000000 128-byte messages, 1 clients, Tokio  : 12.11s (82602.31 req/s, 100.0%)

hang after Tokio, no glommio start_clients

cargo run --example echo
Server Listening on 127.0.0.1:10000 on 1 connections

Tried tag v0.8.0 and master

yngrtc commented 1 year ago
:~$ ulimit -l
unlimited

~$ uname -r
5.15.77-amd64-desktop

so, it is not memlock issue.

yngrtc commented 1 year ago

just add echo_test in PR https://github.com/DataDog/glommio/pull/593 to verify it

looks like github action passed

test tests::echo_test ... ok

But the same test hang in my local machine.