Just how can I fine-tune my Linux desktop computer to be extra receptive?

I have the experience that Linux functions penalty till the physical memory is worn down. As quickly as swap room is made use of the performance is drastically weakened and also the GUI comes to be less competent.

This trouble is not restricted to a details distro or desktop computer, due to the fact that I've attempted a couple of (and also the concern continues to be).

What can I do around this?

0
2019-05-05 04:49:26
Source Share
Answers: 9

Install a 2nd Linux system on your connect with an excellent quantity of RAM, NFS place it to your major system, and also placed the swap documents on that particular.

0
2019-05-17 10:02:28
Source

You can attempt compcache, if you can identify just how to set it up in your distro. As an example, on Ubuntu, you can enable it by editing and enhancing / etc/initramfs - tools/initramfs. conf and also editing and enhancing the "COMPCACHE_SIZE" line.

I do not assume my on - disk swap has actually been touched as soon as given that I made it possible for compcache. Below are my existing swap statistics :

% swapon -s
Filename                                Type            Size    Used    Priority
/dev/ramzswap0                          partition       1028084 69504   100
/dev/sda5                               partition       3148668 0       -1

Notice that the compcache tool (ramzswap0) is made use of, and also the on - disk tool (sda5) is not.

0
2019-05-08 19:39:48
Source

I run the System Monitor applet in a dock on the appropriate side of my screen. At any time that the system really feels slow-moving, I have a look at the meters. If anything is going for over 10% ability, that is a sign that a procedure is leaving hand.

If you click the system display, you can dig in to the procedures that are consuming sources on your system.

http://www.colliertech.org/~cjac/tmp/screenies/system_monitor.png

0
2019-05-08 13:42:48
Source

A couple of years ago it was common to make use of a committed drive for swap, while attached to it's very own IDE/ATA bus - exchanging information around on the very same drive simply really did not make good sense in regards to performance.

That method functioned 10 years earlier, yet with drive rates currently you actually should not see such frantic performance destruction, unless you're exchanging the collection of congress, or else I would certainly be worried concerning your drive's wellness - have you examined that recently?

You can constantly offer it a shot, you do not have much choices if your RAM is currently maxed out. If anything I wish it makes your GUI extra receptive.

0
2019-05-08 12:31:31
Source

Purchase much faster RAM and also see to it your system is making use of all of it. What CPU and also style are you making use of?

0
2019-05-08 10:04:57
Source

Swapping will greatly decrease performance whatever, so it's ideal to stay clear of that completely. This might appear foolish, yet one alternative is to not set up a swap dividing. I've been running swap - free on all my systems for time currently :

  • 1 GB on the netbook suffices for surfing the internet, paying attention to songs and also various other light-weight things.
  • 4 GB on my desktop computer suffices for all over points plus growth (also in Eclipse) and also standard photo editing and enhancing.

If you do something that's actually memory extensive (Gimp with huge photos, 3D modelling, CAD) than you need to possibly acquire some RAM.

0
2019-05-08 09:30:34
Source

I recommend reviewing SwapFAQ, specifically the swapiness parameter.

0
2019-05-08 08:35:28
Source

Purchase more memory? :)

If you are running applications that are making use of more memory than you have existing in the. system, there's absolutely nothing that any kind of os can do around this various other after that to. swap to the swap dividing. If this is a scenario you locate on your own in usually, stop. running several of the programs that you do not require, or, actually, acquire more memory, it is. really cost-effective nowadays.

0
2019-05-08 07:43:19
Source

Some reminders :

  1. Don't run numerous GUI programs simultaneously.
  2. See to it that any kind of programs running in the history that you do not require as an example Apache are quit.
  3. Make use of a distro focused on reduced - memory scenarios (as an example for a netbook)
  4. Buy even more memory.
  5. Acquire a much faster HD (or SSD) for your swap dividing. :)
0
2019-05-08 05:44:04
Source