Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Operating Systems
ChromeOS & Linux
Do You Use Swap on Linux?
Message
<blockquote data-quote="SeriousHoax" data-source="post: 1102116" data-attributes="member: 78686"><p>In my limited experience, Linux's implementation of swap is far worse than Windows. Swap partition is very old school, swap file is similar to what Windows does, but swap partition and swap file both don't seem to be dynamic. From what I know it has to be a fixed value and cannot use more than that. Windows on the other hand can dynamically use swap file (page file to be exact which is more accurate than the term swap) as it sees fits. It can go over the recommended limit if required. There have been cases where a ram + video ram heavy game exceeded the VRAM I have on my system, and it made use of my swap file as an alternative. The swap file usage was over 6 GB every time I ran the game and became normal after exiting the game.</p><p></p><p>Not sure if Linux can do that since the value is fixed. It usually can't also hibernate if the swap partition or swap file value is not equal to the system ram while Windows can always hibernate as long as the option is enabled and there's enough empty space in the C drive.</p><p></p><p>On Linux I'm now using zRam which is a good concept of compressing ram to free up space for more. I guess Windows already and always uses memory compression by default, but the implementation is quite different, I think. I know Fedora and PopOS use zram by default, don't know if anyone else does.</p><p>The benefit of zram is less disk writes + faster swapping/paging due to ram being much faster than SSD/HDD.</p><p>Correct me if I'm wrong about anything.</p></blockquote><p></p>
[QUOTE="SeriousHoax, post: 1102116, member: 78686"] In my limited experience, Linux's implementation of swap is far worse than Windows. Swap partition is very old school, swap file is similar to what Windows does, but swap partition and swap file both don't seem to be dynamic. From what I know it has to be a fixed value and cannot use more than that. Windows on the other hand can dynamically use swap file (page file to be exact which is more accurate than the term swap) as it sees fits. It can go over the recommended limit if required. There have been cases where a ram + video ram heavy game exceeded the VRAM I have on my system, and it made use of my swap file as an alternative. The swap file usage was over 6 GB every time I ran the game and became normal after exiting the game. Not sure if Linux can do that since the value is fixed. It usually can't also hibernate if the swap partition or swap file value is not equal to the system ram while Windows can always hibernate as long as the option is enabled and there's enough empty space in the C drive. On Linux I'm now using zRam which is a good concept of compressing ram to free up space for more. I guess Windows already and always uses memory compression by default, but the implementation is quite different, I think. I know Fedora and PopOS use zram by default, don't know if anyone else does. The benefit of zram is less disk writes + faster swapping/paging due to ram being much faster than SSD/HDD. Correct me if I'm wrong about anything. [/QUOTE]
Insert quotes…
Verification
Post reply
Top