Swapping

看板DFBSD_kernel作者時間21年前 (2005/04/10 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
`Regarding how the DragonFly VM handles swapping and caching. For example I have a 256m ram + 256 swap system which performs nicely for daily tasks. If I was to add 256m ram wouldn't it be better to turn off the swap partition. Can swap provide performance improvements by allowing unused memory to be replaced with often used memory? If executables and libraries usually stay in the filesystem cache. When swapping is disabled and there is memory pressure are they evicted from memory? Will it feel the same or worse as swapping if the VM evicts from the cache instead because the programs can be read from the disk anyway? Does swap affect the VM's decisions? If yes does the VM work faster or slower when swap is turned off? Except for additional space/memory and coredumps are there other benefits from having a swap partition? Can swapping be tuned or regulated? TIA -- Eduardo Tongson <pornadmin.net/~tongson>
文章代碼(AID): #12M6p100 (DFBSD_kernel)
文章代碼(AID): #12M6p100 (DFBSD_kernel)