Difference between revisions of "Talk:Swap"

From ArchWiki
Jump to navigation Jump to search
m (→‎Swap check: remove closed discussion)
Line 1: Line 1:
== <s>Swap check</s> ==
 
 
It could be interisting to have a way to check the swap is functional after a swapon. {{unsigned|09:41, 6 August 2016‎|Louson}}
 
 
:If swapon hasn't reported any errors, then it is functional. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 10:27, 6 August 2016 (UTC)
 
 
 
== <s>Swappiness</s> ==
 
== <s>Swappiness</s> ==
  

Revision as of 13:54, 12 April 2017

Swappiness

sysctl vm.swappiness=10

does not work for me

sysctl -w vm.swappiness=10

works —This unsigned comment is by Shimoda (talk) 00:24, 12 September 2016‎. Please sign your posts with ~~~~!

What is your shell? -- Lahwaacz (talk) 12:13, 12 September 2016 (UTC)

gets swap really still actived twice by systemd?

There is a section about systemd trying to activate swap twice, and several ideas how to work around the error message which appears due to the second attmept to swapon. Is it still an issue? I think Lennart fixed this maybe: https://lists.freedesktop.org/archives/systemd-devel/2015-January/027521.html and the following mails... Mearon (talk) 05:45, 22 November 2016 (UTC)

I'm sorry, where is the section? -- Lahwaacz (talk) 07:52, 22 November 2016 (UTC)
Sorry for not providing a Link. It's here: https://wiki.archlinux.org/index.php/Swap#Activation_by_systemd Mearon (talk) 14:21, 22 November 2016 (UTC)
Well, the first part of the section sounds right, but the second might be outdated as you indicate, so I've flagged it. I can't test the behaviour now, let's see if somebody can... -- Lahwaacz (talk) 16:43, 24 November 2016 (UTC)

systemd-swap

Can we add more documentation on what this is? How it works? What's the difference between Swap File Universal and Swap File Chunked? Do we need to activate both zram and zswap? Do we need both swapfu and swapfc? When would we want a certain configuration? Where is the swap file located? Can we use this to enable hibernation?

—This unsigned comment is by An2quo (talk) 16:41, 11 January 2017‎. Please sign your posts with ~~~~!

That information seriously belongs to https://github.com/Nefelim4ag/systemd-swap -- not here, since they are just details for the script. We already describe the background info in Swap, Zswap, Improving_performance#Zram_or_zswap and Power_management/Suspend_and_hibernate#Hibernation, your questions can be answered by simply reading the script. -- Lahwaacz (talk) 16:59, 11 January 2017 (UTC)