SchOS/kernel/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 2c5a278d56 net: downloads at tens of megabits, not one
Measured against the host fetching the same 67 MB from Alpine's CDN at
11.5 MB/s, SchOS managed about 120 KB/s. Three causes:

- The receive window reopened when data entered the socket buffer,
  before the reader drained it; lwIP then refused segments and the
  sender waited on retransmission timers. It reopens on read now.
- The e1000 receive ring held 16 frames, so a full window arriving back
  to back lost everything past the sixteenth. 256 now.
- Without window scaling the window stops at 64 KB, one window per
  round trip. Scaling on, 256 KB window, 512 KB socket ring (a power of
  two, which the free-running indices need), copied in blocks.

Now 5.8 MB/s for the same file, and apk update in about two seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 15:28:32 +02:00
..
e1000 net: downloads at tens of megabits, not one 2026-10-24 15:28:32 +02:00
r8169 include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
rtl8139 include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00