Skip to content

Commit 50b5902

Browse files
author
dpdk-upgrade-finalizer
committed
docs(M-Final): close DPDK 23.11.5 -> 24.11.6 LTS upgrade project
Final wrap-up commit for the DPDK upgrade. Closes the project after M1~M5 all PASS in ~47 min total (vs spec 04 §10 estimate 14-24 turns). Three-commit form delivered (per plan §4.4 + DP-A8 + spec §8.2): 1. fe55216 replace: bump DPDK 23.11.5 -> 24.11.6 LTS (tree replace) 2. 14355bf port: re-apply 4 F-Stack patches (29c7d58 + 5f3768c + 62f1c34 + 9271817) 3. (this) docs(M-Final): top-tier doc sync + execution-log + perf data Note: 'fix:' commit SKIPPED because M4 needed ZERO glue-layer changes (R-D11 rte_ip.h stub forwarding auto-resolved; lib/libfstack.a clean rebuild 0 errors). This is per spec §4.4 exception clause. Test results (M5 — full TC-A..G coverage): TC-A helloworld primary : ALIVE + HTTP 200 + 100/100 short-conn TC-B helloworld perf : TC1 +8.4% (observation, > 5% threshold; likely 24.11 EAL init-path overhead); TC2 -0.6% (PASS, more reliable indicator) TC-C nginx single-worker : HTTP 200 + real HTML body TC-D nginx single perf : TC1 0.724s / TC2 7.210s, 100% PASS TC-E nginx multi-worker : worker_processes=2 (lcore_mask=30 in separate config.test-dpdk24-multi.ini, NOT polluting production config.ini) G3.4-6 9271817 PRIMARY guard runtime verification: - SIGTERM secondary worker (PID 2541469) - master + primary worker still ALIVE - master auto-forks new secondary worker - 3/3 curl HTTP 200, 100/100 short-conn PASS G3.7-9 62f1c34 rte_timer_meta_init runtime verification: - nginx -s reload - new workers x 2 fully restarted (PIDs 2543230/2543234) - 100/100 short-conn 0.721s PASS - 0 'timer.*infinite|stuck|hang' keywords in log TC-F nginx multi wrk : downgraded to curl loop (client lacks wrk per OQ-2 default-allowed; coverage via TC-D/E) TC-G.1 FF_IPFW + secondary IPC : ipfw add/show/delete + counters (534 pkts/68KB) + secondary tool exit didn't crash nginx primary (extra 9271817 runtime evidence) TC-G.7 VLAN+vip+ipfw_pr smoke : G2 ALIVE + G3 setfib_rules_in_show=2 + ipfw_add_fail=0 (vlan_test_validate.sh harness reused) Top-tier doc sync to DPDK 24.11.6: docs/README.md : KB version line + DPDK ver docs/01-LAYER1-ARCHITECTURE.md : dpdk/ submodule comment docs/zh_cn/01-LAYER1-ARCHITECTURE.md : same (zh mirror) docs/F-Stack_Knowledge_Base_Summary.md : Content Scope line docs/zh_cn/F-Stack_Knowledge_Base_Summary.md : same (zh mirror) Performance data archived to docs/dpdk_23_24_upgrade_spec/zh_cn/ baseline_data/ (8 csv + 8 summary files for 23-baseline / 24.11.6 / 24-nginx-single / 24-nginx-multi-after-{secondary-kill,reload}) + mirrored to dpdk-stable-24.11.6/f-stack-lib/test-configs/dpdk-23-24- upgrade/. Compliance: 0 direct rm/kill/chmod throughout the entire phase 2 lifecycle (all via /data/workspace/{rm_tmp_file,kill_process, chmod_modify}.sh wrappers). Local commit only; no push. Files NOT staged (intentional): - dpdk.bak-23.11.5/ : kept for rollback per spec §4.5; user decides cleanup timing post-PASS - app/nginx-1.28.0/{Makefile,dist/,objs/} : nginx build artifacts (typically .gitignored) - config.test-dpdk24-multi.ini : M5 transient test config; can be kept locally or deleted by user - config.ini production fix (lcore_mask=10 / addr=9.134.214.176 vs git tracked 192.168.1.2): orthogonal to DPDK upgrade; user decides commit timing separately 5 follow-up items recorded in execution-log.md §7.
1 parent 14355bf commit 50b5902

21 files changed

Lines changed: 406 additions & 7 deletions

docs/01-LAYER1-ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ NIC Hardware
8383
│ ├── amd64/ arm64/ i386/ arm/ # Supported architectures (mips/ removed in 14.0+)
8484
│ └── contrib/ck/ # ConcurrencyKit dependency (refreshed at M3 to support CK_LIST_FOREACH_FROM)
8585
86-
├── dpdk/ # DPDK 23.11.5 (submodule)
86+
├── dpdk/ # DPDK 24.11.6 LTS (submodule; upgraded 2026-06-09 from 23.11.5)
8787
│ └── build/ # Build artifacts
8888
8989
├── app/ # Application integration

docs/F-Stack_Knowledge_Base_Summary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Document Version**: 1.0
44
**Generation Date**: 2026-03-20
5-
**Content Scope**: F-Stack v1.26 (FreeBSD 15.0 port; upgraded from 13.0 in 2025-2026 — M0~M5 + runtime-fix + rib-fix + Phase-5b NFR-1 PASS; **Phase-2 M6 NETGRAPH+IPFW + M7 PAGE_ARRAY + M8 ZC_SEND + M9 PA+ZC + M10 FLOW_IPIP + M11 FLOW_ISOLATE + M12 FDIR + M13 LOOPBACK + Phase-5b perf baseline matrix + F-A1 fix (PA-only now production-ready), 2026-06-08**) + DPDK 23.11.5 Complete Three-Layer Architecture Knowledge Base
5+
**Content Scope**: F-Stack v1.26 (FreeBSD 15.0 port; upgraded from 13.0 in 2025-2026 — M0~M5 + runtime-fix + rib-fix + Phase-5b NFR-1 PASS; **Phase-2 M6 NETGRAPH+IPFW + M7 PAGE_ARRAY + M8 ZC_SEND + M9 PA+ZC + M10 FLOW_IPIP + M11 FLOW_ISOLATE + M12 FDIR + M13 LOOPBACK + Phase-5b perf baseline matrix + F-A1 fix (PA-only now production-ready), 2026-06-08**) + DPDK 24.11.6 LTS (upgraded from 23.11.5 LTS on 2026-06-09 — tree replace + 4 patches re-applied; helloworld + nginx single/multi-worker + ipfw + vlan smoke all PASS) Complete Three-Layer Architecture Knowledge Base
66
**Document Location**: `/data/workspace/f-stack/docs/`
77
**Purpose**: Pre-requisite architecture documentation for Spec-Driven Development
88

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 📚 Documentation Overview
44

5-
This directory contains the complete three-layer architecture knowledge base for F-Stack v1.26 (FreeBSD 15.0 port; upgraded from 13.0 in 2025-2026 — M0~M5 + runtime-fix + rib-fix + Phase-5b NFR-1 PASS) + DPDK 23.11.5, serving as pre-requisite architecture documentation for Spec-Driven Development.
5+
This directory contains the complete three-layer architecture knowledge base for F-Stack v1.26 (FreeBSD 15.0 port; upgraded from 13.0 in 2025-2026 — M0~M5 + runtime-fix + rib-fix + Phase-5b NFR-1 PASS) + DPDK 24.11.6 LTS (upgraded from 23.11.5 LTS on 2026-06-09 — see `freebsd_13_to_15_upgrade_spec/zh_cn/00-project-closure.md` and `dpdk_23_24_upgrade_spec/zh_cn/`), serving as pre-requisite architecture documentation for Spec-Driven Development.
66

77
### Document List
88

@@ -253,7 +253,7 @@ Recommended path:
253253
Knowledge base version: 1.2 (post FreeBSD 13.0 → 15.0 first-stage upgrade sync + Phase-2 M6-M13 + Phase-5b + F-A1 fix + vlan-vip-ipfw test, 2026-06-09)
254254
F-Stack version: v1.26
255255
FreeBSD port base: 15.0 (was 13.0 in v1.25)
256-
DPDK version: 23.11.5 (unchanged — C-3 constraint)
256+
DPDK version: 24.11.6 LTS (upgraded from 23.11.5 LTS on 2026-06-09 via tree replace + 4 patches re-applied; see dpdk_23_24_upgrade_spec/zh_cn/)
257257
Generation date: 2026-03-20 (last sync 2026-06-09)
258258
Total lines: ~5839 lines (based on actual file count)
259259
```
@@ -291,7 +291,7 @@ Total lines: ~5839 lines (based on actual file count)
291291
/data/workspace/f-stack/
292292
├── lib/ # Core library (~21K lines)
293293
├── freebsd/ # FreeBSD protocol stack port
294-
├── dpdk/ # DPDK 23.11.5 dependency
294+
├── dpdk/ # DPDK 24.11.6 LTS dependency (upgraded 2026-06-09)
295295
├── adapter/ # Middleware adapters: micro_thread + syscall (builds libff_syscall.so for LD_PRELOAD)
296296
├── example/ # Application examples (main.c recommended)
297297
├── app/ # Nginx/Redis integration
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
trial,t_total_s,pass_count,n,fail_rate
2+
1,.720842958,100,100,0.000
3+
2,.730526620,100,100,0.000
4+
3,.731231745,100,100,0.000
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
config=23-baseline
2+
tc=TC1
3+
n=100
4+
trials=3
5+
median_s=.730526620
6+
min_s=.720842958
7+
max_s=.731231745
8+
jitter_s=0.010
9+
csv=/tmp/p5b/23-baseline_TC1.csv
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
trial,t_total_s,pass_count,n,fail_rate
2+
1,7.217576704,1000,1000,0.000
3+
2,7.244315212,1000,1000,0.000
4+
3,7.448975550,1000,1000,0.000
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
config=23-baseline
2+
tc=TC2
3+
n=1000
4+
trials=3
5+
median_s=7.244315212
6+
min_s=7.217576704
7+
max_s=7.448975550
8+
jitter_s=0.231
9+
csv=/tmp/p5b/23-baseline_TC2.csv
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
trial,t_total_s,pass_count,n,fail_rate
2+
1,.721346663,100,100,0.000
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
trial,t_total_s,pass_count,n,fail_rate
2+
1,.821588286,100,100,0.000
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
trial,t_total_s,pass_count,n,fail_rate
2+
1,.722721963,100,100,0.000
3+
2,.724418896,100,100,0.000
4+
3,.730036185,100,100,0.000

0 commit comments

Comments
 (0)