Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Piss Poor preformance
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun May 26, 2002 8:16 pm    Post subject: Piss Poor preformance Reply with quote

I'm running gentoo from a stage 3 install, ext3, X4.2, and flux. Everything i do thets more complex tha xterm/xedit seems really slow. What can i do to increace preformance? GKrellm says whenever I do something the CPU is running at 100%. Web browsing is much slower on this com then it wa under Windoze. Running VMware w/ Win2000 is much slower than it was when i ran win2000 onthis com w/out LINUX. I didn't notice this speed hit on my other com.

Just in case it matters here's my ps -aux:
Code:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  1364  496 ?        S    May24   0:01 init
root         2  0.0  0.0     0    0 ?        SW   May24   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SWN  May24   0:00 [ksoftirqd_CPU0]
root         4  0.0  0.0     0    0 ?        SW   May24   0:02 [kswapd]
root         5  0.0  0.0     0    0 ?        SW   May24   0:00 [bdflush]
root         6  0.0  0.0     0    0 ?        SW   May24   0:02 [kupdated]
root         7  0.0  0.0     0    0 ?        SW   May24   0:00 [pagebuf_daemon]
root         9  0.0  0.0     0    0 ?        SW   May24   0:00 [khubd]
root        36  0.0  0.2  1548  700 ?        S    May24   0:00 /sbin/devfsd /dev
root      1818  0.0  0.3  2268 1012 ?        S    May24   0:00 login -- root   
root      1819  0.0  0.1  1340  436 vc/2     S    May24   0:00 /sbin/agetty 3840
root      1820  0.0  0.1  1340  436 vc/3     S    May24   0:00 /sbin/agetty 3840
root      1821  0.0  0.1  1340  436 vc/4     S    May24   0:00 /sbin/agetty 3840
root      1822  0.0  0.1  1340  436 vc/5     S    May24   0:00 /sbin/agetty 3840
root      1823  0.0  0.1  1340  436 vc/6     S    May24   0:00 /sbin/agetty 3840
root      1824  0.0  0.4  2476 1304 vc/1     S    May24   0:00 -bash
root      1827  0.0  0.2  2228  948 vc/1     S    May24   0:00 /bin/sh /usr/X11R
root      1835  0.0  0.2  2224  656 vc/1     S    May24   0:00 xinit /usr/X11R6/
root      1836  1.4  6.9 38020 22156 ?       S<   May24  40:54 X :0
root      1841  0.0  0.6  3680 1924 vc/1     S    May24   0:05 fluxbox
root      1889  0.0  0.6  4428 2184 ?        S    May24   0:04 wmxmms
root      1889  0.0  0.6  4428 2184 ?        S    May24   0:04 wmxmms
root      1890  0.0  0.2  2372  852 ?        S    May24   0:00 wmappl
root      1891  0.0  1.0  6160 3208 ?        S    May24   1:37 gkrellm -w
root      1892  0.0  0.6  4332 2204 ?        S    May24   0:11 wmcliphist
root      2400  0.0  0.7  3984 2260 ?        S    May24   0:00 oafd --ac-activat
root      2411  0.0  0.0     0    0 ?        SW   May24   0:00 [eth0]
root      2412  0.0  0.1  1356  444 ?        S    May24   0:00 dhcpcd eth0
root     27040  0.0  0.7  4636 2252 ?        S    May24   0:00 xterm -fg white -
root     27041  0.0  0.4  2524 1388 pts/0    S    May24   0:00 bash
root     30556  0.0  0.6  4604 2196 ?        S    May25   0:00 xterm -fg white -
root     30558  0.0  0.4  2504 1348 pts/2    S    May25   0:00 bash
root      6963  0.0  0.6  4636 2236 ?        S    May25   0:00 xterm -fg white -
root      6964  0.0  0.4  2496 1328 pts/3    S    May25   0:00 bash
root     30731  0.0  0.7  4216 2448 ?        S    May25   0:00 xedit
root      1756  0.0  0.4  4780 1556 ?        S    May25   0:00 smbd
root      1758  0.0  0.4  3716 1480 ?        S    May25   0:00 nmbd
root      1955  0.0  0.8  5488 2608 ?        S    May25   0:22 smbd
root     14458  3.2  7.5 45988 24108 ?       S    15:00   2:30 /usr/bin/galeon-b
root     14461  0.0  0.6  4064 2216 ?        S    15:00   0:00 /usr/bin/gconfd-1
root     14465  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root     14466  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root     14467  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root     14468  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root      6963  0.0  0.6  4636 2236 ?        S    May25   0:00 xterm -fg white -
root      6964  0.0  0.4  2496 1328 pts/3    S    May25   0:00 bash
root     30731  0.0  0.7  4216 2448 ?        S    May25   0:00 xedit
root      1756  0.0  0.4  4780 1556 ?        S    May25   0:00 smbd
root      1758  0.0  0.4  3716 1480 ?        S    May25   0:00 nmbd
root      1955  0.0  0.8  5488 2608 ?        S    May25   0:22 smbd
root     14458  3.2  7.5 45988 24108 ?       S    15:00   2:30 /usr/bin/galeon-b
root     14461  0.0  0.6  4064 2216 ?        S    15:00   0:00 /usr/bin/gconfd-1
root     14465  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root     14466  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root     14467  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root     14468  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root     14469  0.0  7.5 45988 24108 ?       S    15:00   0:00 /usr/bin/galeon-b
root     14499 25.1 34.6 116788 110800 pts/0 S    15:12  16:40 vmware
root     14500  0.1  2.6 11244 8440 pts/0    S    15:12   0:04 vmware-ui -A 7 -B
root     14501  0.0  0.9  9132 3108 pts/0    S    15:12   0:03 vmware-mks -A 8 -
root     14528  0.1  0.5 102764 1660 pts/0   S<   15:17   0:05 vmware
root     14529  0.3 28.3 103040 90756 pts/0  S<   15:17   0:14 vmware
root     14530  0.0  0.7 107060 2268 pts/0   S<   15:17   0:00 vmware
root     14537  0.3  0.7  4604 2300 ?        S    16:18   0:00 xterm -fg white -
root     14538  0.0  0.4  2492 1360 pts/1    S    16:18   0:00 bash
root     14540  0.0  0.2  2704  784 pts/1    R    16:18   0:00 ps -aux
root     14541  0.0  0.4  2492 1360 pts/1    D    16:18   0:00 bash


I know there's a lot running, but it runs slow when i only have the bare essentials running. I'll post an update once i finniish what i'm doing.
Back to top
View user's profile Send private message
stiles
n00b
n00b


Joined: 08 May 2002
Posts: 10

PostPosted: Sun May 26, 2002 9:00 pm    Post subject: Re: Piss Poor preformance Reply with quote

gsfgf wrote:
GKrellm says whenever I do something the CPU is running at 100%.


sounds like you have a runaway process. I'm lazy, so what I would do is dump the X session (ctrl+backspace) and startx. The right thing to do is to run top and see what process (tree?) is hung and kill it. By looking at your process table I bet it's galeon-bin.
Back to top
View user's profile Send private message
lamer
n00b
n00b


Joined: 16 May 2002
Posts: 16
Location: St. Paul, Mn

PostPosted: Sun May 26, 2002 10:49 pm    Post subject: Re: Piss Poor preformance Reply with quote

gsfgf wrote:

root 27040 0.0 0.7 4636 2252 ? S May24 0:00 xterm -fg white -
root 14458 3.2 7.5 45988 24108 ? S 15:00 2:30 /usr/bin/galeon-b
root 14461 0.0 0.6 4064 2216 ? S 15:00 0:00 /usr/bin/gconfd-1
root 14465 0.0 7.5 45988 24108 ? S 15:00 0:00 /usr/bin/galeon-b
root 14466 0.0 7.5 45988 24108 ? S 15:00 0:00 /usr/bin/galeon-b
root 14467 0.0 7.5 45988 24108 ? S 15:00 0:00 /usr/bin/galeon-b
root 14468 0.0 7.5 45988 24108 ? S 15:00 0:00 /usr/bin/galeon-b
[/code]


I don't recommend you running all this stuff as root. Especially things like webrowsers and what not. It's best to make yourself a normal user account th en use "su" or "sudo" to temporarily elevate your privleges when necessary.
Back to top
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Sun May 26, 2002 11:59 pm    Post subject: Strange Reply with quote

I am currently compiling three things at once in the background (The kernel, Evolution, and the GIMP) and notice absolutly no difference in system responsiveness. It's still just fine. I agree with Stiles, looks like you have a runaway process.
KDE has an applet called "Runaway Process Catcher" for kicker that will find such programs and give you a few options for them, but what I would do is run 'top' or 'ktop', which lists current processes and their CPU usage, and see exactly what it is that is slowing the system down.

Note that any OS that you run in VMware is guaranteed to be slower than running it natively--VM ware is emulating and has to translate for Linux the output of Windows, among other things. Linux would run slowly under VMWare in Windows, of that you can be sure.

Additionally, KDE is really designed for fast computers. There are many Window managers that are faster than Windows (even Windows 95) by a country mile, but KDE is not one of them. To get transparent performance out of KDE would require roughly the same system specs as those needed to get transparent performance out of Windows XP with its Fisher-Price interface enabled.

If you would still like to use KDE, there are settings that you can change that will reduce system-intensive stuff that you might not need. If you'll recall, when you first ran KDE, it asked how fast you thought your system was. If you move the slider all the way to the left, that is probably going to slow things down.
As a point of reference, I am very performance sensitive (which is why I use Gentoo rather than some other distro) and can notice no difference between KDE 3's performance and Windows 2000 or Windows NT 4.0. My system is an AMD AthlonXP 1400MHz with 1GB of RAM and a Matrox G400 video card. Usually about 200MB of RAM is in use when I am running a few of my favorite applications (That isn't counting the memory used for caching the hard drive, which will take up most of your RAM no matter how much you have, for a good reason too) and as I speak, compiling three things at once and running six KDE apps and top, mem usage is about 350MB.
You might try a faster window manager such as Blackbox, Fluxbox, Windowmaker, FVWM, or even GNOME.

Let us know if none of this helps!
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
Tiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2002
Posts: 77

PostPosted: Mon May 27, 2002 1:56 am    Post subject: Reply with quote

Look at all the cpu cycles vmware is taking up.
_________________
Windows = a 32 bit extension to a 16 bit GUI on an 8 bit OS written for a 4 bit architecture by a 2 bit company who can't stand 1 bit of competition.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon May 27, 2002 2:30 am    Post subject: Reply with quote

I have these probs even w/out vmware going.
I don't use KDE for the reasons stated above.

Yop doesn't seem to show much. It says
Code:

14469 root      15   0 24232  23M 13536 S     0.0  7.5   0:00 galeon-bin
14468 root      15   0 24232  23M 13536 R     0.0  7.5   0:00 galeon-bin
14465 root      15   0 24232  23M 13536 S     0.0  7.5   0:00 galeon-bin
14466 root      15   0 24232  23M 13536 S     0.0  7.5   0:00 galeon-bin
14467 root      15   0 24232  23M 13536 S     0.0  7.5   0:00 galeon-bin
14458 root      15   0 24232  23M 13536 S     4.1  7.5   3:09 galeon-bin

for galeon, so i guess it isn't galeon. I'm currently running vmware (and its installing), but i don't notice the preformance any worse than before.

My detailed problesms are. Stuff takes a long time to open. The biggest probles is scrolling in anything, for every scroll movement it takes almoast a full second for the page to scroll. This happens in galeon and eterm. [/code]
Back to top
View user's profile Send private message
Tiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2002
Posts: 77

PostPosted: Mon May 27, 2002 2:33 am    Post subject: Reply with quote

Does GKrellm show any swapping going on?
_________________
Windows = a 32 bit extension to a 16 bit GUI on an 8 bit OS written for a 4 bit architecture by a 2 bit company who can't stand 1 bit of competition.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon May 27, 2002 3:35 am    Post subject: Reply with quote

Tiger wrote:
Does GKrellm show any swapping going on?


Nope. I always have low mem and HDD usage. Only CPU (and sometimes eth0, but thats expected while downloading) are high.
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Mon May 27, 2002 4:27 am    Post subject: Reply with quote

what are the specs on your machine?

Are you using an accelerated xfree driver? software rendering certainly makes things like scrolling really slow.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon May 27, 2002 3:57 pm    Post subject: Reply with quote

Specs:
Sony VAIO PCG-F580
P3 650
320mb RAM
IDE HDD
MagicVideo Grafx Card
Grafx Card Section
Code:
Section "Device"
        Option     "SWcursor"
   Identifier  "Card0"
   Driver      "neomagic"
   VendorName  "Neomagic"
   BoardName   "NM2380"
   BusID       "PCI:1:0:0"
EndSection
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon May 27, 2002 6:35 pm    Post subject: Reply with quote

I can't tell you about your 100% CPU usage, but how's your hard drive performance? Try running hdparm -tT as root and see what you come up with. Your hard drive(s) are likely not using the fastest transfer mechanisms possible, which could account for slowness of "complex" (i.e. larger) programs.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue May 28, 2002 12:29 am    Post subject: Reply with quote

Code:
bash-2.05a# hdparm -tT /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  3.60 seconds = 35.56 MB/sec
 Timing buffered disk reads:  64 MB in  5.20 seconds = 12.31 MB/sec


However, i don't think its my HDD since it always shows low usage
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue May 28, 2002 3:56 am    Post subject: Reply with quote

I just noticed that vmware detects my p3 650 as a p3 166. Does it usually detect a slower CPU or is that what my com is actually running at?
Back to top
View user's profile Send private message
proxy
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 253
Location: Chantilly, VA

PostPosted: Tue May 28, 2002 4:04 am    Post subject: Reply with quote

hehe dude, it very well may be your hard drive (usually the biggest bottle-neck in your computer)

my hdparam results score my HDs WAY higher than yours for the buffered-cache reads:



Code:
Timing buffer-cache reads:   128 MB in  0.32 seconds =400.00 MB/sec
[/code]
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue May 28, 2002 4:05 am    Post subject: Reply with quote

OOPS, Missed a BIOS seting. Seems better now. Pages still display slower than windoze/IE. Can i halp that?
Back to top
View user's profile Send private message
proxy
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 253
Location: Chantilly, VA

PostPosted: Tue May 28, 2002 4:13 am    Post subject: Reply with quote

are you refering to pages loading within IE in vmware? if so, you have to realize that while vmware is running the programs "native" to the cpu, it is sharing it's timeslices with all other things running on your computer, so now all programs running in your vmware environment will get a just a fraction of the timeslice as they would in the real thing.

for example:

suppose you have 10 proccesses running in linux (including vmware) and 10 within vmware, and lets assume for simplicity there is round-robin scheduling (everyone gets an even timeslice).

in real windows each program would get to run approximately every 10 context switches, in the vmware evioronment, vmware gets to tun every 10, plus each program in vmware has to wait for it's timeslice that windows will give it...so that's 10*10=100 context switches for each windows program. Obviously this is a simplistic example, but you can see how running in a vmware envrionrment can have a huge performance impact

so there will be a performance hit (hopefully not that much) which is unavoidable.


if you aren't referring to that, well, try differnt browsers, some are better than others. I preffer mozilla :)
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue May 28, 2002 5:18 pm    Post subject: Reply with quote

Sorry, i ment that pages (in galeon/Mozilla and NS) display slower than they did before i switched over from windoze.
Back to top
View user's profile Send private message
nizZy
n00b
n00b


Joined: 27 May 2002
Posts: 28
Location: Sweden

PostPosted: Sun Jun 02, 2002 5:25 pm    Post subject: Reply with quote

gsfgf==>> Got the same problem 'ere. Do you also run an amd-based system?
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Jun 02, 2002 7:41 pm    Post subject: Reply with quote

Intel on the com w/ the prob. My Athlon is fast enough i don't notice a difference even if its there
Back to top
View user's profile Send private message
rasat
n00b
n00b


Joined: 30 May 2002
Posts: 56
Location: -Kenya -Mauritius -Singapore

PostPosted: Mon Jun 03, 2002 11:57 am    Post subject: win4lin Reply with quote

Hi,

If you are able to use Win4Lin instead of VMware for the purpose to run faster Window'98 applications, I suggest go for Win4Lin. With W4L all windows applications (MS office, Photoshop, Quicken, etc.) run faster than on native os.

Rasat
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Mon Jun 03, 2002 12:28 pm    Post subject: Reply with quote

Stating the obvious, you installed the vmware tools package, else do it, without it you can shake it.

I've run vmware for quiet some time and never had problems on my athlon 1.2Ghz system, my diskperformance is a few times faster, but I don't think that's the problem.

vmware showed the right statistics about my processor, AMD 1200Ghz detected or something, so maybe you should concentrate on that.

Btw running gnome....

But I don't know what the problem is, you sound like you think its a more general problem than just vmware, Hope you fix it lX
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon Jun 03, 2002 4:27 pm    Post subject: Reply with quote

This prob was solved. I left a speedstep setting enabled, which was slowing down the processor to 166. And the pages were slow b/c i was running 24 bit color and i should only run 16. that's fixed too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum