NVIDIA:用 GPU 原生数据采集,让科学仪器能跑实时 AI(11 月 19 日)
In science and industry, analyzing sensor measurements in real time can enable AI to adjust processes, guide experiments, and search for better operating conditions. Yet limits on how quickly the measured data can be moved and processed often shape how an instrument is designed, from readout electronics to acquisition timing. What could scientific instrument makers simplify—or make possible—if processing could keep pace with their sensors?
NVIDIA DAQIRI is a software-defined data acquisition library that moves high-bandwidth instrument and sensor data into GPU-ready workflows. It enables developers to process measurements during acquisition without first writing them to disk. An NVIDIA Holoscan platform library, DAQIRI bridges sensors optimized for measurement with programmable GPU platforms for scientific analysis, AI inference, and feedback applications.
For existing Ethernet-capable instruments, this opens opportunities to add processing and feedback capabilities, as described in the previous post, Enable Real-Time AI for High-Speed Data Acquisition with NVIDIA DAQIRI. For new instruments, it allows opportunities for reconsidering acquisition constraints from the start.
This post explores how a new electron microscopy camera and GPU processing enable analysis during acquisition. It then introduces new DAQIRI features, including hardware packet reordering, performance and throughput improvements in the library, and a low-latency NIC polling mode for time-sensitive packet processing.
A high-dynamic-range electron microscopy camera developed at Lawrence Berkeley National Laboratory’s Molecular Foundry illustrates what becomes possible when advanced detectors and GPU processing are designed to work together.
Electron energy-loss spectroscopy (EELS) measures the energy electrons lose as they interact with a sample, helping scientists identify which elements are present and how they are bonded together. These measurements contain both strong and faint signals. To capture those differences in intensity, the conventional approach uses two separately optimized acquisition processes in rapid succession.
This requires precise coordination of the electron optics, exposure timing, and detector readout. The resulting measurements then need to be aligned and combined, adding complexity to both acquisition and processing. The new high-dynamic-range camera developed at the Molecular Foundry captures strong and faint signals together.
This advancement simplifies the experimental setup and microscope optics, but generates more than 500 gigabits of data per second (Gbps)—a stream that must be received and processed to make those measurements useful during acquisition. This is over 500x faster than conventional EELS data streams, which greatly enhances the raw detector information available for further processing and analysis.
Handling that stream requires an acquisition and processing pipeline designed to keep pace with the camera. This is where the collaboration between Berkeley Lab and NVIDIA brings together the camera, DAQIRI, and GPU-accelerated processing. FPGA readout electronics transmit detector data over Ethernet, DAQIRI receives the packets directly into GPU memory, and GPU processing assembles and corrects detector frames before reducing them to energy-loss spectra.
Computation also improves the spatial information recovered from the detector, enabling submicron spatial resolution from sensor pixels measuring 5 micrometers across. Through this pipeline, the team enables inspection of the data during the measurement and adjusting the acquisition parameters and regions of interest in real time, all while processing high bandwidth data incoming at more than 500 Gbps.
The benefits of this approach extend beyond electron microscopy. Connecting sensors to GPU processing can extract more information from measurements and give instrument makers greater flexibility in how they acquire, analyze, and act on data. Realizing those benefits requires efficient data movement, ordered payloads ready for processing, and low-latency communication for feedback.
The latest DAQIRI release adds hardware packet reordering, an optimized library backend for improved throughput, and direct polling for low-latency packet transmission and reception.
Most networks rely on protocol processing or receive-side buffering to handle out-of-order packets, which can add latency and memory overhead. DAQIRI can now offload packet reordering tasks to supported NVIDIA ConnectX-7 or newer NICs, preserving CPU and GPU resources for analysis. For compatible sequence formats, the NIC parses sequence fields and places each payload directly into its ordered position in memory. The application receives the assembled, ordered data without requiring a separate software reorder copy step.
Hardware-based reordering is defined here for a specific receive queue. The configuration dictates how to parse the sequence number from the packet header, which reordering method to use, and how missing packets should be handled.
- name: "rx_reorder_seq_1024"
reorder_engine: "hw" # NIC places payloads in order
cyclic_sequence: true # Confirm compatible cyclic numbering
missing_action: “drop” # Drop partial batches on RX timeout
reorder_type: "gpu" # Deliver packets to GPU memory
memory_region: "Reorder_RX_GPU"
payload_byte_offset: 42 # Skip 42-byte Ethernet/IPv4/UDP header
packet_size: 8192 # Payload bytes per output slot
flow_ids: [201] # Apply reorder to RX flow 201
method:
seq_packets_per_batch: # Reorder by one sequence field
sequence_number:
bit_offset: 336 # Sequence starts at bit 336
bit_width: 32 # 32-bit sequence field
packets_per_batch: 1024 # 1024 packets per output buffer
DAQIRI introduces an ibverbs engine for high-rate receive and transmit of raw Ethernet packets. Built on libibverbs and NVIDIA DevX, the engine is selected by default for raw Ethernet streams. Developers can also select it explicitly by adding engine: “ibverbs” to their DAQIRI configuration, without changing how they use the application API. By reducing per-packet CPU overhead, the ibverbs engine delivers approximately twice the per-core throughput of the previous default DPDK backend at small packet sizes (up to 1024 bytes) and extreme data rates (greater than 200 Gbps), based on benchmark tests performed on the NVIDIA DGX Spark, NVIDIA IGX Thor, and NVIDIA RTX PRO server platforms.
Intelligent instruments may require latency-sensitive feedback from GPU analysis to adjust acquisition or control settings. The DAQIRI direct polling mode reduces communication latency by letting the application thread receive and submit packets directly, eliminating the handoff to a separate I/O worker. In cabled loopback benchmark tests, application send-to-receive latency on the order of 2-4 µs has been demonstrated in direct polling mode. When using the ibverbs engine, developers can select direct polling for control queues while retaining batched processing for high-throughput data streams.
Set poll_mode: "direct" on the latency-sensitive TX and RX control queues so the application thread submits and receives packets directly.
# TX/RX queue settings in example configuration file
tx:
queues:
- name: "control_tx"
id: 0
poll_mode: "direct" # App thread submits packets
memory_regions: ["Control_TX"]
rx:
queues:
- name: "control_rx"
id: 0
poll_mode: "direct" # App thread polls received packets
memory_regions: ["Control_RX"]
Run the direct-polling latency benchmark using a cabled loopback between TX and RX ports on the same host.
First, replace the configuration’s hardware address placeholders and other system-specific settings with values for your system:
sudo ./build/examples/daqiri_bench_raw_latency
examples/daqiri_bench_raw_latency_ibverbs.yaml --samples
10000 --warmup 1000 --csv latency.csv
During the process of making scientific instruments, GPU-native data acquisition enables you to design around what will be measured and your desired means of response. Advanced detectors and GPU processing can work together for reconsidering acquisition constraints.
The latest DAQIRI capabilities extend the options for moving and organizing measurements efficiently and connecting analysis to experimental control. That means more engineering effort can focus on measurement quality and scientific insight.
To explore these capabilities, start with the DAQIRI documentation and DAQIRI configuration examples. Then use the DAQIRI benchmarks to evaluate throughput and communication latency on your hardware.
To learn more, check out these related resources:
- Explore the NVIDIA/daqiri GitHub repo
- Browse the DAQIRI plus TensorRT Streaming Inference Reference Application
- Generate DAQIRI Configurations for your hardware
https://developer.nvidia.com/blog/enabling-real-time-ai-for-scientific-instruments-with-gpu-native-data-acquisition/Reposted. Will be removed on request. All rights belong to the original author.
More from this batch
Anthropic IPO live updates: ANT stock price and Nasdaq debut
这是上次推送之后最重要的进展:股票于 11 月 19 日开盘 111.50 美元,收盘 97.17 美元,较 83 美元发行价上涨约 17%。Yahoo Finance 记录当日最高 115.10、最低 92.72 美元,成交约 8.53 亿股。CNBC 称本次发行筹资 813 …
Has DeepSeek's 100-billion-yuan round landed? 31 investors come into view
第一财经 11 月 19 日 16:23 报道(上一期 20:07 推送前已刊出,本期补录),企查查显示杭州深度求索注册资本由约 1645 万元增至 1991.87 万元,新增股东杭州程砚;该平台同期新增 31 家合伙人,腾讯与宁德时代体系出资比例并列前列,另有中国移动、中信证券…
The Information:英伟达接近以逾 5 亿美元收购扩散模型公司 Inception(报道,尚未宣布)
多家媒体转述 The Information 的报道称,英伟达正与 Inception(Mercury 扩散语言模型团队)进行后期洽谈,对价至少约 5 亿美元,还可能包含业绩对赌;交易尚未签署或官宣,报道称创始团队将加入英伟达。这仍是独家报道,不是双方声明。
苹果被曝在招人,要做能操控 Mac 的自有 AI 智能体(11 月 19 日)
TechCrunch 和 The Verge 根据招聘信息报道,苹果可能在开发一款可在 Mac 上运行、帮用户完成电脑操作的自有智能体。这还不是产品发布,只是招聘与报道层面的线索,细节以苹果之后的正式说明为准。
谷歌开始把 AI 对话直接放上搜索首页(11 月 19 日)
The Verge 报道,谷歌正在把 AI 聊天入口放到搜索首页,而不只是藏在搜索结果里的 AI 模式中。具体覆盖范围和是否可关闭,请以谷歌产品说明和原文为准。
薯片袋触发校园枪支警报后,两名学生起诉学校和警方(11 月 19 日)
Ars Technica 报道,美国一起校园 AI 武器检测误报导致两名青少年被警察制服,两人已提起诉讼。这是公共场所视觉识别落地时误报代价的一个具体案例,细节以诉状和报道为准。
Introducing Tool Retrieval in the Gemini API
谷歌官方介绍,当应用挂了大量工具时,模型不必每次都看完整工具列表,而是先检索可能相关的工具再决定调用。这对工具很多的企业 Agent 有直接意义:可以降低提示开销,也减少无关工具干扰。能力边界和配额以官方文档为准。
Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth
上一期未收入。苹果机器学习研究放出 Depth Pro 2,可从照片、视频或实时画面估计以米为单位的深度,并强调物体边缘更锐、帧间更稳定。仓库提供 S/B/L/H+ 等多档模型及 Core ML 包,权重为研究用途。论文编号 arXiv:2611.26603。
NVIDIA 介绍用 Dynamo 缓解强化学习 rollout 瓶颈(11 月 19 日)
官方技术博客讨论在强化学习训练里,生成轨迹(rollout)常常卡住吞吐。文章介绍如何用 NVIDIA Dynamo 把这部分流水线理顺,让训练不必长时间等采样。适合正在做 RL 后训练或智能体强化学习的团队对照自己的栈。
Science 观察 Agent AlphaXiv:35 个实验室放出 936 个智能体,12 周写出 936 篇预印本(11 月 19 日)
《Science》11 月 19 日下午的特稿记录了一场为期 12 周的实验:35 个人类实验室部署的智能体在专属预印本服务器上互相交流、写代码、做实验并发布 936 篇研究,还自建了同行评议期刊。文章提醒这些是预印本而非传统期刊论文,质量参差,但提供了一个观察「智能体科研社区」…
Claude solves two open problems in the physics of black holes
官方文章署期 11 月 17 日,上一期未收入;本期 Hacker News 讨论升温。Anthropic 称 Claude Fable 5.2 完成了两项与量子引力和黑洞有关的计算:其一补完了 2003 年提出但一直未做完的相变计算,显示黑洞形成对应的突变在时空不再有明确形状时…
NVIDIA:用智能体在 Rust 里编写工具调用解析器(11 月 19 日)
官方工程博文介绍如何让编码智能体在 Rust 中搭建用于模型工具调用的解析器,把「模型要调用什么工具、参数怎么拆」这件事做快、做稳。对要在推理服务里自己解析 tool call 的团队有参考价值。