_2025-04-21_15:39:23_2025-04-21 15:39:23
图解|透明大页原理与实现-轻识
原文链接失效了?试试备份
TAGs:内存 HugePage
Summary: The article discusses the benefits of using Transparent Huge Pages (THP) in Linux systems, which is an alternative to the standard large pages. THP simplifies the process of using large pages by automatically merging contiguous virtual memory addresses larger than 2MB into a single large page, reducing the need for TLB lookups, page table entries, and page faults. The core idea of THP is to continuously scan a process's virtual memory space and merge physical memory into a large page if the condition is met. The article also explains the logic steps of how THP works and how it differs from standard large pages.本文讨论了在 Linux 系统中使用透明大页面 (THP) 的好处,它是标准大页面的替代方案。THP 通过自动将大于 2MB 的连续虚拟内存地址合并到单个大页面中,减少了对 TLB 查找、页表条目和页面错误的需求,从而简化了使用大页面的过程。THP 的核心思想是持续扫描进程的虚拟内存空间,并在满足条件时将物理内存合并为一个大页面。本文还解释了 THP 如何工作的逻辑步骤以及它与标准大页面的不同之处。
_2025-04-23_08:55:42_2025-04-23 08:55:42
图解|透明大页原理与实现-轻识
原文链接失效了?试试备份
TAGs:内存 HugePage
Summary:
_2024_8_21_17_50_19_2024_8_21 17_50_19
TLB原理 - 知乎
原文链接失效了?试试备份
TAGs:内存 TLB
saved date: Wed Aug 21 2024 17:50:19 GMT+0800 (中国标准时间)
_2024_8_21_17_52_47_2024_8_21 17_52_47
TLB的作用及工作原理 - AlanTu - 博客园
原文链接失效了?试试备份
TAGs:内存 TLB
saved date: Wed Aug 21 2024 17:52:47 GMT+0800 (中国标准时间)
_2024_8_10_23_08_15_2024_8_10 23_08_15
内存解决方案中的 CXL _ 接口 IP _ Synopsys
原文链接失效了?试试备份
TAGs:内存
saved date: Sat Aug 10 2024 23:08:15 GMT+0800 (中国标准时间)
_2025-03-20_13:51:27_2025-03-20 13:51:27
浏览器崩溃的第一性原理:内存管理的艺术
原文链接失效了?试试备份
TAGs:内存
Summary: This article discusses the cause of browser crashes, which is often related to memory management. The article focuses on V8's memory management principles, including its garbage collection mechanism, and common memory leak scenarios along with their prevention methods. The article concludes by emphasizing the importance of understanding these concepts to optimize code, reduce memory waste, and improve overall performance and user experience. The author encourages readers to engage in discussions in the comment section.本文讨论了浏览器崩溃的原因,这通常与内存管理有关。本文重点介绍了 V8 的内存管理原则,包括其垃圾回收机制、常见的内存泄漏场景及其预防方法。本文最后强调了理解这些概念对于优化代码、减少内存浪费以及提高整体性能和用户体验的重要性。作者鼓励读者在评论部分参与讨论。
_2024_8_21_17_21_20_2024_8_21 17_21_20
DDR_GDDR和HBM区别,及内存标准如何选择?_ddr内存的比较-CSDN博客
原文链接失效了?试试备份
TAGs:处理器 GPU 内存
saved date: Wed Aug 21 2024 17:21:20 GMT+0800 (中国标准时间)
_2024_8_21_17_12_00_2024_8_21 17_12_00
GPU Memory Bandwidth
原文链接失效了?试试备份
TAGs:处理器 GPU 内存
saved date: Wed Aug 21 2024 17:12:00 GMT+0800 (中国标准时间)
_2024_8_2_17_32_38_2024_8_2 17_32_38
原文链接失效了?试试备份
TAGs:处理器 GPU 内存
saved date: Fri Aug 02 2024 17:32:38 GMT+0800 (中国标准时间)
_2024_8_2_17_27_25_2024_8_2 17_27_25
HMM会议纪要2016-CSDN博客
原文链接失效了?试试备份
TAGs:处理器 GPU 内存
saved date: Fri Aug 02 2024 17:27:25 GMT+0800 (中国标准时间)
_2024_8_2_16_32_19_2024_8_2 16_32_19
HMM讨论纪要_hmm内存-CSDN博客
原文链接失效了?试试备份
TAGs:处理器 GPU 内存
saved date: Fri Aug 02 2024 16:32:19 GMT+0800 (中国标准时间)
_2024_8_2_17_17_21_2024_8_2 17_17_21
code-samples_posts_unified-memory-oversubscription at master · NVIDIA-developer-blog_code-samples
原文链接失效了?试试备份
TAGs:处理器 GPU 内存
saved date: Fri Aug 02 2024 17:17:21 GMT+0800 (中国标准时间)
_2024_8_2_16_27_10_2024_8_2 16_27_10
提高 GPU 内存超额订阅性能 - NVIDIA 技术博客
原文链接失效了?试试备份
TAGs:处理器 GPU 内存
saved date: Fri Aug 02 2024 16:27:10 GMT+0800 (中国标准时间)
_2024_8_2_16_28_35_2024_8_2 16_28_35
虚拟内存和物理内存:从CPU和GPU交互的角度出发_虚拟内存是cpu还是gpu-CSDN博客
原文链接失效了?试试备份
TAGs:处理器 GPU 内存
saved date: Fri Aug 02 2024 16:28:35 GMT+0800 (中国标准时间)
_2025-03-07_17:48:43_2025-03-07 17:48:43
RISC-V Day Tokyo|阎明铸分享SAIL-RISCV内存模型重构
原文链接失效了?试试备份
TAGs:处理器 risc-v 内存
Summary: At the RISC-V Day Tokyo 2025 Spring event, Hening Chang from the RUYISDK team at the Chinese Academy of Sciences Software Research Institute shared their achievements in restructuring the SAIL-RISCV memory model. They presented a poster on the challenges of SAIL-RISCV's memory model, which includes the lack of support for 34-bit physical addresses and the ambiguity between physical and virtual memory. The team addressed these challenges by restructuring the SAIL-RISCV memory model, enabling 34-bit physical address support and ensuring type safety. The improved memory model offers better flexibility, reduces coupling between physical and virtual memory, and provides a more precise memory abstraction for SAIL-RISCV. Hening Chang also emphasized the importance of continuous technological development and innovation in the RISC-V ecosystem.在 RISC-V Day 东京 2025 春季活动中,来自中科院软件研究所 RUYISDK 团队的 Hening Chang 分享了他们在重构 SAIL-RISCV 内存模型方面的成就。他们展示了一张关于 SAIL-RISCV 内存模型挑战的海报,其中包括缺乏对 34 位物理地址的支持以及物理内存和虚拟内存之间的歧义。该团队通过重构 SAIL-RISCV 内存模型、启用 34 位物理地址支持和确保类型安全来应对这些挑战。改进的内存模型提供了更好的灵活性,减少了物理内存和虚拟内存之间的耦合,并为 SAIL-RISCV 提供了更精确的内存抽象。张海宁还强调了 RISC-V 生态系统中持续技术发展和创新的重要性。
_2025_2_11_20:22:49_2025_2_11 20:22:49
RISC-V 虚拟内存 | Bergamot Docs
原文链接失效了?试试备份
TAGs:处理器 risc-v 内存
saved date: Tue Feb 11 2025 20:22:49 GMT+0800 (中国标准时间)
_2024_11_13_17_11_01_2024_11_13 17_11_01
RISCV Linux 虚拟内存管理启动流 - 罗君_哔哩哔哩_bilibili
原文链接失效了?试试备份
TAGs:处理器 risc-v 内存
saved date: Wed Nov 13 2024 17:11:01 GMT+0800 (中国标准时间)
_2025-03-18_11:50:25_2025-03-18 11:50:25
riscv_ Introduce 64K base page [LWN.net]
原文链接失效了?试试备份
TAGs:处理器 risc-v 内存
Summary: This email contains a patch series for introducing a larger base page size on RISC-V architecture, which currently only supports 4K pages. The patch aims to decouple software pages managed by the kernel from hardware pages managed by the MMU, allowing larger software base pages and reducing TLB misses. The patch series includes adaptations to various architecture codes and page table operations, and supports both bare metal and virtualization scenarios. Future work includes reducing memory usage, implementing isolation measures, and collaborating with folios, among other things. The patch series is based on v6.7-rc1 and contains changes to multiple files in the RISC-V kernel codebase.此电子邮件包含一个补丁系列,用于在 RISC-V 架构上引入更大的基本页面大小,该架构目前仅支持 4K 页面。该补丁旨在将内核管理的软件页面与 MMU 管理的硬件页面分离,从而允许更大的软件基本页面并减少 TLB 缺失。补丁系列包括对各种架构代码和页表作的适配,同时支持裸机和虚拟化场景。未来的工作包括减少内存使用、实施隔离措施以及与作品集协作等。补丁系列基于 v6.7-rc1,包含对 RISC-V 内核代码库中多个文件的更改。
_2024_11_25_17:54:11_2024_11_25 17:54:11
riscv内存模型分析 | Sherlock's blog
原文链接失效了?试试备份
TAGs:处理器 risc-v 内存
saved date: Mon Nov 25 2024 17:54:11 GMT+0800 (中国标准时间)
_2025-03-18_18:41:39_2025-03-18 18:41:39
[PATCH v10 1_1] riscv_ Allow to downgrade paging mode from the command line - Alexandre Ghiti
原文链接失效了?试试备份
TAGs:处理器 risc-v 内存 satp
Summary: This is an email discussing a patch for the RISC-V Linux kernel that adds two early command line parameters to allow downgrading the satp (Supervisor Access Control Tags) mode from the command line. The patch also includes modifications to the kernel build system and various source files to support these new parameters. The patch was tested and reviewed by Björn Töpel.这是一封讨论 RISC-V Linux 内核补丁的电子邮件,该补丁添加了两个早期命令行参数,以允许从命令行降级 satp(主管访问控制标签)模式。该补丁还包括对内核构建系统和各种源文件的修改,以支持这些新参数。该补丁由 Björn Töpel 进行测试和审查。
_2025-04-11_10:27:44_2025-04-11 10:27:44
一个让 Linus Torvalds _不明觉赞_ 的内核优化与修复历程 - 知乎
原文链接失效了?试试备份
TAGs:操作系统 linux 内存 Folio
Summary: This article discusses a kernel optimization and fix issue related to the Xarray data structure in the Linux kernel. The issue was first noticed as a potential problem in a commit submitted to the Linux community in April 2023, but it was not until September 2023 that it was officially highlighted. The problem was that a certain race condition in the Xarray code could lead to data corruption, but due to the low reproduction probability and lack of effective debug information, it was difficult for the community to determine the root cause.
_2024_8_19_15_29_43_2024_8_19 15_29_43
How are mmap, ioremap and kmap different_ - Quora
原文链接失效了?试试备份
TAGs:操作系统 linux 内存
saved date: Mon Aug 19 2024 15:29:43 GMT+0800 (中国标准时间)
_2024_7_1_14_01_04_2024_7_1 14_01_04
QEMU 的 memory model _ Deep Dark Fantasy
原文链接失效了?试试备份
TAGs:操作系统 linux 内存
saved date: Mon Jul 01 2024 14:01:04 GMT+0800 (中国标准时间)
_2024_7_1_14_00_40_2024_7_1 14_00_40
QEMU内存分析(一):内存虚拟化关键结构体 - Edver - 博客园
原文链接失效了?试试备份
TAGs:操作系统 linux 内存
saved date: Mon Jul 01 2024 14:00:40 GMT+0800 (中国标准时间)
_2024_8_19_15_30_33_2024_8_19 15_30_33
-CSDN博客
原文链接失效了?试试备份
TAGs:操作系统 linux 内存
saved date: Mon Aug 19 2024 15:30:33 GMT+0800 (中国标准时间)
_2025-03-18_17:03:07_2025-03-18 17:03:07
Kernel Samepage Merging — The Linux Kernel documentation
原文链接失效了?试试备份
TAGs:操作系统 linux 内存 ksm
Summary: The Linux Kernel's KSM (Kernel Shared Memory) feature is a memory-saving mechanism that merges identical pages in the system or application memory. It was introduced in version 2.6.32 and can be enabled by setting CONFIG_KSM=y. The KSM daemon, ksmd, periodically scans user memory for identical pages and merges them, reducing the overall memory usage. The merging process involves copying the content of the identical pages into a single write-protected page, which is then shared among the processes.
_2025-04-17_15:18:01_2025-04-17 15:18:01
一篇搞懂KSM机制剖析 — Linux内核中的内存去耦合 - 知乎
原文链接失效了?试试备份
TAGs:操作系统 linux 内存 ksm
Summary: This article explains the concept and implementation of KSM (Kernel Samepage Merging) in the Linux kernel, a feature that allows a system manager (hypervisor) to merge identical memory pages and increase the number of parallel virtual machines. The article also discusses the background of KSM, its benefits, and ways to manage it. The article also mentions the history of server virtualization and the advantages of memory sharing in this context. The article concludes by discussing the importance of KSM in reducing memory usage and increasing the capacity of a server to host multiple applications or virtual machines. The article also recommends some resources for further learning.本文介绍了 Linux 内核中 KSM (Kernel Samepage Merging) 的概念和实现,该功能允许系统管理器 (hypervisor) 合并相同的内存页面并增加并行虚拟机的数量。本文还讨论了 KSM 的背景、优势以及管理它的方法。本文还提到了服务器虚拟化的历史以及在此上下文中内存共享的优势。本文最后讨论了 KSM 在减少内存使用和增加服务器托管多个应用程序或虚拟机的能力方面的重要性。本文还推荐了一些资源以供进一步学习。
_2025-04-17_22:13:29_2025-04-17 22:13:29
一篇搞懂KSM机制剖析 — Linux内核中的内存去耦合 - 知乎
原文链接失效了?试试备份
TAGs:操作系统 linux 内存 ksm
Summary:
_2024_8_6_17_47_49_2024_8_6 17_47_49
一步一图带你构建 Linux 页表体系 —— 详解虚拟内存如何与物理内存进行映射 - bin的技术小屋 - 博客园
原文链接失效了?试试备份
TAGs:操作系统 linux 内存
saved date: Tue Aug 06 2024 17:47:49 GMT+0800 (中国标准时间)
_2024_8_19_16_16_37_2024_8_19 16_16_37
内存碎片之外部碎片与内部碎片 - JackTang's Blog
原文链接失效了?试试备份
TAGs:操作系统 linux 内存
saved date: Mon Aug 19 2024 16:16:37 GMT+0800 (中国标准时间)
_2024_8_1_20_29_33_2024_8_1 20_29_33
宋牧春:多图详解Linux内存分配器slub-电子工程专辑
原文链接失效了?试试备份
TAGs:操作系统 linux 内存
saved date: Thu Aug 01 2024 20:29:33 GMT+0800 (中国标准时间)
_2025-03-18_16:48:13_2025-03-18 16:48:13
Using Kernel Samepage Merging with KVM – The Linux Cluster
原文链接失效了?试试备份
TAGs:虚拟化&容器 kvm 内存 ksm
Summary: The Linux Cluster Blog post discusses using Kernel Samepage Merging (KSM) with KVM for more efficient use of memory in Linux Cluster and Enterprise Linux systems. KSM is a Linux kernel feature that combines identical memory pages from multiple processes into one copy-on-write memory region. To verify KSM support, users can check the kernel configuration file and the number of kernel pages. Additionally, KVM guests need to request identical pages merging using the new madvise interface for KSM to take effect.Linux 集群博客文章讨论了将内核同页合并 (KSM) 与 KVM 结合使用,以便在 Linux 集群和企业 Linux 系统中更高效地使用内存。KSM 是一项 Linux 内核功能,它将来自多个进程的相同内存页合并到一个写入时复制内存区域。要验证 KSM 是否支持,用户可以检查内核配置文件和内核页数。此外,KVM 客户机需要使用新的 madvise 接口请求合并相同的页面,KSM 才能生效。
_2024_7_1_20_15_34_2024_7_1 20_15_34
QEMU 的 memory model _ Deep Dark Fantasy
原文链接失效了?试试备份
TAGs:虚拟化&容器 qemu 内存
saved date: Mon Jul 01 2024 20:15:34 GMT+0800 (中国标准时间)
_2024_12_5_14|02|55_2024_12_5 14|02|55
QEMU中GPA 到 HVA的过程分析 - 知乎
原文链接失效了?试试备份
TAGs:虚拟化&容器 qemu 内存
saved date: Thu Dec 05 2024 14:02:55 GMT+0800 (中国标准时间)
_2024_7_1_13_59_07_2024_7_1 13_59_07
QEMU内存分析(一):内存虚拟化关键结构体 - Edver - 博客园
原文链接失效了?试试备份
TAGs:虚拟化&容器 qemu 内存
saved date: Mon Jul 01 2024 13:59:07 GMT+0800 (中国标准时间)
_2024_7_1_20_15_11_2024_7_1 20_15_11
QEMU内存分析(一):内存虚拟化关键结构体 - Edver - 博客园
原文链接失效了?试试备份
TAGs:虚拟化&容器 qemu 内存
saved date: Mon Jul 01 2024 20:15:11 GMT+0800 (中国标准时间)
_2024_10_30_16_39_05_2024_10_30 16_39_05
The memory API — QEMU documentation
原文链接失效了?试试备份
TAGs:虚拟化&容器 qemu 内存
saved date: Wed Oct 30 2024 16:39:05 GMT+0800 (中国标准时间)
_2025-03-18_17:28:22_2025-03-18 17:28:22
qemu 共享内存设备——ivshmem-CSDN博客
原文链接失效了?试试备份
TAGs:虚拟化&容器 qemu 内存 共享内存
Summary: This text is about the use of ivshmem, a shared memory device in QEMU virtual machines. Ivshmem allows for efficient data transfer between virtual machine processes and the host, and is often used in virtualization scenarios such as antivirus software. The text explains how ivshmem works, its implementation in QEMU, and its benefits. It also mentions some related resources for further learning.本文介绍了 IVSHMEM 的使用,IVSHMEM 是 QEMU 虚拟机中的共享内存设备。Ivshmem 允许在虚拟机进程和主机之间进行高效的数据传输,并且通常用于虚拟化方案,例如防病毒软件。本文解释了 ivshmem 的工作原理、它在 QEMU 中的实现及其好处。它还提到了一些用于进一步学习的相关资源。