Skip to content

Commit 71c382c

Browse files
cpu affinity
1 parent 05b769a commit 71c382c

12 files changed

+815
-703
lines changed

desktop/l2/CPU_and_IRQ_optimization.md

Lines changed: 564 additions & 122 deletions
Large diffs are not rendered by default.

desktop/l2/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,21 @@ The system manages 4 WiFi interfaces:
6363

6464
All interfaces operate in 5GHz band with WPA3-SAE authentication.
6565

66+
### WiFi WMM (QoS) Configuration
67+
68+
This system uses specific WMM (Wi-Fi Multimedia) settings for the best effort (AC_BE) access category, as suggested by Nokia WiFi engineer Koen De Schepper, to optimize WiFi performance for normal-priority traffic:
69+
70+
```
71+
# Normal priority / AC_BE = best effort
72+
wmm_ac_be_aifs=1
73+
wmm_ac_be_cwmin=4
74+
wmm_ac_be_cwmax=4
75+
wmm_ac_be_txop_limit=32
76+
wmm_ac_be_acm=0
77+
```
78+
79+
These values are set in the `hostapd-multi.nix` configuration and ensure that best effort traffic is handled with optimal latency and fairness, as recommended by industry experts.
80+
6681
## CPU and IRQ Optimization
6782

6883
### System Architecture

desktop/l2/configuration.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
./network-optimization.nix
4242
# CPU and IRQ optimization modules
4343
./irq-affinity.nix
44+
./systemd-slices.nix
4445
./kernel-params.nix
4546
./monitoring.nix
4647
];

desktop/l2/hostapd-multi.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let
1717
bridge = "br0";
1818
ieee80211w = 2;
1919

20-
# WMM tuning
20+
# WMM tuning (as recommended by Koen De Schepper, Nokia)
2121
wmm_ac_be_aifs = 1;
2222
wmm_ac_be_cwmin = 4;
2323
wmm_ac_be_cwmax = 4;
@@ -127,6 +127,7 @@ in {
127127
}
128128
];
129129
};
130+
serviceConfig.Slice = "kea.slice";
130131
};
131132
};
132133
# services.prometheus.exporters.kea = {
@@ -148,6 +149,7 @@ in {
148149
serve_rfc1918 = true;
149150
};
150151
};
152+
serviceConfig.Slice = "pdns.slice";
151153
};
152154

153155
# IPv6 SLAAC via radvd
@@ -166,6 +168,7 @@ in {
166168
};
167169
};
168170
'';
171+
serviceConfig.Slice = "radvd.slice";
169172
};
170173

171174
# https://nixos.wiki/wiki/Systemd-networkd

desktop/l2/hostapd.nix

Lines changed: 0 additions & 203 deletions
This file was deleted.

desktop/l2/hostapd.notes

Lines changed: 0 additions & 129 deletions
This file was deleted.

0 commit comments

Comments
 (0)