본문으로 건너뛰기
Modern Embedded Recipes · 144/153

Edge Thermal Management — Throttling·DVFS·Fan Curve·Sustained

· Hawk · 8분 읽기

#한 줄 요약

“Edge AI 보드에서 믿을 숫자는 짧은 burst가 아니라 온도가 안정된 뒤의 sustained 성능입니다.” Linux thermal framework의 trip point와 Jetson의 power mode·fan 설정이 그 숫자를 정하므로, 장치에서 직접 읽고 long-run으로 잽니다.

#이 글의 근거

이 글을 쓴 환경에는 Jetson 보드가 없어 Jetson 명령은 실행하지 않았습니다. 대신 다음 1차 자료와 대조했습니다.

  • NVIDIA Jetson Linux Developer Guide r36.4의 “Platform Power and Performance”(Orin Nano·NX·AGX Orin)와 “Tegrastats Utility” 페이지
  • Linux 7.4-rc3 소스의 Documentation/driver-api/thermal/sysfs-api.rst, bindings/thermal/thermal-zones.yaml, bindings/hwmon/pwm-fan.yaml, drivers/thermal/gov_step_wise.c

아래 C 코드는 Debian 13 arm64 guest(gcc 14.2.0)에서 빌드해 실행했습니다. 이 guest는 QEMU virt machine이라 thermal zone이 하나도 없으므로, Jetson 문서의 trip 값으로 만든 가짜 sysfs tree에도 돌렸습니다.

#어떤 상황에서 쓰나

카메라 분석 박스나 로봇처럼 추론을 몇 시간씩 연속으로 돌리는 장치입니다. 짧게 재면 온도가 trip에 닿기 전의 숫자만 잡히므로, 실제 운영 조건에서 온도가 안정될 때까지 재야 합니다.

NVIDIA 문서도 같은 점을 짚습니다. Orin의 MAXN mode는 “an unconstrained power mode”이지만, “this mode does not guarantee the best performance for all use cases because hardware throttling is engaged when the total module power exceeds the TDP budget. Therefore, it is not the maximum performance mode.”라고 적습니다.

#핵심 개념

#Thermal zone과 trip point

Linux thermal framework의 단위는 thermal zone입니다. zone 하나는 온도 sensor, cooling device, trip point, governor로 이루어집니다. 온도와 trip 온도는 millidegree Celsius로 읽힙니다.

trip point 종류는 Jetson 문서 기준으로 셋입니다.

trip type동작
passiveclock throttling처럼 성능을 낮춰 발열을 줄이는 cooling device를 켬
activefan처럼 열을 내보내는 cooling device를 켬
criticalthermal shutdown

critical을 넘으면 커널은 먼저 정상 power-off(또는 reboot)를 시도하고, 정해진 delay 뒤에는 강제 power-off로 넘어갑니다(sysfs-api.rst 5장).

Jetson Orin 문서에 실린 gpu-thermal zone의 device tree입니다.

gpu-sw-shutdown { temperature = <0x19834>; type = "critical"; hysteresis = <0x0>; }
gpu-sw-slowdown { temperature = <0x182b8>; type = "passive"; hysteresis = <0x0>; }
gpu-hot-surface { temperature = <0x11170>; type = "active"; hysteresis = <0x1f40>; }
...
thermal-zone-params { governor-name = "step_wise"; };

16진수를 풀면 critical 104,500(104.5 °C), passive 99,000(99.0 °C), active 70,000(70.0 °C)이고, active trip의 hysteresis는 8,000(8 °C)입니다. 같은 문서의 본문은 passive trip을 99.5 °C라고 적는데, 예시 DT 값은 99,000입니다. 실제 값은 장치에서 trip_point_*_temp로 읽습니다.

#Throttling을 누가 하나

Jetson Orin 문서는 thermal 동작을 이렇게 나눕니다.

동작담당
온도 측정BPMP firmware(on-chip sensor), Linux lm90.c(on-board sensor)
software clock throttlingLinux cpufreq_cooling.c, devfreq_cooling.c
fanLinux pwm-fan.c
hardware clock throttling(slowdown)BPMP firmware
software shutdownLinux thermal_core.c
hardware shutdownBPMP firmware, lm90.c

governor step_wise의 동작은 gov_step_wise.c에 있습니다(같은 Jetson 문서는 passive throttling에 BSP의 PID controller를 쓴다고도 적지만, 위 DT 예의 governor는 step_wise입니다). 온도가 trip보다 높고 상승 중이면 cooling state를 한 단계 올리고, 내려가는 중이면 한 단계 낮추되 trip 위에 있는 동안은 최소 state보다 한 단계 위에 둡니다. trip 아래로 내려가 계속 떨어지면 그 trip의 cooling 요청을 거둡니다.

#코드 / 실제 사용 예

#thermal zone 읽기

Terminal window
ls /sys/class/thermal/
cat /sys/class/thermal/thermal_zone0/type
cat /sys/class/thermal/thermal_zone0/temp # millidegree Celsius
cat /sys/class/thermal/thermal_zone0/policy # governor
cat /sys/class/thermal/thermal_zone0/trip_point_0_type # critical / passive / active / hot
cat /sys/class/thermal/thermal_zone0/trip_point_0_temp

type, temp, policy, available_policies, trip_point_[0-*]_temp, trip_point_[0-*]_type, trip_point_[0-*]_hyst, emul_temp는 sysfs-api.rst가 thermal zone 아래에 정의하는 attribute입니다.

#Application에서 margin 읽기

모든 zone의 온도와 각 trip까지 남은 margin을 출력하는 프로그램입니다. 인자로 sysfs root를 바꿀 수 있습니다.

/* Read every thermal zone's type, temp and trip points under a sysfs root.
* usage: thermal_mon [root] (default /sys/class/thermal) */
#include <dirent.h>
#include <stdio.h>
#include <string.h>
static int read_line(const char *path, char *buf, size_t n) {
FILE *f = fopen(path, "r");
if (!f) return -1;
if (!fgets(buf, (int)n, f)) { fclose(f); return -1; }
fclose(f);
buf[strcspn(buf, "\n")] = '\0';
return 0;
}
static int read_millic(const char *path, long *out) { /* millidegree Celsius */
char b[32];
if (read_line(path, b, sizeof b) != 0) return -1;
return sscanf(b, "%ld", out) == 1 ? 0 : -1;
}
int main(int argc, char **argv) {
const char *root = argc > 1 ? argv[1] : "/sys/class/thermal";
DIR *d = opendir(root);
if (!d) { perror(root); return 1; }
struct dirent *e;
int zones = 0;
while ((e = readdir(d))) {
if (strncmp(e->d_name, "thermal_zone", 12) != 0) continue;
char p[512], type[64] = "?", ttype[32];
long t, trip;
snprintf(p, sizeof p, "%s/%s/type", root, e->d_name); read_line(p, type, sizeof type);
snprintf(p, sizeof p, "%s/%s/temp", root, e->d_name);
if (read_millic(p, &t) != 0) { printf("%s %s: temp unreadable\n", e->d_name, type); continue; }
printf("%s %-12s %6.1f C", e->d_name, type, t / 1000.0);
for (int i = 0; ; i++) {
snprintf(p, sizeof p, "%s/%s/trip_point_%d_temp", root, e->d_name, i);
if (read_millic(p, &trip) != 0) break;
snprintf(p, sizeof p, "%s/%s/trip_point_%d_type", root, e->d_name, i);
if (read_line(p, ttype, sizeof ttype) != 0) strcpy(ttype, "?");
printf(" [%s %.1f C, margin %.1f]", ttype, trip / 1000.0, (trip - t) / 1000.0);
}
printf("\n");
zones++;
}
closedir(d);
printf("%d thermal zone(s) under %s\n", zones, root);
return 0;
}
Terminal window
gcc -std=c11 -Wall -Wextra -O2 thermal_mon.c -o thermal_mon
./thermal_mon # real sysfs
./thermal_mon /root/p1208/fakesys # fake tree: gpu-thermal, temp 67500, trips from the Orin DT above
0 thermal zone(s) under /sys/class/thermal
thermal_zone1 gpu-thermal 67.5 C [critical 104.5 C, margin 37.0] [passive 99.0 C, margin 31.5] [active 70.0 C, margin 2.5]
1 thermal zone(s) under /root/p1208/fakesys

첫 줄은 QEMU virt guest의 결과입니다. 가상 machine에는 sensor가 없어 zone이 0개입니다. 개발 PC나 VM에서 thermal 코드를 시험하면 이렇게 아무것도 읽히지 않으므로, 실제 보드에서 다시 확인합니다. 가짜 tree는 Jetson 문서의 trip 값에 온도 67.5 °C를 넣은 것입니다. application은 이 margin이 줄어드는 추세를 보고 추론 rate를 낮추는 식으로 씁니다.

#tegrastats

Tegrastats Utility 문서의 사용법입니다.

Terminal window
tegrastats --interval 1000 --logfile thermal.log &
tegrastats --stop

--interval은 ms 단위이고 기본값은 1000 ms입니다. 문서가 보여 주는 출력 항목의 예는 RAM 220/38955MB (lfb 847x4MB), 온도 MCPU@45C, 전력 VDDRQ 312/234입니다. 온도는 /sys/devices/virtual/thermal/thermal_zone<x>/temp에서 읽은 값입니다.

#nvpmodel — power mode

Terminal window
sudo /usr/sbin/nvpmodel -q # current mode
sudo /usr/sbin/nvpmodel -m <x> # switch mode; <x> is the mode ID

문서에 따르면 설정한 mode는 바꿀 때까지 유지되고 전원을 껐다 켜도 남습니다. GPU tpc_pg_mask가 달라지는 mode로 바꾸면 reboot가 필요하다는 경고가 나옵니다. custom mode는 /etc/nvpmodel.conf에 < POWER_MODEL ID=2 NAME=MODE_15W > 형식으로 추가하고, 그 안에서 CPU core on/off와 CPU(kHz)·GPU·EMC(Hz) 최대 주파수를 정합니다. 문서는 “The frequencies you select are subject to the MaxN limit defined in mode 0”이라고 적습니다.

#jetson_clocks

Terminal window
sudo /usr/bin/jetson_clocks --show
sudo /usr/bin/jetson_clocks --store # default file: ${HOME}/.jetsonclocks_conf.txt
sudo /usr/bin/jetson_clocks # CPU, GPU, EMC to static max of the current nvpmodel mode
sudo /usr/bin/jetson_clocks --restore

문서는 이 script가 CPU·GPU·EMC clock을 고정 최대 주파수로 맞춘다(“setting the static maximum frequencies of the CPU, GPU and EMC clocks”)고 적고, 그 최대값은 nvpmodel power mode가 정한다고 적습니다. 또 jetson_clocks를 돌린 뒤에는 nvpmodel mode를 바꿀 수 없고, 바꾸려면 reboot해야 합니다. 측정 전에 mode를 먼저 정해 둡니다.

#Fan

Orin에서 fan 속도는 userspace daemon nvfancontrol이 /etc/nvfancontrol.conf의 온도-PWM 표에 따라 정합니다. profile은 quiet와 cool 두 가지이고, 바꾸려면 service를 멈추고 FAN_DEFAULT_PROFILE을 고친 뒤 status 파일을 지우고 다시 시작합니다.

Terminal window
sudo nvfancontrol -q
sudo systemctl stop nvfancontrol
# set FAN_DEFAULT_PROFILE quiet|cool in /etc/nvfancontrol.conf
sudo rm /var/lib/nvfancontrol/status
sudo systemctl start nvfancontrol

fan을 daemon이 관리하므로, hwmon의 PWM 값을 직접 쓰기 전에 nvfancontrol service 상태부터 확인합니다. 이 글에서는 daemon이 도는 중에 직접 쓴 값이 어떻게 되는지 확인하지 않았습니다. 커널 쪽 fan은 pwm-fan binding으로 정의합니다. cooling-levels는 “PWM duty cycle values corresponding to thermal cooling states”이고 각 값은 최대 255입니다. binding의 예입니다.

pwm-fan {
compatible = "pwm-fan";
cooling-levels = <0 102 170 230>;
pwms = <&pwm 0 10000 0>;
#cooling-cells = <2>;
};

#측정 / 성능 비교

이 글에서는 보드가 없어 측정값을 싣지 않습니다. power mode나 냉각을 비교할 때는 같은 모델·입력·주변 온도에서 하나만 바꾸고, 다음을 함께 기록합니다.

항목출처보는 것
처음 몇 분의 처리량벤치마크 logburst 기준값
온도가 안정된 뒤의 처리량벤치마크 logsustained 성능
zone별 온도와 trip까지 margintegrastats, 위 thermal_mon여유
CPU·GPU 주파수tegrastatsthrottling 시점
rail 전력tegrastats의 VDD* 항목mode별 전력

burst와 sustained가 거의 같으면 냉각이 그 mode의 발열을 감당한다는 뜻입니다. 차이가 크면 mode를 낮추거나 냉각을 키운 뒤 같은 표로 다시 비교합니다.

#자주 보는 함정

⚠️ 짧은 벤치마크만 돌림

온도가 trip에 닿기 전에 끝난 측정은 burst 숫자입니다. 온도 곡선이 평평해질 때까지 돌립니다.

⚠️ MAXN이 가장 빠르다고 가정

NVIDIA 문서대로 MAXN에서도 모듈 전력이 TDP budget을 넘으면 hardware throttling이 걸립니다. mode마다 sustained 처리량을 재서 고릅니다.

⚠️ jetson_clocks 뒤 mode 변경

jetson_clocks를 돌린 뒤에는 reboot 없이 nvpmodel mode를 바꿀 수 없습니다. 자동화 script에서 순서를 지킵니다.

⚠️ VM·개발 PC에서 thermal 코드를 시험

위 실행처럼 VM에는 thermal zone이 없을 수 있습니다. 읽기 실패와 zone 0개를 오류로 처리하고, 실제 보드에서 다시 확인합니다.

⚠️ fan PWM을 직접 쓰고 daemon을 잊음

Orin의 fan 속도는 nvfancontrol이 온도 표에 따라 정합니다. 바꿀 때는 문서의 절차대로 profile을 바꾸거나 service를 멈춘 뒤 다룹니다.

#정리

  • 연속 동작하는 edge 장치의 성능은 온도가 안정된 뒤의 sustained 값으로 봅니다.
  • thermal zone의 passive trip은 clock throttling, active는 fan, critical은 shutdown을 부릅니다. 값은 trip_point_*_temp에서 millidegree Celsius로 읽습니다.
  • Jetson Orin 문서의 gpu-thermal 예는 active 70 °C, passive 99 °C, critical 104.5 °C입니다.
  • nvpmodel이 mode의 최대 주파수를 정하고, jetson_clocks는 그 최대값으로 clock을 고정합니다. MAXN도 TDP를 넘으면 throttling됩니다.
  • Orin의 fan은 nvfancontrol이 관리하므로 profile과 service로 다룹니다.

다음 편은 Jetson 가족과 최적화 stack입니다.

#관련 항목

Modern Embedded Recipes · 145 of 153 전체 목차
  1. 1 Modern Embedded Recipes — 모던 임베디드 실전 레시피 시리즈 소개
  2. 2 디지털 신호 기초 — Voltage Level·Edge·Noise Margin·반사 분석
  3. 3 임베디드 클럭과 타이밍 — Skew·Jitter·PLL 분석
  4. 4 GPIO 내부 구조 분해 — Push-Pull·Open-Drain·Schmitt Trigger
  5. 5 UART 하드웨어 동작 분석 — Baud Rate·Framing·FIFO
  6. 6 SPI 하드웨어 분석 — Clock Mode·MOSI/MISO·Chip Select
  7. 7 I2C 하드웨어 분석 — Open-Drain·Clock Stretching·Arbitration
  8. 8 ADC 동작 원리 — SAR·Sigma-Delta 비교
  9. 9 DAC 동작 원리 — R-2R Ladder·Sigma-Delta·Settling Time
  10. 10 PWM 신호 생성 분석 — Duty·Frequency·Dead Time·Center-Aligned
  11. 11 CAN 버스 전기적 특성 — 종단·전압 레벨·GND 전위차와 1 Mbit/s 버스 길이 예산
  12. 12 RS-485·RS-422 차동 신호 분석 — Termination·Biasing·Topology
  13. 13 LVDS 차동 신호 분석 — Common-Mode·Impedance·Eye Pattern
  14. 14 ARM Cortex-M 시리즈 비교 — M0·M3·M4·M7·M33·M55 분석
  15. 15 ARM Cortex-A 시리즈 비교 — A53·A55·A72·A78·X1 분석
  16. 16 Cortex-M 레지스터 구조 분석 — R0~R15·xPSR·CONTROL·Mask Registers
  17. 17 Cortex-M4 예외 처리 — Vector Table·NVIC 우선순위·Tail-Chaining
  18. 18 ARM 메모리 맵 분석 — Normal·Device·Strongly-Ordered Region
  19. 19 Cortex-M7 캐시와 DMA — Cache Line·Write-Back·Clean/Invalidate 순서
  20. 20 Cortex-M4 MPU 활용 — Region 배치·Stack Guard·Task 격리
  21. 21 AArch64 Linux MMU 기초 — Translation Table·TLB·ASID
  22. 22 ARM TrustZone-M 기초 — Secure/Non-Secure·NSC·MPC
  23. 23 ARM Memory Barrier 실전 — DMB·DSB·ISB·DMA·MMIO
  24. 24 임베디드 크로스 컴파일러 분석 — GCC·Clang·Sysroot 구성
  25. 25 C 컴파일 4단계 — Preprocess·Compile·Assemble·Link 추적
  26. 26 ELF 파일 구조 분석 — Section·Segment·Symbol Table·DWARF
  27. 27 링커 스크립트 기초 — SECTIONS·MEMORY·entry point
  28. 28 링커 스크립트 고급 — Overlay·BSS·init_array·LMA/VMA
  29. 29 임베디드 스타트업 코드 분석 — Reset_Handler·Vector Table·SystemInit
  30. 30 C 런타임 crt0 분석 — Stack·BSS Zero·Data Copy·atexit
  31. 31 임베디드 메모리 레이아웃 — .text·.rodata·.data·.bss·.heap·.stack
  32. 32 임베디드 컴파일러 최적화 분석 — -O0~-O3·-Os·-LTO 비교
  33. 33 Map 파일 분석 — 링커가 넣은 것, 끌어온 이유, 버린 것 읽기
  34. 34 Make·CMake 크로스 컴파일 — Toolchain File·Sysroot·Preset
  35. 35 임베디드 Bootloader 체인 — BootROM·SPL·U-Boot·Kernel·Secure Boot
  36. 36 첫 bare-metal 프로그램 작성 — Linker·Startup·main의 최소 구성
  37. 37 MMIO 레지스터 직접 접근 — volatile·Memory Map·Aliasing 분석
  38. 38 GPIO 드라이버 직접 구현 — STM32F407을 HAL 없이 레지스터로
  39. 39 임베디드 클럭 설정 분석 — HSE·PLL·SYSCLK·AHB/APB 분주
  40. 40 Cortex-M 인터럽트 핸들링 — NVIC·Priority·Vector·EXTI
  41. 41 SysTick 타이머 활용 — 24-bit Counter·1ms Tick·delay 구현
  42. 42 UART 드라이버 구현 — polling·interrupt·DMA 3가지 방식 비교
  43. 43 SPI 드라이버 구현 — Master·Slave·CRC·DMA
  44. 44 I2C 드라이버 구현 — STM32F405/407 Master·Repeated START·Clock Stretching·Bus Recovery
  45. 45 임베디드 DMA 기초 — Memory-to-Memory·Peripheral·Circular Mode
  46. 46 저전력 모드 분석 — Sleep·Stop·Standby·Wake-up Source
  47. 47 STM32F405/407 IWDG·WWDG 워치독 구현 — Independent vs Window 비교
  48. 48 임베디드 Flash 프로그래밍 — Erase·Program·Read While Write
  49. 49 DDR 초기화 실패 진단 — Timing·Calibration·Walking Bit Test
  50. 50 PWM 출력 실전 — LED 밝기·모터 속도 제어
  51. 51 DC 모터 제어 — H-Bridge·PWM Duty·Encoder Feedback
  52. 52 스테퍼 모터 제어 — Full Step·Half Step·Microstepping
  53. 53 서보 모터 제어 — 50 Hz PWM·다채널·Calibration
  54. 54 Character LCD 제어 — HD44780·4-bit Mode·Custom Char
  55. 55 SPI OLED 제어 — SSD1306·Frame Buffer·Page 단위 갱신
  56. 56 TFT 디스플레이 구동 — ILI9341 SPI와 STM32F746 LTDC
  57. 57 환경 센서 활용 — BME280 온습압·SHT3x 비교
  58. 58 IMU 센서 활용 — MPU-6050·Data Ready·Complementary Filter
  59. 59 CAN 통신 구현 — bxCAN Bit Timing·Filter·Mailbox·Error 상태
  60. 60 USB Device 기초 — TinyUSB CDC·Descriptor·STM32F407 OTG_FS
  61. 61 Ethernet MAC+PHY 통합 — RMII·MDIO·lwIP Raw API
  62. 62 SD 카드 SPI 모드 + FatFs — 초기화·diskio 포팅·다중 블록 쓰기와 f_sync
  63. 63 STM32F4 RTC 활용 — Calendar·Alarm·Sub-second·Tamper·Backup Register
  64. 64 RTOS 도입 결정 분석 — Super Loop vs RTOS 트레이드오프
  65. 65 RTOS Task 설계 패턴 — 우선순위·스택·State Machine
  66. 66 RTOS Scheduler 동작 분석 — Tick·Context Switch·Yield
  67. 67 RTOS Semaphore 활용 — Binary·Counting·ISR Give
  68. 68 RTOS Mutex 활용 — Recursive·Priority Inheritance 적용
  69. 69 RTOS Queue 활용 — By-Value·By-Reference·Timeout 패턴
  70. 70 RTOS Event Group 활용 — Bit Wait·Sync·Notify
  71. 71 RTOS Software Timer 활용 — One-shot·Auto-reload·Daemon Task
  72. 72 ISR-Safe API 설계 — Reentrant·Atomic·Defer 패턴
  73. 73 Priority Inversion 진단·예방 — Mars Pathfinder Lesson 추적
  74. 74 Timer Wheel 분석 — Hashed·Hierarchical·O(1) Tick
  75. 75 RTOS 디버깅 기법 — Stack·Heap·Run-time Stats·SystemView
  76. 76 i.MX8M Mini EVK Linux 부팅 흐름 — BootROM에서 PID 1까지 단계별 인계
  77. 77 U-Boot 활용 — bootcmd·env·tftp·boot.scr 분석
  78. 78 Device Tree 실전 — DTS·DTB·Overlay·Phandle 추적
  79. 79 Device Tree Overlay 적용 — Runtime fragment·dtoverlay
  80. 80 임베디드 커널 빌드 — defconfig·menuconfig·Image·deb 패키지
  81. 81 커널 모듈 기초 — init/exit·Parameter·KBuild·modprobe
  82. 82 캐릭터 드라이버 작성 — file_operations·cdev·register_chrdev
  83. 83 Platform 드라이버 작성 — of_match·devm 해제 순서·probe 실패 판정 (Linux v6.12)
  84. 84 mmap 4가지 모드 — Anonymous·File·Shared·Huge Page
  85. 85 epoll 실전 — LT·ET·ONESHOT·EXCLUSIVE 비교
  86. 86 UIO·VFIO 분석 — User-Space Driver와 IOMMU 격리
  87. 87 sysfs·configfs 활용 — kobject 기반 User 인터페이스
  88. 88 IRQ Affinity 설정이 거부되거나 되돌아가는 이유 — smp_affinity·effective_affinity·isolcpus·irqbalance
  89. 89 루트 파일시스템 구축 — Buildroot 기초·Package·Toolchain
  90. 90 임베디드 동적 메모리 — malloc 위험·결정성·대안 분석
  91. 91 메모리 정렬과 패딩 분석 — Natural·Strict Alignment·Trap
  92. 92 Cache Line Alignment — alignas·Padding·SoA 적용
  93. 93 DMA-Friendly Allocator — dma_alloc_coherent·IOMMU·Pool
  94. 94 Zero-Copy Pipeline — DMA-BUF·sendfile·io_uring·splice
  95. 95 NUMA Memory Topology — numactl·numa_alloc·HBM 적용
  96. 96 SIMD 활용 분석 — Intrinsics·Auto-Vectorization·OpenMP SIMD
  97. 97 ARM NEON 심화 — Matrix Multiply·FFT·Image Filter 적용
  98. 98 임베디드 스택 분석 — high-water·overflow 탐지
  99. 99 임베디드 코드 크기 최적화 — -Os·LTO·Section Garbage Collection
  100. 100 임베디드 전력 최적화 — Sleep Mode·Clock Gating·DVFS
  101. 101 WCET 분석 기법 — Static·Measurement·Hybrid 방법론
  102. 102 Lock-Free Ring Buffer 구현 — SPSC·Power-of-2·Memory Order
  103. 103 Wait-Free Signaling — Atomic Flag·Sequence·Latest-Value
  104. 104 RCU (Read-Copy-Update) 기초 — Quiescent State·Grace Period
  105. 105 Hazard Pointer 분석 — Lock-Free Memory Reclamation
  106. 106 Compare-And-Swap 패턴 — Stack·Counter·Linked List 적용
  107. 107 Atomic Operation 비용 분석 — Fence·Cache Line·Contention
  108. 108 Spinlock vs Mutex 결정 가이드 — Context Switch·Hold Time
  109. 109 ABA 문제 회피 — Tagged Pointer·Hazard·Generation Counter
  110. 110 False Sharing 해결 — Cache Line Padding·Per-CPU·thread_local
  111. 111 MPMC Queue 구현 — Multi-producer Multi-consumer Lock-Free
  112. 112 임베디드 디버깅 마인드셋 — 가설·격리·재현·이분탐색
  113. 113 JTAG·SWD 안 붙을 때 — 핀·전압·속도·세션 진단
  114. 114 GDB 원격 디버깅 — OpenOCD·J-Link·target remote 구성
  115. 115 Cortex-M 하드폴트 분석 — Stacked Frame·CFSR 읽기
  116. 116 UART 안 찍힐 때 — Bare-metal 체크리스트
  117. 117 임베디드 부팅 실패 진단 — 단계별 Isolation
  118. 118 인터럽트 누락·중복 진단 — Priority·Pending·Re-entry 추적
  119. 119 메모리 오버플로우·오염 진단 — Canary·MPU·Pattern 분석
  120. 120 타이밍·Race 진단 — Heisenbug 잡는 법
  121. 121 통신 프로토콜 분석 — Logic Analyzer와 Protocol Decoder
  122. 122 임베디드 로깅 시스템 설계 — 레벨·버퍼·SWO·Deferred
  123. 123 임베디드 포스트모템 분석 — Core Dump와 Field Crash
  124. 124 FPGA 기초 분석 — LUT·FF·BRAM·DSP 자원 구조
  125. 125 Vivado 사용법 — Project·Constraint·Synth·Impl·Bitstream
  126. 126 PCIe BAR 매핑 분석 — Config Space·Enumeration·MMIO 접근
  127. 127 AXI 인터페이스 — AXI4·AXI4-Lite·AXI-Stream 비교
  128. 128 Zynq PS-PL 통신 — GP·HP·ACP 인터페이스 선택
  129. 129 Mailbox Protocol 분석 — Host와 Accelerator를 잇는 Doorbell
  130. 130 Command Queue·Submission Queue — NVMe·XDMA 공통 패턴
  131. 131 DMA Completion 메커니즘 — Interrupt·Polling·Completion Ring
  132. 132 PCIe Streaming 분석 — BAR Type·MSI-X·Kernel Bypass
  133. 133 Vitis HLS 분석 — Pragma·Pipeline II·Dataflow 실전 감각
  134. 134 HLS 최적화 기법 — Pipeline·Unroll·Partition·Dataflow
  135. 135 Vitis AI 분석 — DPU·xmodel·VART
  136. 136 OpenCL on FPGA — Kernel·Channel·Burst Memory 분석
  137. 137 Intel Quartus로 넘어가기 전 — 어느 toolchain에서나 쓰는 HDL과 testbench
  138. 138 Edge Inference 분석 — Cloud vs Edge·Latency·Privacy
  139. 139 Edge 추론 Pipeline 측정 — Stage Latency·Mailbox 정책·Buffer 수
  140. 140 NPU 아키텍처 분석 — Ethos·Hexagon·Systolic Array 비교
  141. 141 딥러닝 Quantization 분석 — PTQ·QAT·INT8·INT4·Calibration
  142. 142 TensorRT 분석 — ONNX→Engine·FP16·INT8·DLA·Multi-Stream
  143. 143 TFLite Micro 분석 — Op Resolver·Tensor Arena·Cortex-M
  144. 144 ONNX Runtime 분석 — Execution Provider와 Cross-Platform 배포
  145. 145 Edge Thermal Management — Throttling·DVFS·Fan Curve·Sustained
  146. 146 NVIDIA Jetson 분석 — Nano·Xavier·Orin·Thor·JetPack·DLA·VPI
  147. 147 Zero-Copy Camera Pipeline — V4L2·DMA-BUF·GPU Import·NPU 직결
  148. 148 온디바이스 LLM 추론 — llama.cpp·GGUF·MLX·KV Cache·NPU Backend
  149. 149 Cortex-M33 TF-M·TrustZone — Secure Firmware·PSA·MCUboot
  150. 150 Matter·Thread 분석 — IoT 통합 표준·Commissioning·Multi-Fabric
  151. 151 PCIe → CXL 진화 — 같은 PHY 위 cache-coherent 프로토콜 추가
  152. 152 QEMU CXL Type 3 디바이스 에뮬레이션 — 노트북에서 CXL 개발 환경 구축
  153. 153 Linux CXL 드라이버 분석 — cxl_pci·cxl_core·region·DAX