You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while socat -u TCP:localhost:8080 CREATE:out ; do date ; done | uniq -c
What I see is initially about 120 connections accepted every second, but soon it drops to about 60, and every now and then something goes wrong, for example:
72 Mon Sep 11 12:18:25 UTC 2023
139 Mon Sep 11 12:18:26 UTC 2023
131 Mon Sep 11 12:18:27 UTC 2023
116 Mon Sep 11 12:18:28 UTC 2023
102 Mon Sep 11 12:18:29 UTC 2023
93 Mon Sep 11 12:18:30 UTC 2023
86 Mon Sep 11 12:18:31 UTC 2023
80 Mon Sep 11 12:18:32 UTC 2023
76 Mon Sep 11 12:18:33 UTC 2023
69 Mon Sep 11 12:18:34 UTC 2023
41 Mon Sep 11 12:18:35 UTC 2023
69 Mon Sep 11 12:18:53 UTC 2023 <-- 17 seconds with no connection here
130 Mon Sep 11 12:18:54 UTC 2023
67 Mon Sep 11 12:18:55 UTC 2023
Perhaps an interrupt is dropped and the program gets rescued by a timer?
I get very similar behaviour on Arm if I avoid #898 by moving the initialisation of cursor as described at 2023-09-11 11:38 +0100 in that issue.
The text was updated successfully, but these errors were encountered:
Test program Cargo.toml:
Test program src/main.rs:
rusty-hermit is at f7b3c51cbb3cc4d2cd4c199370e53cb714c5e951
rusty-hermit/kernel is at 5dd7310
Build and run with Hermit on Intel:
Test from another terminal:
What I see is initially about 120 connections accepted every second, but soon it drops to about 60, and every now and then something goes wrong, for example:
Perhaps an interrupt is dropped and the program gets rescued by a timer?
I get very similar behaviour on Arm if I avoid #898 by moving the initialisation of
cursor
as described at 2023-09-11 11:38 +0100 in that issue.The text was updated successfully, but these errors were encountered: