| Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-28-2007, 08:00 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14
Rep:
|
How to enhance responsiveness?
Hi all.
Everytime I need to do some heavier load task the system becomes unresponsive even to do simple text editing.
For eaxmple, rebuilding large indexes in a DB, copying large files, burning optical media (thus non interactive tasks) make all other interactive task not responding even for minutes.
Now, as modern hardware has plenty of CPU cycldes, memory and disk space.
Interactive processes use a very small amount of CPU cycles and other system resources and a common expectation is to have a good responsiveness provided decent hardware.
Is there a way to enhance the responsiveness by, say, teaking some /proc or /sys parameter?
Infact I wouldn't mind if a file copy takes 1 hour or 1 hour and 15 seconds. But I'd like to be able to edit my source code during the DB indexes rebuild or DVD backup process.
Many thanks in advance.
|
|
|
|
08-28-2007, 08:14 AM
|
#2
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,817
|
What distribution and kernel are you running?
Generally speaking, some distributions are simply "heavier" than others, and require some tweaking to get full responsiveness. For example, Ubuntu would perform much slower than Slackware when installed on the same machine, simply because Ubuntu has so much going on by default, while Slackware keeps only to the basics.
As for the kernel, you will generally get a big performance boost by compiling your own kernel for your own hardware. This will give you a much more efficient operating system over using the stock kernels which are designed to be widely compatible rather than efficient.
|
|
|
|
08-28-2007, 09:26 AM
|
#3
|
|
LQ Newbie
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14
Original Poster
Rep:
|
Yes, I run KUbuntu 7.04 (Feisty Fawn).
The point is that low responsiveness seems to be related to the skeduler itself rather than the bloat of processes.
Even if I switch XWindows off, I don't solve my problems.
So I would say the problem is in the schedules.
When I don't need the intyeractive processes like the shell+vi, the systems is very fast in my perception.
The troubles come with interactive tasks.
|
|
|
|
08-28-2007, 09:43 AM
|
#4
|
|
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189
Rep: 
|
You've also mentioned "modern hardware" without giving any of your specifics. What is your hardware configuration. Is it possible it needs something more? Or that something is not configured correctly? Or entirely compatible? Do the system log files show anything? Repeated hardware errors for example?
Shell and vi should be very fast.
|
|
|
|
08-28-2007, 10:43 AM
|
#5
|
|
LQ Newbie
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14
Original Poster
Rep:
|
Modern hardware means 1GB RAM, Core Duo T2400@1.83GHz.
All hardware is working accordingly to the dmesg output.
In any case, if I install Windows XP I get a system that is much more responsive. So i would exclude the hardware.
|
|
|
|
08-29-2007, 05:49 AM
|
#6
|
|
LQ Newbie
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 2
Rep:
|
Are basics covered, like DMA mode for your drives? Maybe that's irrelevant if you're using SATA drives.
|
|
|
|
08-29-2007, 08:04 AM
|
#7
|
|
LQ Newbie
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14
Original Poster
Rep:
|
Maybe you hit the spot.
I had set the configuration files but it seems it's not working:
root@home:/home/enzo# hdparm /dev/sda
/dev/sda:
IO_support = 0 (default 16-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 14593/255/63, sectors = 234441648, start = 0
root@home:/home/enzo# hdparm -c 1 -d 1 /dev/sda
/dev/sda:
setting 32-bit IO_support flag to 1
HDIO_SET_32BIT failed: Invalid argument
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
IO_support = 0 (default 16-bit)
So now I need to face this other problem with Ubuntu Feisty!
Thanks gampy.
|
|
|
|
09-05-2007, 09:44 AM
|
#8
|
|
Member
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260
Rep:
|
Are you using a 64 bit kernel? If yes, it's a well-known currently unresolved problem with the scheduler.
|
|
|
|
09-05-2007, 09:52 AM
|
#9
|
|
LQ Newbie
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14
Original Poster
Rep:
|
I'd be using 32-bit code:
Linux version 2.6.20-16-generic (root@terranova) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Fri Aug 31 00:55:27 UTC 2007
Maybe it's another bug!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:15 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
|
|