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
The Linux kernel (5.4+) defaults NFS `read_ahead_kb` to **128 KB**, which limits sequential NFS reads to ~140 MB/s regardless of link speed. This is because the VFS readahead window only allows ~1 NFS READ (1MB rsize) in flight at a time.
521
+
522
+
**Fix applied in Talos machine config** (`omni/cluster-template/cluster-template.yaml`):
523
+
524
+
| Setting | Purpose | Where |
525
+
|---------|---------|-------|
526
+
|`udev rule: ATTR{read_ahead_kb}="16384"`| Sets NFS readahead to 16MB on mount |`machine.udev.rules` (cluster patch) |
The default Linux kernel `read_ahead_kb` of 128 KB limits NFS sequential reads to ~140 MB/s on any link speed. The cluster applies these fixes via Talos machine config:
NFS mounts use `nconnect=16` over 10G for fast model loading.
280
+
NFS mounts use `nconnect=16` over 10G for fast model loading. Performance depends on Talos kernel tuning — `read_ahead_kb` must be 16384+ (set via udev rule in cluster template) and `sunrpc.tcp_slot_table_entries` must be 128+ (set via sysctl). Without these, NFS caps at ~140 MB/s regardless of link speed.
0 commit comments