how do you improve linux performance

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

how do you improve linux performance

Postby Voodoo » Oct 26th, '12, 06:02

my hardware is old, not too old (pentium dual core)

I was just wondering if there are any tricks/tips to improving linux performance

I only use mageia
rip steve jobs
User avatar
Voodoo
 
Posts: 54
Joined: Jul 9th, '12, 15:14

Re: how do you improve linux performance

Postby Ken-Bergen » Oct 26th, '12, 06:18

A lighter desktop, LXDE, fluxbox etc?
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: how do you improve linux performance

Postby Voodoo » Oct 26th, '12, 06:54

im using kde.

i meant is there any files that are worth modifying, is there any art to this
rip steve jobs
User avatar
Voodoo
 
Posts: 54
Joined: Jul 9th, '12, 15:14

Re: how do you improve linux performance

Postby doktor5000 » Oct 26th, '12, 18:05

Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18017
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: how do you improve linux performance

Postby digigold » Nov 13th, '12, 13:17

If you like KDE, but want a lighter solution I highly recommend using qtCurve. It must run with either Kwin or OpenBox, so make sure it's using Kwin. I've always used either KDE, LXDE or FluxBox. I now use qtCurve w/KWIN instead of LXDE. Don't like qtCurve w/OpenBox though so if qtCurve+KWIN is too heavy I just use FluxBox.
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: how do you improve linux performance

Postby doktor5000 » Nov 13th, '12, 18:46

digigold wrote:If you like KDE, but want a lighter solution I highly recommend using qtCurve.

Or try razor-qt desktop ;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18017
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: how do you improve linux performance

Postby digigold » Nov 13th, '12, 19:54

doktor5000 wrote:Or try razor-qt desktop ;)

Wow...guess I was working too late, I referenced razor-qt as qtCurve for like 20 mins in multiple posts w/o noticing...Was trying to learn qt4-designer and I must have blown a circuit up top... :oops:
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: how do you improve linux performance

Postby doktor5000 » Nov 13th, '12, 20:17

I know what you mean
*narf*
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18017
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: how do you improve linux performance

Postby zugunder » Nov 14th, '12, 06:21

In Mageia 1 with the latest video drivers for Intel (4th series) XRender loads CPU noticeably less than OpenGL rendering. I heard it is due to pretty bad OpenGL support for Intel video. Not sure if it the same in Mageia 2 and with newer Intel graphics.
zugunder
 
Posts: 388
Joined: Jun 10th, '11, 00:22

Re: how do you improve linux performance

Postby louielouie » Nov 21st, '12, 05:00

There's certainly enough configuration files that a few tweaks can make the system seem a little more responsive: the IBM Redbook on the Linux *kernel* has many optimizations that can be applied. Using a different file system can reduce load on the cpu and that can be configured as well.
Many kernel parameters can be affected in the /etc/sysctl.conf file - I like:

vm.swappiness = 90 # Could even go to 100 for snappy user response at the expense of throuput.
vm.dirty_ratio = 35
vm.dirty_background_ratio = 15
net.core.rmem_default = 8388608
net.core.rmem_max = 8388608
net.core.wmem_default = 8388608
net.core.wmem_max = 8388608
net.ipv4.ipfrag_low_thresh = 262144
net.ipv4.ipfrag_high_thresh = 393216
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 87380 8388608

as a starting point while the large aerospace company I work for has many other tweaks for reducing network traffic. Ext4 with "relatime,commit=50" helps the filesystem if you have a reliable power backup while an SSD hard drive for booting the kernel is certainly faster. This is assuming you have enough hardware (memory, fast h/d, etc.) for the tweaks to make a difference. There is no single "George Jetson" button...
-LouieLouie
louielouie
 
Posts: 30
Joined: Feb 29th, '12, 05:05
Location: 42.214014, -122.83402


Return to Advanced support

Who is online

Users browsing this forum: Google [Bot] and 1 guest