Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 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.
Message
Author
User avatar
Auro Kumar Sahoo
Forum Novice
Forum  Novice
Posts: 59
Joined: Sun Jan 21, 2018 8:54 am

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

#11 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.

Thanks

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

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

#12 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 (min/max: 1203/2700 MHz), 8Gb RAM (800 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.

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

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

#13 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
entropyfoe
Forum Regular
Forum Regular
Posts: 776
Joined: Thu Apr 19, 2007 11:42 am

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

#14 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.
viewtopic.php?f=6&t=38260&hilit=swappiness&start=20

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 (6 cores @ 3.6 GHz)
16 Gig DDR4 3200 (G Skill)
Nvidia -MSI GeForce GT 710 fanless
Samsung 960 NVMe SSD nvme0n1 P1,P2, and P3=MX-17, P4=antiX-17
1TB SSD sda1= Data, 2TB WD =backups
on-board ethernet & sound

Post Reply

Return to “64-bit Newbies”