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: 66
Joined: Sun Jan 21, 2018 8:54 am

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

#1 Post by Auro Kumar Sahoo » Tue Apr 17, 2018 12:39 pm

The problem is when using GIMP and specifically for rendering jobs and filters like gmic or resynthesizer etc which use high memory, i noticed although i have 3.36 GiB ram but gimp utilizing 1.8 or 2 Gb of ram and Swap taking up 500 to 700 Mb data where still 1.5 Gb of ram is still available.
Due to this I noticed slowness in other system applications running at the time like Firefox is not responding, Thunar freezing and Music playing on Clementine freezes and plays in jerk.

I require your help and guide how to utilize RAM to its full potential so the swap is not used and system runs smoothly.
I have RAM but still swap is used, any solution?


System Specification:-
System: Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3
Distro: MX-17.1_x64 Horizon March 14, 2018
CPU: Quad Core model: AMD FX-4300 cache: 2048 KiB
Speed: 1620 MHz min/max: 1400/3800 MHz Core speeds (MHz)
Graphics: AMD RS780L [Radeon 3000] driver: radeon
OpenGL: renderer: Gallium 0.4 on AMD RS780

Memory: 3.36 GiB
Swap : 2 GiB

User avatar
GuiGuy
Forum Guide
Forum Guide
Posts: 1440
Joined: Sun Dec 16, 2007 6:29 pm

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

#2 Post by GuiGuy » Tue Apr 17, 2018 1:12 pm

To cure this problem fully the only answer is to get more RAM.
You could make gimp run better by reducing swappiness but that would make the responsiveness of the other programs even worse.
If you cannot get more RAM, your best course would be to reduce swappiness and run gimp alone, without any other inessential processes.

User avatar
Auro Kumar Sahoo
Forum Novice
Forum  Novice
Posts: 66
Joined: Sun Jan 21, 2018 8:54 am

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

#3 Post by Auro Kumar Sahoo » Tue Apr 17, 2018 1:17 pm

GuiGuy wrote:To cure this problem fully the only answer is to get more RAM.
You could make gimp run better by reducing swappiness but that would make the responsiveness of the other programs even worse.
If you cannot get more RAM, your best course would be to reduce swappiness and run gimp alone, without any other inessential processes.
Here i am only running gimp with Thunar and Mozila firefox because i need an image from the web. I am only adding some resynthesizer plugin
Please see screen shots in gimp. but its not resynthesizer problem, but any filter thats require some memory, i find same problem like gmic or render filters.

In screenshot 1 please see memory and swap and same on htop in screen shot 2.
You do not have the required permissions to view the files attached to this post.

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3442
Joined: Sun May 27, 2007 5:37 am

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

#4 Post by asqwerth » Tue Apr 17, 2018 1:33 pm

The problem is that Firefox is the greatest culprit in being a RAM hog. When I first boot up MX, RAM usage is 300+ to 400MB. Open Firefox and you practically double RAM consumption.

You may have to open a lighter browser when you do GIMP work, like palemoon.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

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

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

#5 Post by Stevo » Tue Apr 17, 2018 1:33 pm

Try to maximize your free RAM by closing Firefox down when doing those things in GIMP. That will free up at least a few hundred MB, probably more.

User avatar
GuiGuy
Forum Guide
Forum Guide
Posts: 1440
Joined: Sun Dec 16, 2007 6:29 pm

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

#6 Post by GuiGuy » Tue Apr 17, 2018 1:34 pm

I don't know of any solution beyond what I have already suggested - sorry.
Anybody else have any ideas?

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

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

#7 Post by entropyfoe » Tue Apr 17, 2018 2:09 pm

set the vmswapiness to zero and see how the performance is.

Swapping can be slow, and give that jerky user interface.

Until all RAM is used, you will not know if there is enough for your desired applications. Having over a gig free sounds like all the swap can be put into RAM.
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.1, P4=antiX-17
1TB SSD sda1= Data, 2TB WD =backups
on-board ethernet & sound

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

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

#8 Post by stsoh » Tue Apr 17, 2018 3:13 pm

have RAM but still swap is used, any solution?
only solution is add more ram, no tweaks can beats more ram.
swap is used because run out of memory, even u think there is still some, data on memory is move n park at swap.
since u r using intensive gimp, etc, etc, adding more ram will be more beneficial.
the amount of ram u have is insufficient, as for firefox, addon ublock to block adverts.
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
Auro Kumar Sahoo
Forum Novice
Forum  Novice
Posts: 66
Joined: Sun Jan 21, 2018 8:54 am

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

#9 Post by Auro Kumar Sahoo » Wed Apr 18, 2018 4:51 am

GuiGuy wrote:I don't know of any solution beyond what I have already suggested - sorry.
Anybody else have any ideas?
stsoh wrote:only solution is add more ram, no tweaks can beats more ram.
swap is used because run out of memory, even u think there is still some, data on memory is move n park at swap.
Here i came across one article but its written for Ubuntu and mint. Will commands mention here is also applicable to MX?
https://sites.google.com/site/easylinuxtipsproject/3
(The article no1 is about swappiness & Improve usage of the system memory (RAM))

If its not meant for mx then any help like this please.

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

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

#10 Post by stsoh » Wed Apr 18, 2018 5:29 am

i've 8gb ram and never seen swap have been use.
only one time fully load my Dual Core E5400 to the max.
cpu can't handle the load, 2mb is use on 2gb swap.
u can set swappiness=10 and vfs_cache_pressure=50, minimize swap.
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.

Post Reply

Return to “64-bit Newbies”