On 1/1/21 11:16 AM, John Paul Adrian Glaubitz wrote: > On 1/1/21 4:35 PM, Jens Axboe wrote:> It's supposed to finish very quickly: >> >> axboe@p1 ~> time ./socket-rw 0.000s >> >> ________________________________________________________ >> Executed in 1.10 millis fish external >> usr time 888.00 micros 278.00 micros 610.00 micros >> sys time 35.00 micros 35.00 micros 0.00 micros >> >> If it doesn't, can you try: >> >> # echo 1 > /sys/kernel/debug/tracing/events/io_uring/enable >> >> Then run the socket-rw app, and then do: >> >> # cat /sys/kernel/debug/tracing/trace >> >> and send that output? Might also be useful to include the strace >> of the socket-rw just in case, so maybe run it ala >> >> strace -o foo ./socket-rw >> >> and include foo in the reply as well. > > Odd, I just ran it through strace and it exited immediately: That looks correct, it sets up a ring, issues and waits for two requests. Both of those requests require TWA_SIGNAL processing. -- Jens Axboe