dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


All About Linux Swap Part 2: Management

Feb 02, 2009, 22:32 (0 Talkback[s])
(Other stories by Taylor Gerring)

WEBINAR:
On-Demand

How to Help Your Business Become an AI Early Adopter


"More information on priority: A scenario that might exist in which you would need this, is if you decide to add another swap, but have it within a file rather than partition new space for it. You can set the partition to a priority of 5 and the new swap file to Priority of 1. Because the highest value is always preferred, this will ensure that the swap partition is used before the swap file. Another case is spreading the swap over multiple separate drives. If the priority is set the same for both swap devices, the kernel will utilize them in a manner similar to a striped array (round-robin). When it comes time to write to disk, this can help increase performance a bit."

Complete Story

Related Stories:


×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.