Maui
Board Index divider Search Member List Help
Hello There, Guest! Login Register
Login
Username:
Password: Lost Password?
 
Maui Forums › Community › General Talk › Its good iddea add swap in SSD?

Its good iddea add swap in SSD?
kdemeoz Offline
Island Resident
******
Joined: Sep 2016
Posts: 661
#4
8th May 2017, 12:54
(8th May 2017, 11:09)leszek Wrote: ... I personally recommend you to just install the package zram-config just in case so that if you exceed RAM usage it will at least have something to swap to Smile

This fascinated me; i did not know of this package. I've now researched it, then tested it in my 2 Maui VMs, to help me decide if i will take the plunge to actually install it into my real Mauis in Lappy & Tower [& maybe also then use gparted & fstab to remove my existing Swap partitions]. The VM results seem remarkable:

System [VB VM]
Base Memory 4096
Processor(s) 2

   
   

Code:
kdemeoz@Maui-VM:~$ cat /proc/swaps
Filename                                Type            Size    Used    Priority
/dev/sda2                               partition       2097148 0       -1
/dev/zram0                              partition       1011520 0       5
/dev/zram1                              partition       1011520 0       5


All that looks great, but i have one question: does zram in any way conflict with / steal memory from tmpfs [in which as you can see i run /tmp; pls note -- all the following is from my VM, but i do use a similar arrangement in my real Mauis]:
Code:
kdemeoz@Maui-VM:~$ df -h
Filesystem       Size  Used Avail Use% Mounted on
udev             2.0G     0  2.0G   0% /dev
tmpfs            396M  6.3M  389M   2% /run
/dev/sda1         17G   12G  4.0G  76% /
tmpfs            2.0G  160K  2.0G   1% /dev/shm
tmpfs            5.0M  4.0K  5.0M   1% /run/lock
tmpfs            2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs            2.0G  8.0K  2.0G   1% /tmp
/dev/sda3        8.8G  7.2G  1.1G  87% /home
VM_Share_Folder  168G   39G  130G  23% /media/sf_VM_Share_Folder
temp_(Seagate)   1.8T  755G  1.1T  43% /media/sf_temp_(Seagate)
tmpfs            396M     0  396M   0% /run/user/118
tmpfs            396M   12K  396M   1% /run/user/1000
kdemeoz@Maui-VM:~$
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Its good iddea add swap in SSD? - by wonder - 8th May 2017, 11:03
RE: Its good iddea add swap in SSD? - by leszek - 8th May 2017, 11:09
RE: Its good iddea add swap in SSD? - by kdemeoz - 8th May 2017, 12:54
RE: Its good iddea add swap in SSD? - by wonder - 8th May 2017, 11:29
RE: Its good iddea add swap in SSD? - by rocky7x - 9th May 2017, 16:44
RE: Its good iddea add swap in SSD? - by kdemeoz - 10th May 2017, 3:50
RE: Its good iddea add swap in SSD? - by leszek - 10th May 2017, 9:48
RE: Its good iddea add swap in SSD? - by kdemeoz - 10th May 2017, 11:16

Possibly Related Threads…
Thread Author Replies Views Last Post
  Good Distro ! fanisatt 3 14,377 23rd September 2016, 20:19
Last Post: leszek

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

  • Contact Us
  • Maui Forums
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 7th June 2025, 6:54 Powered By MyBB, © 2002-2025 MyBB Group.
Linear Mode
Threaded Mode