Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Livid
305.21D
545.84D
V2EX  ›  Linux

关于 sysctl.conf 里的 vm.swappiness 和 vm.overcommit_memory

  •  
  •   Livid ·
    PRO
    · Dec 2, 2014 · 3478 views
    This topic created in 4231 days ago, the information mentioned may be changed or developed.
    1 replies    2014-12-02 10:07:28 +08:00
    songco
        1
    songco  
       Dec 2, 2014
    "When a process forks, or calls the fork() function, its entire page table is cloned. In other words, the child process has a complete copy of the parent’s memory space, which requires, as you’d expect, twice the amount of RAM."

    这个不太对, linuxde fork很久以前就是copy-on-write.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2508 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 15:44 · PVG 23:44 · LAX 08:44 · JFK 11:44
    ♥ Do have faith in what you're doing.