Skip to content

标签:RK3588

Memory Tuning in Practice: zram, Swap and OOM Protection

Embedded RAM is soldered and unupgradable. zram compressed swap relieves pressure without changing hardware. Compressed memory beats bigger memory zram sizing: allocate 25-50% of physical RAM, with zstd for compression ratio or lz4 for speed; swappiness: set 100 so the kernel happily uses zram, but disable or minimize real disk swap; OOM protection: give critical […]

阅读全文 →

Mosquitto MQTT Essentials: Users, TLS and ACLs

MQTT is the nervous system of a smart home, yet most guides stop at “install and go”. An unauthenticated broker becomes a liability the moment an untrusted device joins. The bus needs permissions too Enable password files and listeners: two accounts — sensors publish-only, controllers subscribe; Isolate by topic prefix: zigbee2mqtt/# writable only by Z2M, […]

阅读全文 →

Migrating from Emby/Plex to Jellyfin: Libraries, Watch History and Play States

Switching from Emby or Plex to Jellyfin is rarely blocked by features — it’s years of watch history and favorites. Migration happens at three levels of increasing difficulty. Three levels of migration Media files are easy: keep the same folder structure and let Jellyfin re-scan; Metadata migrates well via Jellyfin’s NFO import, which reads Emby’s […]

阅读全文 →

AGV Controller Design: Splitting Navigation, Avoidance and Scheduling

Not every job belongs on the main SoC. Hard-realtime control on an MCU with perception and scheduling on the host is the sturdier design. Task split matters more than TOPS Layered architecture: motor loops and safety stop on an MCU; SLAM and visual avoidance on the RK3588 host; Compute allocation: lidar SLAM is CPU-bound, visual […]

阅读全文 →

Case Study: Central Management for Signage Across 40 Stores

Originally each store had its own player updated by walking around with a USB stick, making a promo change a week-long job. From 40 standalone players to one system Architecture: a central CMS composes content while store players pull on schedule and precache, so switching never blacks out; Operations: heartbeats and playback logs report back, […]

阅读全文 →

Nginx Proxy Manager: One HTTPS Front Door for Every Self-Hosted Service

Port chaos follows service sprawl. A reverse proxy with a single 443 entry and host-based routing is the cleanest structure. One entry for all services Deploy: the jc21/nginx-proxy-manager three-container stack, publishing 80/443; Certificates: built-in Let’s Encrypt renewal; wildcard certs need DNS validation (one API token covers a year); Security: expose only 443 and bind the […]

阅读全文 →

RKNN Quantization in Practice: Choosing a Calibration Set and Controlling Accuracy Loss

Quantization compresses FP32 weights to INT8 with big speed and memory wins, but a calibration set mismatched to your scene collapses accuracy. The calibration set is the soul of quantization Calibrate from real cameras: 200-500 frames covering day/night, weather and angles beat generic datasets; Per-layer sensitivity: keep accuracy-critical head/tail layers in FP16 mixed quantization; Always […]

阅读全文 →

IRQ Affinity Tuning: Spread Network and Storage Interrupts

Linux lands most interrupts on CPU0 by default, leaving one core saturated while others idle and total throughput capped. Interrupts defaulting to CPU0 is the trap Inspect: cat /proc/interrupts shows which core each IRQ lands on — watch NIC and storage controllers; Pin them: set /proc/irq//smp_affinity to spread NIC interrupts across the A76 cores; Pair […]

阅读全文 →

Zigbee2MQTT on RK3588: A Sensor Network with No Vendor Cloud

Zigbee2MQTT keeps dozens of sensors on local MQTT with no vendor cloud. On RK3588, the coordinator and channel plan decide reliability. Coordinator and channel Prefer ConBee II/III or SONOFF ZBDongle-E: solid Linux support and thorough community docs; Plan channels around Wi-Fi: Zigbee channels 15/20/25 avoid 2.4 GHz Wi-Fi’s 1/6/11 and cut dropouts sharply; Open permit_join […]

阅读全文 →

Upgrading from RK3568 to RK3588: Worth It, and How

Changing the main SoC means redoing packages, power, DDR topology and thermals — that’s a respin, not a component swap. Budget it as a new project. An upgrade touches the whole board Is it worth it: if the bottleneck is NPU or multi-core CPU, yes; if it’s storage or networking, a new SoC changes nothing; […]

阅读全文 →