Commit Graph

7 Commits

Author SHA1 Message Date
luwenpeng
b33dafff53 Add packet injector test frame 2024-05-15 14:48:15 +08:00
luwenpeng
611fda598f Adjust thread index type to uint16 for future expansion & Organize stellar directory files 2024-04-25 18:17:20 +08:00
luwenpeng
54a78389cf packet IO support inject packet and add inject packet stat 2024-04-25 15:34:46 +08:00
luwenpeng
bb7d7410c9 fix spelling mistake 2024-04-21 11:30:41 +08:00
luwenpeng
5508454a1b Optimize packet I/O and timeouts
- Introduce per-thread I/O statistics for packet I/O to reduce performance overhead.
- Implement packet_io_yield() for better thread management during I/O operations.
- Refactor time wheel management:
  - Replace timeouts-based cron tasks with (now_ts - last_ts > timeout) for scheduled tasks.
  - Update the time wheel every 5 ms for improved time management.
2024-04-18 14:37:03 +08:00
luwenpeng
d878849c3a Stellar output statistics 2024-04-16 14:13:42 +08:00
luwenpeng
621a4cf292 Refactor Packet I/O 2024-04-11 10:55:06 +08:00