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

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

  •  
  •   Livid ·
    PRO
    · Dec 2, 2014 · 3419 views
    This topic created in 4191 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   ·   965 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 19:10 · PVG 03:10 · LAX 12:10 · JFK 15:10
    ♥ Do have faith in what you're doing.