LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-03-2003, 05:30 AM   #1
Sabeer
Member
 
Registered: Mar 2003
Posts: 38

Rep: Reputation: 15
Fine Tune Performance Help?


Hi


I have a linux box Red hat 8.0 installed
The Hardware configuratuion is fine with Pentum111 and 256 MB RAM

Now I am using my machine and the same time i give access to others user to access my machine through VNCserver
They access it by VNCveiwer and also through telnet

They specially use it for Database accessing(Postgresql)

So when others user uses my machine and he tries to insert bulk data into the database
automatically I cannot use my session it is get slow and not able to even move my mouse

So can anyone tell me how to fine tune the performance of my machine

i.e. I should to restrict the other user sharing the system resourses.It should be evenly distributed that is the other user should be restricted from using more resourses
so i should also be able to work in my machine smoothly while other user using my machines

My point is the other user should using the system resourses evenly I do not bother about the time ,Let it take more time
but I should also be able to access my machine smoothly when other user inserts data and others from remotely

So how to share the resoures and allocate quota
Guide me

regards
Sabeer
 
Old 06-03-2003, 04:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Firstly you'll have to check using top
which process(es) actually grab(s) the CPU
and look at the memory footprints and
swap activity ...

I don't think that you should be using
VNC to toy with the database, I'd recommend
to either create a little frontend for the client-side
or build a web-page that allows data manipulation.

Cheers,
Tink
 
Old 06-04-2003, 02:27 PM   #3
gbbenson
LQ Newbie
 
Registered: Jan 2003
Location: Munich, Germany
Distribution: Linux from Scratch
Posts: 29

Rep: Reputation: 15
Performance tuning - especially with databases - can be an artform. In most cases that I've ever dealt with (this includes multiple Sybase and Oracle deployments on HPUX and Solaris), I/O is the limiting factor. Most performance improvements were achieved on the database or application side. This may or may not be true for your system. Definitely check top and memory. But, let's assume that its I/O.

With Linux, the version of the kernel cannot be discounted. For example, on my RH 7.0 partition I get a throughput of about 2.5 MB/s to the IDE disks, where as on my LFS 4.1 partition I get about 32 MB/s - same CPU/RAM/hard drive. The kernel is the difference. In the 2.2.16 kernel on RH 7.0, DMA is not detected properly, whereas the 2.4.20 kernel on my LFS 4.1 detects DMA automatically. Also, I'm sure that there are various memory handling improvements between 2.2.14 and 2.4.20.

There is a nice little application for changing I/O parameters for the hard drive, called hdparm:

http://freshmeat.net/projects/hdparm/

But BE CAREFUL!!! Evidently, there is some evidence (albeit anecdotal) that this program can corrupt hard drives.

Hope this helps...
 
Old 06-04-2003, 04:43 PM   #4
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 827

Rep: Reputation: 30
man hdparm
 
Old 06-05-2003, 03:55 AM   #5
realos
Member
 
Registered: Jul 2002
Location: Germany
Distribution: Redhat 7.3, Debian 3.1, Knoppix 3.1, Ubuntu 6.10
Posts: 113

Rep: Reputation: 15
hi Sabeer,

first thing for fine tuning the machine should be compiling an appropriate kernel for your machine...
 
  


Reply



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 to tune 4.1 sound Nad0xFF Linux - Hardware 2 04-10-2005 10:45 AM
MythTV PVR250 - Everything works, fine tune picture???? Giallo998 Linux - Software 1 03-21-2005 11:35 PM
need 2 remove kernel fat from boot and fine tune what's left mjewell Linux - Newbie 10 01-24-2004 08:01 PM
Fine Tune Performance Help? Sabeer Linux - General 1 06-03-2003 08:49 PM
Time to tune up applications linuxfond Linux - Newbie 1 02-28-2003 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:48 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