DragonFly users List (threaded) for 2010-05
Re: swapcache Setup
On 05/24/2010 01:42 PM, Matthew Dillon wrote:
: I added a How-To for setting up swapcache from my notes.
That looks pretty good. The swapcache manual page has some extensive
recommendations (but not the step-by-step that you put together for
docs), the most important of which being that you might want to
configure only 32G of swap on the 40G SSD instead of using all 40G.
For a manufacturer-fresh SSD configuring only 32G out of the 40G
leaves 8G which the SSD firmware will use to enhance its wear-leveling
algorithms, improving the overall life of the SSD.
Here are some suggestions:
* When using a 40G SSD as an example configure only 32G of swap.
* There is no need to newfs a swap partition.
* Someone configuring swapcache fresh with no prior experience should
start by only caching meta-data. i.e. data_enable=0.
Thanks for the info, I will update the page to include your suggestions.