LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-28-2007, 08:00 AM   #1
Uqbar
LQ Newbie
 
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14

Rep: Reputation: 0
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.
 
Old 08-28-2007, 08:14 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.
 
Old 08-28-2007, 09:26 AM   #3
Uqbar
LQ Newbie
 
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 08-28-2007, 09:43 AM   #4
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
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.
 
Old 08-28-2007, 10:43 AM   #5
Uqbar
LQ Newbie
 
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 08-29-2007, 05:49 AM   #6
gampy
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 2

Rep: Reputation: 0
Are basics covered, like DMA mode for your drives? Maybe that's irrelevant if you're using SATA drives.
 
Old 08-29-2007, 08:04 AM   #7
Uqbar
LQ Newbie
 
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 09-05-2007, 09:44 AM   #8
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
Are you using a 64 bit kernel? If yes, it's a well-known currently unresolved problem with the scheduler.
 
Old 09-05-2007, 09:52 AM   #9
Uqbar
LQ Newbie
 
Registered: Aug 2007
Location: Regnum Utriusquĉ Siciliĉ
Distribution: (K)Ubuntu 11.04
Posts: 14

Original Poster
Rep: Reputation: 0
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!
 
  


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
Slow mouse responsiveness in X, is this normal? orgee Linux - Software 20 10-25-2004 02:46 PM
UI responsiveness yaBoy Linux - Laptop and Netbook 1 05-21-2004 05:23 PM
Improving USB Keyboard Responsiveness? dumtruck51 Linux - Newbie 4 12-26-2003 10:54 AM
USB problems with 2.6.0test11 - LOW system responsiveness GD_19 Linux - Hardware 1 12-03-2003 01:31 AM
Kernel tweaks/patches to improve responsiveness? sb73542 Linux - General 3 08-26-2003 02:47 PM


All times are GMT -5. The time now is 02:54 PM.

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