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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-05-2005, 09:19 PM
|
#1
|
Member
Registered: Nov 2005
Location: India
Distribution: Fedora 29
Posts: 197
Rep:
|
how to improve response time
hi
i wud like to know if there is a way to improve the response time of the application. i find the application r slow to react and also the applications do not refresh fast. i click on a minimized window, its takes sometime to display. i use gnome,fedora core3 on a P4 computer.
|
|
|
12-06-2005, 02:51 AM
|
#2
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
Maybe give some kind of definition as to how slowly your system responds? Also, how much RAM do you have, what windowmanager are you using, what other programs do you have running the background? Whilst it's running slowly, from a console type in "top" and paste the output back here, as this show how much memory is in use and what processes are running.
|
|
|
12-06-2005, 07:12 AM
|
#3
|
Member
Registered: Nov 2005
Location: India
Distribution: Fedora 29
Posts: 197
Original Poster
Rep:
|
hi thanks for offering help. i have 256 MB RAM and swap memory of 550 MB. heres the ouput of top,
Tasks: 60 total, 2 running, 58 sleeping, 0 stopped, 0 zombie
Cpu(s): 58.7% us, 7.9% sy, 2.0% ni, 30.8% id, 0.0% wa, 0.6% hi, 0.0% si
Mem: 223856k total, 217328k used, 6528k free, 9452k buffers
Swap: 562232k total, 0k used, 562232k free, 67136k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4514 arunvk 15 0 48808 10m 7576 S 23.9 5.0 0:15.16 nt
4041 root 15 0 69088 28m 7580 S 19.8 13.1 15:37.11 X
4411 arunvk 15 0 120m 52m 17m S 14.5 24.2 5:48.55 firefox-bin
4455 arunvk 15 0 38864 13m 8800 S 7.6 6.2 0:11.46 gnome-terminal
4352 arunvk 25 10 34400 19m 10m R 2.2 9.0 0:57.26 rhn-applet-gui
4229 arunvk 16 0 22728 9.9m 7172 S 0.2 4.5 0:01.42 gnome-session
4338 arunvk 15 0 14068 7588 6200 S 0.2 3.4 0:09.07 metacity
4373 arunvk 15 0 23736 11m 7876 S 0.2 5.2 0:09.09 wnck-applet
4534 arunvk 16 0 2716 992 784 R 0.2 0.4 0:00.16 top
1 root 16 0 3644 596 512 S 0.0 0.3 0:01.10 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.51 events/0
4 root 5 -10 0 0 0 S 0.0 0.0 0:00.07 khelper
16 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
87 root 5 -10 0 0 0 S 0.0 0.0 0:00.15 kblockd/0
95 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
151 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
152 root 15 0 0 0 0 S 0.0 0.0 0:00.11 pdflush
154 root 7 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
153 root 15 0 0 0 0 S 0.0 0.0 0:00.28 kswapd0
245 root 18 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
445 root 15 0 0 0 0 S 0.0 0.0 0:00.18 kjournald
1606 root 8 -10 1992 564 448 S 0.0 0.3 0:00.76 udevd
3568 root 19 0 1632 560 484 S 0.0 0.3 0:00.00 acpid
3593 root 16 0 2824 296 244 S 0.0 0.1 0:00.00 inputattach
3605 root 16 0 2808 576 500 S 0.0 0.3 0:00.04 gpm
3676 xfs 16 0 4632 1708 924 S 0.0 0.8 0:00.09 xfs
3695 root 18 0 2156 440 380 S 0.0 0.2 0:00.00 mingetty
3696 root 19 0 1900 440 380 S 0.0 0.2 0:00.00 mingetty
3697 root 18 0 3212 440 380 S 0.0 0.2 0:00.00 mingetty
3698 root 18 0 2228 440 380 S 0.0 0.2 0:00.00 mingetty
3699 root 22 0 2740 440 380 S 0.0 0.2 0:00.00 mingetty
this is the most common scenario of the system. sometimes i run either xmms or openoffice. but never together.
thanks again.
|
|
|
12-06-2005, 08:21 AM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Add more memory. If you launch an application, it should be stored in memory and open up faster the next time if the machine is not powered off or no other applications were used extensively where xmms or any other application might have been bumped from memory.
If you find yourself opening just OpenOffice and XMMS; and both are opening like they haven't been opened on your system just after closing, it's time for a memory upgrade as OpenOffice itself can be pretty intensive on a machine with only 256MB RAM.
|
|
|
12-06-2005, 08:45 AM
|
#5
|
Member
Registered: Nov 2005
Location: India
Distribution: Fedora 29
Posts: 197
Original Poster
Rep:
|
i guess i have to do that. also will it help if i use a different window mangager or a different theme. right now iam using the default settings that come with gnome.
|
|
|
12-06-2005, 08:54 AM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally Posted by arunvk
i guess i have to do that. also will it help if i use a different window mangager or a different theme. right now iam using the default settings that come with gnome.
|
Using a lighter desktop or WM will most likely help. Gnome and KDE are very intensive desktops themselves, using something like Fluxbox, Blackbox, XFce and or the countless others would help tremendously to save some memory usage.
|
|
|
12-06-2005, 09:53 AM
|
#7
|
Member
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537
Rep:
|
You might also make sure that your video card driver is properly installed. I am using XFCE4 on a 1GHz machine with 512MB RAM, and a Matrox G400 card. Just replacing the default XFree86 driver with the proprietary Matrox Linux driver seems to have helped performance noticeably.
|
|
|
12-06-2005, 12:00 PM
|
#8
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,311
|
These sorts of response-time problems will definitely be linked to XWindows/XOrg, not to the system at large.
The "NT" process (whatever that is) is consuming a lot of CPU in your display, and "X" is right behind it. If "X" is seen persistently doing that ... from a top display that is not running in a terminal window, then a poor configuration of that subsystem is strongly indicated.
|
|
|
12-07-2005, 04:46 AM
|
#9
|
Member
Registered: Nov 2005
Location: India
Distribution: Fedora 29
Posts: 197
Original Poster
Rep:
|
thanks a lot for the tips guys. i will try them out.
|
|
|
All times are GMT -5. The time now is 08:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|