Tag

xarray

0 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Jan 3, 2025 · Operations

Deep Dive into Linux Kernel Page Cache Xarray: Problem, Analysis, and Optimizations

The article examines a long‑standing hidden bug in the Linux kernel’s page‑cache Xarray that caused occasional data loss with Large Folio support, details its discovery and fix by the TencentOS team, and shows how consolidating multiple tree walks into a single walk in Linux 6.10 reduced latency and improved performance by about ten percent.

Bug FixLinux Kernelkernel development
0 likes · 27 min read
Deep Dive into Linux Kernel Page Cache Xarray: Problem, Analysis, and Optimizations
Python Programming Learning Circle
Python Programming Learning Circle
Dec 9, 2021 · Fundamentals

Plotting 500‑hPa Geopotential Height, Wind Speed, and Wind Barbs with Python, xarray, and Cartopy

This tutorial shows how to load a NAM NetCDF file with xarray, smooth 500‑hPa geopotential height and wind components, compute wind speed using MetPy, and create a Lambert Conformal map with Cartopy that displays color‑filled wind speed, height contours, and wind barbs, finally saving the figure as an image.

CartopyData VisualizationMetPy
0 likes · 5 min read
Plotting 500‑hPa Geopotential Height, Wind Speed, and Wind Barbs with Python, xarray, and Cartopy
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 24, 2020 · Fundamentals

Evolution from Radix Tree to XArray in the Linux Kernel

The Linux kernel’s page‑cache indexing migrated from the classic radix‑tree structure—using shift‑based multi‑way nodes, RCU‑protected insert, lookup, and delete operations—to the newer XArray API introduced in 4.20, which retains the radix layout while offering automatic resizing, built‑in locking, richer marking, and a cleaner, safer interface.

Data StructuresLinux kernelRCU
0 likes · 17 min read
Evolution from Radix Tree to XArray in the Linux Kernel