LinuxQuestions.org
Visit Jeremy's Blog.
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 01-04-2010, 08:32 PM   #1
AlastairSC
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Rep: Reputation: 0
Why does it take 3 hours for the terminal to respond to lspci command?


Joined the Linux community last week with a clean install of Ubuntu 9.10 and the Edubuntu overlay onto my wiped Dell Inspiron 8000 with 512MB RAM (max allowed) and nVidia GEForce2 GO video card.

<<lspci: 00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801BAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801BAM IDE U100 Controller (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 Go] (rev b2)>>



Everything worked a treat until I found GIMP a bit slow. I was advised to replace the Gnome desktop with Xubuntu (Xfce). I did this and removed the Gnome desktop. Now my laptop is slower than ever: online, offline, selecting items from menus, opening apps, even typing in the terminal. (Typing this message in this forum is excruciating as I can press 10-15 keys before my text appears!)

What has gone wrong? At this stage it's almost impossible to use. I typed "free -m" in the terminal and got the details below, but I gave up on the "top" command - after 3 hours it still hadn't finished!. If it was Windows I'd say perhaps a bug or memory leak or that going online without firewall or antivirus means I've been turned into a spambot; with Linux - well, I'm too new to know.Thanks to anyone who can help me...


Free -m:
total used free shared buffers cached
Mem: 509 467 42 0 32 233
-/+ buffers/cache: 195 301
Swap: 839 0 839


Top: (it took 3 hours for this to come up! I couldn't copy and paste it, nor take a screenshot as did not have a command prompt as it was still running but a synopsis follows:
load average 2.55, 2.38, 2.15
Processes 129 total, 2 running, 127 sleeping
CPU 91.8 us, 6.7 sy, 1.0hi, 0.7si
Processes:
Xorg 80% CPU
Firefox 4%
ica 3.5%


Whither next?
 
Old 01-04-2010, 09:04 PM   #2
leeley211
LQ Newbie
 
Registered: Jun 2006
Location: Angus, Ontario, Canada
Distribution: Ubuntu 8.04
Posts: 18

Rep: Reputation: 1
Cool

Quote:
Originally Posted by AlastairSC View Post
Joined the Linux community last week with a clean install of Ubuntu 9.10 and the Edubuntu overlay onto my wiped Dell Inspiron 8000 with 512MB RAM (max allowed) and nVidia GEForce2 GO video card.

<<lspci: 00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801BAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801BAM IDE U100 Controller (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 Go] (rev b2)>>



Everything worked a treat until I found GIMP a bit slow. I was advised to replace the Gnome desktop with Xubuntu (Xfce). I did this and removed the Gnome desktop. Now my laptop is slower than ever: online, offline, selecting items from menus, opening apps, even typing in the terminal. (Typing this message in this forum is excruciating as I can press 10-15 keys before my text appears!)

What has gone wrong? At this stage it's almost impossible to use. I typed "free -m" in the terminal and got the details below, but I gave up on the "top" command - after 3 hours it still hadn't finished!. If it was Windows I'd say perhaps a bug or memory leak or that going online without firewall or antivirus means I've been turned into a spambot; with Linux - well, I'm too new to know.Thanks to anyone who can help me...


Free -m:
total used free shared buffers cached
Mem: 509 467 42 0 32 233
-/+ buffers/cache: 195 301
Swap: 839 0 839


Top: (it took 3 hours for this to come up! I couldn't copy and paste it, nor take a screenshot as did not have a command prompt as it was still running but a synopsis follows:
load average 2.55, 2.38, 2.15
Processes 129 total, 2 running, 127 sleeping
CPU 91.8 us, 6.7 sy, 1.0hi, 0.7si
Processes:
Xorg 80% CPU
Firefox 4%
ica 3.5%


Whither next?
It could be that you are running out of ram as Xorg is taking up 80% of your mem. Try booting in to console mod instead of graphics and see if it is faster. Just a guess.

Leeley211
 
Old 01-04-2010, 09:19 PM   #3
technosapien
LQ Newbie
 
Registered: May 2008
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by AlastairSC View Post
Joined the Linux community last week with a clean install of Ubuntu 9.10 and the Edubuntu overlay onto my wiped Dell Inspiron 8000 with 512MB RAM (max allowed) and nVidia GEForce2 GO video card.

<<lspci: 00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801BAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801BAM IDE U100 Controller (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 Go] (rev b2)>>



Everything worked a treat until I found GIMP a bit slow. I was advised to replace the Gnome desktop with Xubuntu (Xfce). I did this and removed the Gnome desktop. Now my laptop is slower than ever: online, offline, selecting items from menus, opening apps, even typing in the terminal. (Typing this message in this forum is excruciating as I can press 10-15 keys before my text appears!)

What has gone wrong? At this stage it's almost impossible to use. I typed "free -m" in the terminal and got the details below, but I gave up on the "top" command - after 3 hours it still hadn't finished!. If it was Windows I'd say perhaps a bug or memory leak or that going online without firewall or antivirus means I've been turned into a spambot; with Linux - well, I'm too new to know.Thanks to anyone who can help me...


Free -m:
total used free shared buffers cached
Mem: 509 467 42 0 32 233
-/+ buffers/cache: 195 301
Swap: 839 0 839


Top: (it took 3 hours for this to come up! I couldn't copy and paste it, nor take a screenshot as did not have a command prompt as it was still running but a synopsis follows:
load average 2.55, 2.38, 2.15
Processes 129 total, 2 running, 127 sleeping
CPU 91.8 us, 6.7 sy, 1.0hi, 0.7si
Processes:
Xorg 80% CPU
Firefox 4%
ica 3.5%


Whither next?

It sounds like you're set up using software acceleration rather than hardware acceleration. I had the exact same problem, but I have a different video card from you so can't just say "here, use this, it'll work."
Check if your system is using hardware acceleration. Use this command:
glxinfo | grep rendering

You want to see "direct rendering: yes". If you don't see this, then either Xorg is not set up to use DRI or your kernel is missing DRI. Let's just start here and then we'll see what's next, although with this nugget you might be able to search Google for an answer specific to your card.

Also are you using the stock Ubuntu kernel or have you been tinkering? Likewise with your Xorg configuration, have you been tinkering or is it "out of the box" so to say?

- A
 
Old 01-07-2010, 10:27 AM   #4
AlastairSC
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by technosapien View Post
Check if your system is using hardware acceleration. Also are you using the stock Ubuntu kernel or have you been tinkering? Likewise with your Xorg configuration, have you been tinkering or is it "out of the box" so to say?- A
Thanks, technosapien, for that help.
I get the message "direct rendering = yes" to the glxinfo command
Yes I'm using Ubuntu and Xorg as they came - don't know how to tinker with them!

I notice that Xorg uses about 8% of CPU time shortly after startup but after a couple of hours of use this figure is about 79%. is this important?

So what now?

Last edited by AlastairSC; 01-07-2010 at 02:17 PM. Reason: new info
 
  


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
during applications terminal when prompted for password will not respond claudiorollandin Linux - Newbie 2 10-29-2008 08:02 PM
lspci command not working callmeleroi Linux - Software 3 01-21-2007 12:49 PM
lspci command not found _abbenormal Linux - Newbie 2 02-22-2006 03:01 PM
lspci command not working lowebb Linux - General 1 10-24-2005 02:22 PM
program makes terminal stop respond hotrodowner Linux - General 2 10-27-2004 06:56 PM

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

All times are GMT -5. The time now is 03:01 AM.

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