The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

RAM Utilisation :- Memory optimal using for Graphics and Media Creation

For help or questions about 64-bit version of MEPIS, this is the forum to use.
User avatar
Auro Kumar Sahoo
Forum Regular
Forum Regular
Posts: 174
Joined: Sun Jan 21, 2018 8:54 am

Re: RAM Utilisation :- Memory optimal using for Graphics and Media Creation


Post by Auro Kumar Sahoo » Wed Apr 18, 2018 5:44 am

stsoh wrote:u can set swappiness=10 and vfs_cache_pressure=50, minimize swap.
How can i do it? In the article the author descibed things for mint, but those commands not working here for example gksudo xed /etc/sysctl.conf

So please give a step guide how to open that swapiness file to modify it.

दुर्लभम् हि सदा सुखम् ||{Ramayan २-१८-१३}
To be happy always is something which is difficult to achieve.That is to say, happiness and sorrow alternate in one’s life and there cannot be uninterrupted happiness alone.

User avatar
Forum Regular
Forum Regular
Posts: 449
Joined: Sun Aug 20, 2017 10:11 am

Re: RAM Utilisation :- Memory optimal using for Graphics and Media Creation


Post by stsoh » Wed Apr 18, 2018 6:01 am

open thunar, goto folder /etc > edit rc.local file.
copy n paste below one line above exit 0, save.

Code: Select all

echo 10 > /proc/sys/vm/swappiness
echo 50 > /proc/sys/vm/vfs_cache_pressure
reboot, to check open terminal input 'sysctl vm'.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

User avatar
Forum Veteran
Forum Veteran
Posts: 19823
Joined: Fri Dec 15, 2006 8:07 pm

Re: RAM Utilisation :- Memory optimal using for Graphics and Media Creation


Post by Stevo » Wed Apr 18, 2018 1:48 pm

Skidoo's woogaloo package also works in my tests to let you set these kinds of system tunes in a GUI...

User avatar
Forum Regular
Forum Regular
Posts: 943
Joined: Thu Apr 19, 2007 11:42 am

Re: RAM Utilisation :- Memory optimal using for Graphics and Media Creation


Post by entropyfoe » Wed Apr 18, 2018 8:45 pm

Or via the GUI,

Open a file manager (Thunar). Click on file system, then the folder /etc
sort by name, and scroll down to you find sysctl.conf.

Right click it and select edit as root ( a great tool built in MX)
You may have to supply root credentials (as any form of editing a system control file would need like some sudo nano syscntl.conf
Here is mine (the beginning of it...

Code: Select all

# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.

#kernel.domainname = example.com

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

vm.swappiness = 1

And add the line vm swappiness=1, and save the file.
As you can see, I have mine set to one. You can try zero, but here is a wiki clip you can find in the mega-swappiness thread of days past.

but the data I found was
vm.swappiness = 0 The kernel will swap only to avoid an out of memory condition, when free memory will be below vm.min_free_kbytes limit. See the "VM Sysctl documentation".
vm.swappiness = 1 Kernel version 3.5 and over, as well as Red Hat kernel version 2.6.32-303 and over: Minimum amount of swapping without disabling it entirely.
vm.swappiness = 10 This value is sometimes recommended to improve performance when sufficient memory exists in a system.
vm.swappiness = 60 The default value.
vm.swappiness = 100 The kernel will swap aggressively.

With kernel version 3.5 and over, as well as kernel version 2.6.32-303 and over, it is likely better to use 1 for cases where 0 used to be optimal.
Asus Prime 370X-Pro
AMD Ryzen 1600X (12 threads @ 3.6 GHz)
16 Gig DDR4 3200 (G Skill)
Nvidia -MSI GeForce GT 710 fanless
Samsung 960 NVMe SSD nvme0n1 P1-3=MX-18, P4=antiX 19 beta2
1TB SSD sda1= Data, 2TB WD =backups
on-board ethernet & sound

Post Reply

Return to “64-bit Newbies”