LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2005, 12:50 PM   #1
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Rep: Reputation: 15
Moving a window uses 100% cpu, is this right?


I've been assuming this is just the way linux is generally, but I thought I should check. When I move a window in GNOME the cpu usage shoots up to 100%. Also when I have quite a few programs running my mouse is 'jumpy' and when I move windows around they leave a trail behind. In fact generally I would say linux is a lot more sluggish than windows xp.

Is this all normal behaviour? Is linux multithreading basically not as advanced as windows? or is it something to do with my setup?

Cheers,
 
Old 02-23-2005, 02:18 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
Hmmm ... depends on what CPU you have, I suppose,
and, if the programs require hdd read/writes, whether
DMA is enabled or not... generally speaking Linux'
beats Windows at mutlitasking/multithreading with the
hands tied to the back ;)


Cheers,
Tink
 
Old 02-23-2005, 03:58 PM   #3
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
OK, I have an Athlon 1.3 and like I say I dont have any problem with windows xp. Also DMA is enabled for all drives.

Is there anything I should look out for/commands I should run if linux is behaving more sluggishly than it should? Anyone know any good tutorials or have any tips on how to diagnose the cause of this slowness?
 
Old 02-23-2005, 04:08 PM   #4
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
Code:
fdisk -l | grep Disk | awk 'BEGIN{FS="[ :]"}{print $2}' | xargs hdparm
That will tell you whether DMA is enabled for any
hdd in your system


Cheers,
Tink
 
Old 02-23-2005, 04:26 PM   #5
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
Thats pretty cool, need to learn how to mix up commands like that.

Anyway, DMA is definately enabled on both drives, confirmed with your code.

Anything else to check?
 
Old 02-23-2005, 04:42 PM   #6
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
Hmmm ... what graphics card/chipset are you using?

And did you try a different WM/DE? I'm using Flux
on a P4 1.8 with a radeon mobility here, and when I drag
a reasonably big window around I can't get more than
20% CPU usage out of mine ... I don't have Gnome installed
so can't test how that behaves.


Cheers,
Tink
 
Old 02-23-2005, 04:53 PM   #7
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
Using ATI Radeon 9550 with the drivers on the ATI site. I've checked logs and it seems to initialise OK along with the AGP (it comes with its own AGP driver).

Whats a WM/DE? Assumedly alternatives to GNOME like KDE... I havnt got any installed. It would be a shame to lose all my settings if I have to switch.

Cheers for all this help.
 
Old 03-11-2005, 02:34 PM   #8
jankom
Member
 
Registered: Jan 2004
Distribution: Fedora
Posts: 31

Rep: Reputation: 15
Your wrote: my mouse is 'jumpy' and when I move windows around they leave a trail behind.

I have the same problem, see new thread from yesterday - no replies yet.

Everything is fine if I use 'nv' display driver, not 'nvidia'. With 'nv' I do not have glx support.

It seems to me that this problem is related to glx enabled in the display driver and/or AGP, but I don't know enough to go further.

My machine is with Athlon 1800Mhz and Nvidia Riva TNT2.

Janos
 
  


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
100 % Cpu Volcano Linux - Newbie 27 10-05-2005 10:58 PM
X Using 100% CPU windisch Linux - Software 2 09-29-2005 11:35 AM
cpu nearly always at 100% xround Linux - Hardware 6 09-17-2004 05:51 AM
CPU on 100% very often Satriani Linux - General 25 12-23-2003 03:41 PM
Moving to 100% Linux mikeyt_333 Linux - General 15 02-14-2002 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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