LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-04-2009, 02:45 PM   #1
isamuede
Member
 
Registered: Jun 2008
Posts: 57

Rep: Reputation: 16
Wink tunning linux


Yo there, I whish to hear some suggestions about fine tunning linux [I mean get the most of the hardware in terms of speed].
Im speaking of a machine amd athlon x2 @ 2.2 Ghz and 512 Mb and a Turion 64 @ 2Ghz with 4 Gb.
Both are intended to coding, electronics simulation, tex writing and virtualization.

Thanks in advance!!!
 
Old 05-04-2009, 03:23 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I don't know much about any advanced linux tuning, but there are a few simple steps to increase the performance of your linux:

1. Get a lightweight desktop environment (xfce, fluxbox, etc)
2. Switch off all the unnecessary services.
3. Install a 64bit linux on your 4gb box (a 32bit version can recognise only slightly over 3gb of your RAM. There are PAE kernels, but AFAIK, the performance is better on a true 64 bit system.)

4. You might also read something about real-time kernels. I don't know much about them and am not sure how they affect performance in terms of speed.

Last edited by sycamorex; 05-04-2009 at 04:05 PM.
 
Old 05-04-2009, 03:53 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by sycamorex View Post
I don't know much about any advanced linux tuning, but there are a few simple steps to increase the performance of your linux:

1. Get a lightweight desktop environment (xfce, fluxbox, etc)
2. Switch off all the unnecessary services.
3. Install a 64bit linux on your 4gb box (a 32bit version can recognise only slightly over 3gb of your RAM. Ther are PAE kernels, but AFAIK, the performance is better on a true 64 bit system.)

4. You might also read something about real-time kernels. I don't know much about them and am not sure how they affect performance in terms of speed.
1 & 2 above are probably the best suggestions that could be made (although I'm not really sure how much the lightweight UI helps, once you have ample amounts of ram).

There was another thread asking about the performance loss with PAE, but so far, the poster hasn't received any quantitaive data ((bah! update: look here http://www.linuxquestions.org/questi...ce-hit-723652/ for suspicions of numerical data). I suspect (over a non-pae 32 bit system) it isn't much, but I don't know. 64 bit has advantages and disadvantages, and I think, in most cases, the balance is for a rather modest advantage, but it depends somewhat on what testing you do. Maybe the phorons over at phoronix have something for you.

Unfortunately, real time has two meanings. The one that is most relevant in this context is as in Redhat/SuSE for fast database access. As this is essentially a rebalancing of scheduler behaviour, I think I can be sure that this is very dependant upon loading and the test employed and is advantageous for the intended application, but as nothing is clear about the OPs intended application, I can say no more (and probably could not say much more, even if I did know more about the application).

Oh, turn off 'atime', adjust swappiness if that's what floats your boat (probably you can make your system feel more responsive in the normal case, at the expense of degraded response in overload situations), look at mount options for journalling filesystems to check that they are what you want (defaults for the safety:speed tradeoff differ among distros) and think about wheteher the filesystem types and partitioning types are right for your workload.
 
Old 05-04-2009, 04:01 PM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
...got distracted...

and if some of this is networking performance, consider, in particular, name resolution performance (should you be caching look ups in some way?) and maybe squid as a proxy server (although, I've been a bit underwhelmed by the speed gains from squid, but then there are other advantages too, and you need to do a bit of config to get the best out of it).

Of course, these are pre-canned reccomendations for some kind of imagined situation; it would be far better if we knew what was slow, what the data was on your particular situation and what was and wasn't running well and what is and isn't causing you problems, backed up with data.
 
Old 05-04-2009, 07:53 PM   #5
isamuede
Member
 
Registered: Jun 2008
Posts: 57

Original Poster
Rep: Reputation: 16
First thanks for the reply:Salasi and Sycamorex. You are great gurus of this business.
By the way the enviroment of these machines arent to acces a wide range of users , its me and perhaps 2 or 3, so the network delays arent so much concern. Im a bit more in terms of volume transfer in my own partitions. I ve alywas used ext3 fs and given the swap gigs instead of megs [dunno if this is good or bad].
Im checking the PAE data, because of the magic I ll try to do, im focused towards the 64 bities, [My boss is a freak and tell me its more sharp and acute to use it =)!].
Im testing it and post my results here. Stay tuned!!!
 
Old 05-05-2009, 02:45 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,397

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
I'd definitely add more RAM to the Athlon. The more of your stuff you can get in RAM the faster it'll feel.
 
Old 05-05-2009, 05:22 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Compile a kernel for your architecture, plus other options, see here Chapter 7 mostly:
http://www.kroah.com/lkn/

What distro are you using ?

You can also try other filesystems such as JFS, XFS for possible improved performance in some areas.

Plus the stuff said above:
avoid KDE, GNOME, even XFCE
turn off start up programs
 
Old 05-05-2009, 11:09 AM   #8
isamuede
Member
 
Registered: Jun 2008
Posts: 57

Original Poster
Rep: Reputation: 16
Thanks chrism01 and H_TeXMeX_H , you are very kind men.!!!!=)!
unfortunately I only have 512mb modules. and the brakets of the slots are broken =(!!! [ideas to fix it are welcome!!!] and Im cheking the kernel to recompile right now!!!
Thanks. Expect results!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on tunning rsync MTU Moaahk Linux - Software 1 06-12-2008 12:01 PM
Performance Tunning Guidence Needed ratul_11 Linux - General 1 10-09-2007 09:01 PM
Traffic control: tunning and overview SCerovec Linux - Networking 0 08-02-2007 03:50 AM
How to do Best tunning for Squid Cache !!! New to Linux World brains_online LinuxQuestions.org Member Intro 1 11-29-2004 09:02 AM
How to do Best Tunning for Squid (Caching and DNS) brains_online Linux - Networking 1 11-27-2004 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration