搜索:swap

共命中 39 条(服务端检索)
操作系统内功 · 第 37 篇|swap 与 zram:交换空间的工程决策
服务器到底要不要 swap?这个争论持续了三十年。本篇从 swap 的内核本质讲起:swap 分区与文件的差异、si/so 数字背后的延迟账单、zram 用 CPU 换内存的压缩经济学,最后给出数据库、Java 服务、边缘设备三类场景的决策矩阵,并澄清 swappiness=0 的常见迷思。
后端技术 精选 · 原创 · 昨天 阅读 2·访客 2
cgroup v2 控制器全集:memory、io 与 systemd 资源管理
cgroup v2 不是 v1 的升级——是一次资源管理的重新设计。上一节正文完整阐述了统一层级、memory/io/cpu 控制器与 systemd 集成。
后端技术 精选 · 原创 · 昨天 阅读 2·访客 2
操作系统内功 · 第 44 篇|tmpfs 与 /dev/shm:内存文件系统的用途与陷阱
PostgreSQL 容器起不来报 64MB 不够、df 看到的 /dev/shm 凭空占了一半内存、Redis 放 tmpfs 后内存翻倍——tmpfs 的坑都源于「它既是文件系统又是内存」。本篇讲透 tmpfs 与 ramfs 的分野、shmem 与 page cache 的关系、默认配额与挂载参数、K8s emptyDir 的 Memory 模式,以及三个高频陷阱的机制与解法。
后端技术 精选 · 原创 · 昨天 阅读 3·访客 3
Linux 内存压力与 PSI:Pressure Stall Information 的诊断实践
PSI 改变了内存监控——从「还剩多少」到「浪费了多少时间」。上一节正文已完整阐述 PSI 的机制、读取、触发器、对比与监控接入。
后端技术 精选 · 原创 · 昨天 阅读 2·访客 2
操作系统内功 · 第 43 篇|sysctl 调优:/proc/sys 的高频参数与实战
网上流传的「Linux 调优脚本」大多来路不明。本篇讲透 sysctl 机制本身:/proc/sys 的树形结构、/etc/sysctl.d 的加载链与持久化、 somaxconn/port_range/file-max/overcommit 四组高频参数的真实语义与推导,容器里哪些参数进了 namespace,以及「改之前先测基线」的验证方法论。
后端技术 精选 · 原创 · 昨天 阅读 2·访客 2
操作系统内功 · 第 36 篇|内存回收:kswapd、LRU 链表与 working set
P99 尖刺与内存回收的关系比你想的紧密。本篇拆解 zone 水位线触发的两条回收路径、kswapd 的节律与 direct reclaim 的代价、active/inactive LRU 链表的页面老化机制,以及 workingset refault 如何衡量「回收错了页面」的成本,并给出应用工程师的观测清单。
后端技术 精选 · 原创 · 昨天 阅读 2·访客 2
Anthropic Releases FlashProve: Cryptographic Proofs That a Reply Came From Committed Weights
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
开源项目 MarkTechPost · 2天前 阅读 10·访客 10
Soniox STT v6 Adds Agent Text Input and Echo Filtering for Voice Agents
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
智能体 MarkTechPost · 2天前 阅读 9·访客 9
OpenAI Introduces Pando: A Git Backend That Cuts Median Push Latency ~80%
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
行业动态 MarkTechPost · 3天前 阅读 2·访客 2
Here’s who is falling in line for Trump’s “Super Intelligence” loyalty test
This story originally appeared in The Algorithm, our weekly newsletter on AI. To get stories like this in your inbox fir…
行业动态 MIT Technology Review · 3天前 阅读 2·访客 2
操作系统内功 · 第 19 篇|NUMA 与巨页:跨节点延迟税与 TLB miss 解药
服务器不是一台均匀的内存池:NUMA 让跨 socket 内存访问慢 40% 以上,巨页则用 2MB/1GB 页面把 TLB 压力降一个数量级。本文讲清 NUMA 拓扑、本地/远端内存与分配策略(default/bind/preferred/interleave),巨页的两种形态(hugetlbfs 与 THP)、收益与陷阱,并给出 Redis、数据库、JVM 的落地参数。
后端技术 精选 · 原创 · 3天前 阅读 28·访客 28
操作系统内功 · 第 20 篇|OOM Killer:内存耗尽时内核杀谁、为什么杀错人、怎么防
内存不足时 Linux 不崩整机,而是派 OOM Killer 按启发式评分杀进程——但被杀的常常不是元凶。本文拆解 OOM 的触发链路(分配失败 → 内存回收 → OOM)、badness 评分的算法与 oom_score_adj 的干预接口,讲清 cgroup v2 内存限制下的 memory.oom.group 与 oom_kill_disable,最后给出容量水位、监控告警与优雅降级三道防线。
后端技术 精选 · 原创 · 3天前 阅读 15·访客 15
操作系统内功 · 第 24 篇|VFS 与一切皆文件:统一抽象层的代价与红利
socket、管道、设备、普通文件能用同一套 read/write 接口操作,靠的是 VFS 虚拟文件系统层。本文拆解 VFS 的四个核心对象(superblock/inode/dentry/file)、dentry 缓存与 path lookup 的成本、页缓存与 inode 的绑定关系,以及 procfs/sysfs/devtmpfs 三个「伪装成文件」的内核接口——读完能看懂 /proc 里那些指标的真正来源。
后端技术 精选 · 原创 · 3天前 阅读 16·访客 16
操作系统内功 · 第 2 篇|虚拟内存:页表、TLB 与一次缺页中断的旅程
malloc 返回的指针为什么「立刻可用」却几乎不花时间?一台 64GB 机器为什么能 mmap 500GB 的文件?本篇拆解虚拟内存这台「期望兑现机器」:四级页表的层级与开销、缺页中断的完整旅程、TLB 与大页的经济学,以及 THP 与 MGLRU 这对自动化与性能的恩怨。
后端技术 精选 · 原创 · 10-26 阅读 119·访客 117
操作系统内功 · 第 3 篇|内存分配内幕:伙伴系统、SLUB 与 glibc 碎片连环事故
RSS 缓慢上涨、堆剖析却查不到泄漏,最后被 OOM killer 一枪带走——这类事故的根源常常不是泄漏,而是分配器的碎片化。本篇从内核的伙伴系统讲到 SLUB,再对比 ptmalloc、tcmalloc、jemalloc 三国志,把 OOM killer 的判决逻辑和 overcommit 的三种姿势一次讲透。
后端技术 精选 · 原创 · 10-26 阅读 122·访客 121
操作系统内功 · 第 10 篇|性能观测方法论:USE 方法、火焰图与 P99 尾延迟
「系统变慢了」是最难的工单——工具人人都有,方法论才分高下。系列收官篇讲透三套底层功法:给每个资源问三个问题的 USE 方法、让热点自己浮出来的火焰图、以及 P99 为什么比均值重要的尾延迟理论,外加压测圈最大的谎言「协调遗漏」。
后端技术 精选 · 原创 · 10-26 阅读 98·访客 97
Nvidia open-sources Flora to make robot video labeling 125x cheaper than GPT-6 Astra
Oct 25, 2026 Nvidia Labeling one hour of robot video for 72 cents instead of $88 is what Nvidia promises with Flora, its…
智能体 The Decoder · 10-25 阅读 58·访客 57
Google Cloud Launches Agent Compute Engine: A MicroVM per AI Agent
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
智能体 MarkTechPost · 10-23 阅读 67·访客 65
Liquid AI Launches RIPL, a Real-Time Inference Engine for Sub-50 ms LFMs
Liquid AI Launches RIPL, a Real-Time Inference Engine for Sub-50 ms LFMs !(https://www.gstatic.com/images/branding/googl…
行业动态 MarkTechPost · 10-23 阅读 23·访客 23
Skeleton-Grounded Latent Action Model for Robot World Models
Robot world models simulate how environments evolve in response to robot actions. Latent action models enable learning d…
智能体 HuggingFace Daily Papers · 10-22 阅读 52·访客 51
共享符号而非向量:跨语言模型无需训练的事实通信方法 SYNC
提出 SYNC,一种基于共享词表索引的免训练接口,使异构语言模型无需微调或学习型翻译器即可进行多智能体间的事实通信。
研究前沿 HuggingFace Daily Papers · 10-14 阅读 29·访客 29
Alibaba Qwen Introduces QwenGyre: Elastic Reinforcement Learning RL for XLong-Horizon Agents
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
智能体 MarkTechPost · 10-13 阅读 98·访客 96
Sakana AI’s LLM Peer Review System Catches 73% of Core-Claim Errors
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
研究前沿 MarkTechPost · 10-11 阅读 273·访客 273
PostgreSQL 18 深度解析:异步 I/O、skip scan 与一次更省心的升级
PostgreSQL 18 把沿用多年的读路径换成异步 I/O 子系统,复合索引拿到 skip scan,虚拟生成列与 uuidv7 补齐开发者体验,pg_upgrade 首次保留优化器统计。本文以官方 release notes 为准逐项解析,梳理升级实操与行为变化,给出可执行的升级建议。
后端技术 精选 · 原创 · 10-10 阅读 486·访客 484
Architect 推出 Liquid Inference:为 LLM 推理引入实时竞价机制
Architect Financial Technologies 发布 Liquid Inference,一个 LLM 推理市场路由器,每次请求通过实时拍卖由各供应商报价竞价,买方支付满足规则中的最低报价,开发者只需替换 base URL 即可让供应商在价格上竞争。
大模型 MarkTechPost · 10-8 阅读 40·访客 40
SWE-Duel: Towards a Self-Scaling Arena for Coding Agents
Static coding benchmarks are fixed at release. Over time their tasks leak into training data, and stronger agents eventu…
智能体 HuggingFace Daily Papers · 10-8 阅读 54·访客 53
Building a Streaming Robotics Learning Pipeline Using NVIDIA Cosmos3-DROID
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
智能体 MarkTechPost · 10-6 阅读 59·访客 59
Meet Together Link: A Free CLI That Runs Open Models Like Kimi K3 and GLM 5.3 Inside Claude Code, Codex, and OpenCode
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
智能体 MarkTechPost · 10-6 阅读 69·访客 68
Inside NVIDIA’s IsaacTeleop: From Hand and Controller Tracking to Robot Actions with the Graph-Based Retargeting Engine
!(https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_128dp.png)Add as a preferredsource on Google…
智能体 MarkTechPost · 10-4 阅读 92·访客 90
Ideogram says its new model can edit part of an image without messing up the rest
Oct 1, 2026 Ideogram says its new model Ideogram 4.5 solves one of AI image editing's biggest headaches.** When you edit…
行业动态 The Decoder · 10-2 阅读 33·访客 33
A Coding Guide to Google Research’s Kauldron: Configs That Are Plain Data, Components Wired by String, and a JAX Trainer You Can Read End to End
In this tutorial, we implement **Kauldron**, the JAX training library from Google Research that describes itself as opti…
行业动态 MarkTechPost · 10-2 阅读 30·访客 30
Explore Broadly, Reason Sharply: Push Small Models toward the Frontier via Sampling
Power-sharpened sampling is an inference-time alternative to reinforcement-learning (RL) post-training for enhancing rea…
研究前沿 HuggingFace Daily Papers · 9-29 阅读 38·访客 38
AWS Strands Agents Team Releases Strands Harness: An Open-Source Agent Harness With 28% Lower Token Cost at Comparable Accuracy
Many developers find that an agent idea works inside Claude Code or Codex, then struggles once they rebuild it with thei…
智能体 MarkTechPost · 9-22 阅读 97·访客 97
SoftBank to borrow over $11 billion in risky bonds for OpenAI stake
SoftBank plans to borrow more than $11 billion from investors through risky bonds to fund another payment for its stake …
行业动态 The Decoder · 9-21 阅读 28·访客 28
Pinterest teases a new ‘Restyle’ feature that lets you redesign your room with AI
Pinterest is testing Restyle, a new AI-powered feature that lets users visualize furniture, decor, lighting, and more in…
行业动态 TechCrunch · 9-18 阅读 32·访客 32
ModaLens: Measuring Image Sensitivity in Report-Conditioned Medical VLMs
A radiology report can already answer a clinical question, so it is hard to tell whether a vision-language model also us…
行业动态 HuggingFace Daily Papers · 9-14 阅读 31·访客 31
10大高性能开发宝石
守护进程的创建步骤、会话与双 fork 技巧
后端技术 精选 · 原创博客 · 2020-09-22 阅读 407·访客 406
RocketMQ消息存储细节
RocketMQ 的 NameServer、存储模型与消息可靠性设计
后端技术 精选 · 原创博客 · 2020-04-27 阅读 441·访客 439
零拷贝
从 sendfile 到 mmap:零拷贝如何减少上下文切换
后端技术 精选 · 原创博客 · 2020-04-21 阅读 532·访客 531