LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-28-2004, 11:33 AM   #1
tradingbr
LQ Newbie
 
Registered: Apr 2004
Posts: 11

Rep: Reputation: 0
How to REALLY improve linux performance?


I'm using blackbox with no desktop, and with almost no
programs on rd.5(the 's' are xfs,random,network,local others are k)
and the local dont have any program. The problem is when I run
Jboss, Postgres, Jedit, my machine starts to became slow

then if I open firefox to search for Documentation the hell starts
and things because veyr slow, so I have to keep opening and closing
which is kinda unproductive for me. I cant buy new hardware now as I'm broke.
Can I improve performance?

I'm tryed to use Dillo browser for a while but that thing sucks, very difficult to work with
I changed my terminal to aterm and put on 256 colors to try to make things better
here is my top output with the programs opened

Code:
PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
2233 root      23   0  113M  76M  1144 S     2.7 32.7  11:06   0 java(JBOSS)
 2376 root      23   0 63440  25M  1548 S     0.0 11.0   7:14   0 java (JEDIT)
 8943 root      15   0 28392  25M 11288 S     0.0 10.9   0:35   0 firefox-bin
 9074 root      15   0  9516 9512  6948 R     6.1  3.9   0:01   0 gnome-terminal  (dont use, just for cut and paste)
 2151 root      15   0 26096 3396   716 R    11.9  1.4   3:28   0 X
 9076 root      23   0  2352 2352  1856 S     0.0  0.9   0:00   0 bonobo-activati (no idea what it is, any clue?)
 8947 root      15   0  2348 2348  1312 S     0.0  0.9   0:00   0 gconfd-2 (tried to removed it, but coundt)
 9037 root      22   0  1416 1416  1108 S     0.0  0.5   0:00   0 bash
 9078 root      18   0  1408 1408  1112 S     0.0  0.5   0:00   0 bash
 9036 root      15   0  1384 1384  1088 S     0.0  0.5   0:00   0 aterm
 9104 root      15   0  1080 1080   868 R     0.3  0.4   0:00   0 top
 2168 root      15   0   920  804   544 S     0.0  0.3   0:01   0 blackbox
 6477 postgres  15   0   912  592    84 S     0.0  0.2   0:00   0 postmaster (POSTGRESQL)
 9077 root      21   0   592  592   516 S     0.0  0.2   0:00   0 gnome-pty-helpe (can be ignored)
 2018 root      15   0   648  484   364 S     0.0  0.2   0:00   0 dhclient (network)
 2099 xfs       15   0  2660  400   108 S     0.0  0.1   0:00   0 xfs
 2245 root      15   0   544  364   248 S     0.0  0.1   0:00   0 aterm

FREE output
             total       used       free     shared    buffers     cached
Mem:           232        229          3          0          5         70
-/+ buffers/cache:        153         79
Swap:          478        191        286
How I could improve performance? Changing to monochromatic dont
work as my video dont support. I thought about going FULL console mode
but I need jedit for productivity as is hard for me to manage the j2ee project with vim
I want to make it faster so I will be able to maybe even run Eclipse ide or netbeans or something.
Any ideas?
 
Old 04-28-2004, 11:52 AM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
How about some hardware specs, to see if you can make it faster.
 
Old 04-28-2004, 04:46 PM   #3
tradingbr
LQ Newbie
 
Registered: Apr 2004
Posts: 11

Original Poster
Rep: Reputation: 0
AMD 900mhz
256MB 478MB SWAP
11GB linux partition 5GB used
RH9
 
Old 04-28-2004, 04:57 PM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
I would add some RAM.... I know you said no hardware but I think that would help more than changing your video settings...
My
 
Old 04-28-2004, 04:59 PM   #5
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
What you could do is recompile the kernel with only the things you need. That would take some load off your memory. I don't actually know how to improve speed. Unless you are into overclocking. But it amazes me that on a 900MHz you get lag. I don't think RAM is the question here. I had 256 and upgraded to 512 and it doesn't seem any different.

j2e is a Java VM?
 
Old 05-01-2004, 09:49 AM   #6
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
If your on kernel 2.6.x you could try tuning your swapiness , that may help with the memory problem. More info is available here .
 
Old 05-01-2004, 11:01 AM   #7
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
i too think kernel compiling is the best option

do not install a precompiled 2.6 kernel.
compile the new one urself
 
Old 05-01-2004, 11:38 AM   #8
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Rep: Reputation: 30
Those hardware specs are quite good ... I'm running slackware on *much* worse systems and it runs very well really (slack 9.1 on P200 with 64MB, slack 8.1 on P120 with 16MB). Something else is likely the matter.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I improve gnome performance? pfaendtner Linux - Software 16 04-14-2005 11:52 AM
Is there a way to improve java performance? jeffreybluml Linux - Newbie 1 07-10-2004 04:08 AM
How to Improve performance of PC Imran Aziz Linux - Software 3 06-03-2004 02:10 PM
improve scsi hd performance? bdp Linux - Hardware 2 01-12-2004 11:37 PM
ways to improve performance flipboi Linux - Newbie 6 10-25-2003 11:22 AM


All times are GMT -5. The time now is 04:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration