Re: optimal(?) layout of fedora 19 with one SSD drive and one regular HD?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 4, 2013, at 4:29 PM, Joe Zeff <joe@xxxxxxx> wrote:

> On 12/04/2013 03:21 PM, Tim wrote:
>> It's probably the reasoning behind make swap twice as big as RAM.  It
>> should leave enough room for RAM to fit into swap, and the wiggle room
>> for the OS to tidy up swap as it hibernates things.
> 
> Sorry, but I have to inform you that you're putting the cart before the horse.  The rule of thumb I mentioned about making swap twice the size of RAM goes back to the early days of MS-DOS, long before there were such things as hibernate or sleep for computers.

Well there's more than one rule of thumb even on linux. And the paging method on DOS is different than NT, so it's surely different than linux, BSD, or OS X. Case in point, OS X has never had the idea of user configurable swap. The dynamic_pager process creates and destroys swapfiles on demand as needed. 

On linux, there have been periodic swap code changes, which can be found by doing an lkml search. New in 3.12 is a different block allocation algorithm for swap on SSD, for the 3.11 kernel is zswap, and frontswap has been in since 3.5 kernel.

The anaconda/blivet code suggests upwards of 3x memory if you have less than 4GB RAM and hibernation applies. Whereas for 8GB or more, the suggestion is 1.5x memory if hibernation applies. If hibernation doesn't apply suggested swap is between 0.5x and 2x RAM.

Chris Murphy
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux