LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-21-2005, 01:31 PM   #1
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Rep: Reputation: 15
Slow performance with linux compared to winxp


Hi, I've had this problem ever since I've been playing with linux and never found a resolution. I find linux runs much more "jerkier" than windows (talking GUI here), with soo many basic operations making the processor usage shoot up to 100% (moving a window around, for example). Its hard to give specific examples because its just a general 'feel' of linux, everything seems to involve that little bit of lag, nothing is smooth... unlike windows xp, which runs perfectly smoothly. At its worst I've actually had xmms stop playing mp3s because I've been moving a window around. I'm using Fedora 4 right now, but I had exactly the same experience with CentOS 3.

Can anyone suggest to me likely/common causes of this general lag? Perhaps linux simply cannot be expected to be as smooth as windows? Is this a common issue, or is it something to do with my specific setup?

Any help much appreciated.
 
Old 08-21-2005, 01:37 PM   #2
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Get more ram.
 
Old 08-21-2005, 01:43 PM   #3
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
RAM doesnt seem to be an issue. According to system monitor I got plenty. Its more to do with procesor hitting 100% for minor things. I just watched system monitor whilst I moved the mouse cursor around and it was hitting 30% processor usage! just for moving my mouse! That cant be right.

My spec is:
1.3 Ghz Athlon
768MB RAM
ATI 9550 - with official fglrx drivers

Any more suggestions?
 
Old 08-21-2005, 02:22 PM   #4
ctkroeker
Senior Member
 
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
I think FC4 is CPU hungry.
 
Old 08-21-2005, 02:26 PM   #5
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Rep: Reputation: 53
I agree with the previous poster.

Pop in something like Ubuntu, Debian or Gentoo and you will be AMAZED at how fast it runs
 
Old 08-21-2005, 02:31 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
CentOS is slow because it is a RedHat rebuild
should be
Quote:
I find RedHat and RedHat type clones runs much more "jerkier" than windows
 
Old 08-21-2005, 02:42 PM   #7
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
Ah no dont say that! Spent so much time getting fedora how I like it. Besides, as I said I had the same issue with centos 3. To add a couple more specifics: Scrolling the page in firefox, file browser, etc is sluggish and unresponsive. Dragging a window leaves a trail behind (and as I said gives 100% cpu usage).

From top it seems that X uses most of the CPU when I move a window around, followed by whatever program is needing to repaint because of the covering/uncovering of it by said window. Together they add to just under 100%, not sure where the other few percent goes to make it 100%, but it does.

So basically, I should just expect linux to have a lower performance threshold that wndows xp? Even though it is seemingly (at least on the GUI side) much more simple? Dont know if I could cope with that. Looks like I'm going back to xp for a while.
 
Old 08-21-2005, 02:49 PM   #8
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Quote:
I should just expect linux to have a lower performance threshold that wndows xp?
No, but I can't see from here what you didn't do to get Linux configured. Is your kernel optimised, is all your hardware working properly, do you use Opengl with the desktop, are you running the unstable xcompmgr with Xorg etc?

Linux should outperform any Windows box, since it multi-processing and ram usage is much better.
 
Old 08-21-2005, 03:15 PM   #9
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
OK now this is more like it.

How would I go about optimizing my kernel? Does this usually result in a large performance increase?

Pretty damn sure my hardware's working properly.

I have latest ATI opengl drivers installed and can only assume I'm using opengl for my desktop. How would I go about checking this?

I looked in system monitor, couldn't see anything called xcompmgr.


See, this is the stuff I was on about, there must be a load of common causes of slowdowns -- I dont know any because I'm new but you all must know some.

Cheers for the responses so far.
 
Old 08-21-2005, 03:33 PM   #10
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Kernels can be adjusted to the processor, making them instantly perfrom better. Kernels on Fedora:
http://www.mjmwired.net/resources/mjm-kernel-fc4.shtml


Check Direct rendering with the command glxinfo. It should read "yes".

There is also a utility called hdparm, which enables DMA on your drives. Debian has DMA by default, but other distro's don't I believe.

http://ale.freeshell.org/pread/hdparm.html
 
Old 08-21-2005, 03:41 PM   #11
piggyaugu
LQ Newbie
 
Registered: May 2005
Posts: 24

Rep: Reputation: 15
1.get the properly optimized kernel for ur CPU

2.make sure that u have the right configuration for the graphic acceleration in X.org



normally, FC4 performs well. at least on my T41
 
Old 08-21-2005, 08:51 PM   #12
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
OK, tried suggestions above. I got optimized tweaked kernel and recompiled... but no performance increase, and in fact lost my ntfs support! (and couldnt get it back, package already installed, yet filesystem not recognized) so I went back to my previous kernel.

I dont really understand the xorg.conf file, but I messed around with a few settings to no avail.

I am leaning towards a problem with my ATI driver. Was wondering if anyone could look at their settings and tell me if, like mine, the ATI control panel displays "Card name: unknown" and "Chip type: unknown" for display adapter? The OpenGL section all looks right. And in system settings->display, under "hardware" I have "Monitor type: Unknown monitor" and "Video card: Unknown video card"

Reason I ask is because after I changed kernel, on the first boot it failed to load the fglrx module, yet nothing changed - which leads me to suspect even when its loaded its not being used somehow.

Help!
 
Old 08-22-2005, 05:33 PM   #13
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
What are your system specs?
 
Old 08-22-2005, 05:36 PM   #14
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
Posted above, but here again for you:

My spec is:
1.3 Ghz Athlon
768MB RAM
ATI 9550 - with official fglrx drivers
 
Old 08-22-2005, 05:48 PM   #15
mstep
LQ Newbie
 
Registered: Jun 2005
Posts: 23

Rep: Reputation: 15
At the end of the day, whether you have fc4 exactly how you like it or not it sounds like it would be much less work to just simply install another distribution. I have an old machine. By the end of its previous life it was struggling to run windows 98, there was no way it could handle xp. But Debian is nothing short of a miracle. Honestly judging by the speed of operation you could be fooled into thinking it was a brand new system. Don't assume linux in general is always slower than windows.
 
  


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
linux slow compared to windows? InsaneLampshade Linux - Newbie 11 09-17-2007 06:48 PM
Web page load time in Linux browsers is slow compared to ... the_rhino Linux - General 1 02-11-2005 08:23 PM
System stability/performance, Linux vs WinXP questions... hollywoodb Linux - General 1 11-15-2003 04:41 PM
redhat slow compared to mdk 9 DAChristen29 Linux - Distributions 56 07-11-2003 08:57 PM
Windows Dial up is Slow... Compared to Linux. trickykid General 5 07-20-2001 06:06 PM

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

All times are GMT -5. The time now is 08:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration