SPIKE: ARM cell-node feasibility for warehouse-scale RAN (PTP quality, vfio/SMMU, USB-tier PinBeaconTbtt discipline)

Đang mở
#381 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
c, docker, linux

Hướng nghiên cứu

Start with README/CLAUDE.md for the stated MediaTek USB limitation, then run the measurement plan on the Orange Pi 5 Plus: check ethtool -T and measure PTP offsets with ptp4l against the I226 baseline. Test the 8821CE/vfio path and measure PinBeaconTbtt over USB; document results, blocker scope, and candidate-board assessment. Done means a measured, costed ARM configuration fits a stated timing tier, or the evidence supports keeping x86.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Spike under EPIC #254. Question: can a warehouse-scale fleet of cell (gNB-DU) nodes run on ARM SBCs instead of x86 mini-PCs — cheaper, lower-power, and (the real deployment lever) PoE-powered — without giving up the timing tiers the epic depends on?

Context: the proven cell-node stack is x86 (Intel N100-class) + Intel I226 HW-PTP (~290 ns RMS vs Wi-Fi TSF) + RTL8821CE over PCIe/vfio (~12 µs submit-to-air; AP↔PTP hold ~0.67 µs via PinBeaconTbtt). devourer's ARM64 USB path is proven daily; the PCIe transport is x86-validated only. The dev rig purchase (3× J6412 boxes) proceeds regardless — this spike only decides the scale-out tier.

Three gates an ARM cell node must pass

  1. vfio/IOMMU — PcieTransport rides vfio-pci, which needs an IOMMU. Most cheap ARM SoCs wire no SMMU in front of PCIe (RK3588, i.MX8M). vfio-noiommu exists but has no DMA mapping API, so our DMA rings would need a physical-address/hugepage scheme — engineering work, not a config flag.
  2. PTP quality of the SoC MAC — "ethtool -T shows the bits" ≠ I226-grade. Needs a measured offset distribution per candidate.
  3. USB-tier fallback semantics — an ARM node driving the radio over USB is supported today, but that is the coarse-sync tier (~93 µs transport jitter). PinBeaconTbtt discipline quality over USB is unmeasured; its number decides whether warehouse cells need PCIe at all.

Measurement plan (zero-purchase: Orange Pi 5 Plus on hand answers most of it)

  • A — PTP bench on RK3588 2.5GbE: ethtool -T, then ptp4l slave against an i226 master; report offset RMS + tail vs the I226↔I226 baseline.
  • B — 8821CE in the RK3588 M.2 E-key slot: does it enumerate; does vfio (noiommu) bind; how far does pcieprobe get. Expected to stop at DMA mapping — document exactly where, and scope the noiommu DMA-ring work if it's the only blocker.
  • C — PinBeaconTbtt-over-USB discipline (any host, any generation with beacon support): close the AP↔PTP loop with the radio on USB instead of PCIe; report the hold distribution. This is the highest-value number: if it lands ~10 µs, USB-tier ARM cells are legitimate for everything except tight same-channel slot coordination.
  • D — paper pass on candidates (only if A–C are promising): RPi5/CM5 (PCIe FPC → E-key, PoE+ HAT, IOMMU status unknown), i.MX8M Plus (TSN-grade PTP, industrial), and the explicit rejects — Realtek-NIC boards (r8169 PTP patchy), MediaTek hosts (16 KB bulk-IN cap, see README/CLAUDE.md).

Exit criteria

Either: a named ARM board + attach mode (PCIe or USB) with measured PTP offset and beacon-discipline numbers fit for a stated tier of the epic (tight vs coarse), plus a costed BOM per node — or: a documented "x86 stays the cell-node platform because gate N fails and closing it costs more than the fleet savings."

Non-goal: porting PcieTransport to noiommu DMA inside this spike — scope it, don't build it.

Ngôn ngữ chính
C
Star
56
Fork
29
Merge trung bình
3 giờ 43 phút
Pull request đã merge (30 ngày)
75

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenIPC/devourer

Tất cả issue của OpenIPC/devourer

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.