Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-20-2006, 01:51 PM
|
#1
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Rep:
|
Slack10.2 + XFce4 => v-e-r-y s-l-o-w
Hey all
I'm stumped!! My wife's machine is a dual boot win98 and Slackware 10.2, running XFce 4. The machine keeps running really (and really is literally painful to watch) slow - a sent email takes up to a minute to disappear from the screen for example; the mouse pointer sticks and jumps when dragged; menus take ages to appear; windows are refreshing after an age of something happening; etc.
This originally happened when she was running KDE so that is why I switched her to a low resource hog WM like Xfce. Before that, the system was really slow, but I changed the swap size and this seemed to fix the problem temporarily.
She has 250MB of RAM on board and the swap is 533MB, used physical mem was about 31% and used swap 38%. When looking at top, I see that the load average at its worst time was in the region of 4.4, 3.7 and 2.8 but 94.*% of the CPU(s) was idle!!??
I can't see any logical reason for this: she did have firefox open and kmail open with 2 emails, and konsole, but no multimedia, no resource intensive apps, etc.
What am I looking for to fix this and how would I start?
Any help gratefully received.
|
|
|
06-20-2006, 02:30 PM
|
#2
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
|
Sounds like it might possibly be your hard drive is not set right. Can you check output of hdparm Should look similar to this:- You are looking for using_dma = 1. if not, send back your output
hdparm /dev/hda
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 58605120, start = 0
|
|
|
06-20-2006, 02:56 PM
|
#3
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Original Poster
Rep:
|
hey vdemuth
Thanks for the quick response.
The output of hdparm /dev/hda is:
Quote:
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readfahead = 8 (on)
geometry = 2495/255/63, sectors = 40088160, start = 0
|
Now what? What does this mean, and is this likely to be the source of the problem. It seems to have cleared up now, but for prevention purposes I'd like to get to the bottom of this if I can.
Cheers
|
|
|
06-20-2006, 03:10 PM
|
#4
|
Member
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496
Rep:
|
I'm wondering if it is something with the graphics then. What about trying another window manager and seeing if the problem persists? I'm wondering if xfce is trying to do some crazy transparency or antialiased fonts that cause the system to slow. I know that any type of graphical magic with only software drivers will cause the CPU to spike severly.
If a new wm still doesn't make a difference, you might have to try tweaking the xorg.conf file, things like color depth, refresh rate, etc.
Also, what are the full specs for the machine? You didn't mention the CPU speed or the video card (if there is one), and more information always helps.
One more thing, what was taking the ~90% CPU in top?
|
|
|
06-20-2006, 09:20 PM
|
#5
|
Member
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211
Rep:
|
I've run both, KDE and Xfce under worse conditions (128Mb in a k6-2 CPU) and they perform at an acceptable speed (no more than 1 second lag for the windows to dissapear)
I don't think this has anything to do with the amount of RAM. I'd be searching for faulty hardware (HD or RAM, maybe some other stuff?) or maybe a misconfigured (read: totally screwed up) xorg.conf file.
|
|
|
All times are GMT -5. The time now is 05:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|