LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-30-2006, 03:09 AM   #1
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Rep: Reputation: 31
New Slack10.2 KDE VERY slow


Dear all

I recently installed Slackware 10.2 on a Win98SE dual boot box and am running KDE. However, the system is really slow - far slower than when I had the same box up and running Slackware 10.0. I have 790MB SWAP and 250MB of RAM. When I checked, even though the only app I had open was kinfo there was 76% of the memory taken up with application data.
The output was: 74% free swap
6.6 MB free physical
57% total free memory

The system is really slow though - screen repainting is slow, apps opening are slow and then when I open OO.o2.02. the system just about hangs entirely.

Any suggestions aside from changing the DE?

Cheers
 
Old 04-30-2006, 05:41 AM   #2
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
try making the swap file smaller - say 500MB tops..
does it look like the system is paging heaps of stuff? i recently built a laptop that has 256MB ram and 450MB swap space and when it boots and loads KDE it as well allocates 100MB of RAM to disk cache and some 85MB to system..
the machine runs very well though...

this machine is running slackware 10.1 however.
did you compile the kernel yourself or use one of the stable ones that came with slack? If you made your own check the settings for system latency and memmory - make sure all are configured for 'desktop' with low latency. and <4GB RAM.
 
Old 04-30-2006, 04:17 PM   #3
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Original Poster
Rep: Reputation: 31
Hi - I'm using the vanilla 2.4.* slackware 10.2 kernel. By adjusting the swap space, won't that require a fresh install or using something like a partition magic app? I was always under the impression that a large swap was a good thing? Why would reducing the swap size speed up the machine? That seems almost counter-intuitive.

Thanks
 
Old 04-30-2006, 04:31 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
One thing that strike me is the comment that screen repainting is slow. Have you checked your xorg.conf to make sure the video is set up correctly?
 
Old 04-30-2006, 06:42 PM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
you can resize your swap and you will not have to reinstall I did it. but you do have to resize the actual partition itself so be sure you backup your data, becuase if you have windows on there, and you have a bad partition table, or master boot record you could be messed up really bad - I know this from years of experience with windows pc's and partitions. my suggestion, partition magic from powerquest I like it better than cfdisk becuase it will do a drive integrity check for you.

also, in your xorg log is your system running on high memory mode as your swap is so big. i had that happen to me when I was first moving to linux and tried out suse.

i agree you need to check out your video settings.

also I have a buddy with a p66 laptop gateway and 160 mb ram, we loaded slackware on it and it really flies. he uses XFCE desktop, with opera web-browswer. he can surf, play cd's at same time. i really think something is not being identified right too maybe hardware wise.

your swap file is really only supposed to be 2 x your installed ram.

Last edited by Old_Fogie; 06-09-2006 at 04:41 PM.
 
Old 04-30-2006, 06:59 PM   #6
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Quote:
Originally Posted by d00bid00b
Hi - I'm using the vanilla 2.4.* slackware 10.2 kernel. By adjusting the swap space, won't that require a fresh install or using something like a partition magic app? I was always under the impression that a large swap was a good thing? Why would reducing the swap size speed up the machine? That seems almost counter-intuitive.

Thanks
Yes please read what old_fogie says re the resize - thats a good point re the slow refresh of the screen though - i overlooked that...
And no, the biger the swap file is not necessarily better... It should always be relative to your actual physical ram. Generally i find just under double the size of physical RAM works well (although there is a recomended amount).
The swap file is a LOT slower than actual ram so if you have a huge swap and your machine is paging everything then it could suffer in response time and you would also have a hard drive that was thrashing a lot..

Last edited by -=Graz=-; 05-01-2006 at 07:15 AM.
 
Old 05-01-2006, 05:57 AM   #7
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Original Poster
Rep: Reputation: 31
Thanks fellas - you have given me some good leads to work with. The other interesting thing I found was that I had two instances of OO.o-2.0.2 running (must have double clicked something), and once I shut one down, the system seemed to have picked up some juice again. I'll see how this works out, but will probably work to resize the swap in due course when I have a bit more time to fiddle.

Thanks all
 
Old 05-01-2006, 08:15 AM   #8
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Oh ok goodo
there is a setting in open office in regards to how much RAM it requests.. Maybe worth checking this as well. I would think that 10MB will suffice.
If u dont have a linuxboot cd download one with system tools included. I use 'System Rescue cd' which is very good @ 130Mb d/l it comes with a few tools that will resize partitions.
see :
Quote:
Originally Posted by syg00
"swapon -s" will tell you if swap is being used. dmesg should have some relevant messages as well.

You don't mount swap as per a normal partition.
"mkswap /dev/hda7" will format it.
"swapon /dev/hda7" will activate it.

If you aren't getting it activated at system start, try changing the fstab entry to;
/dev/hda7 none swap sw 0 0
i would think you could delete/create in fdisk of cfdisk and go from there....

Last edited by -=Graz=-; 05-01-2006 at 08:17 AM.
 
  


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
Slack10.1 slow sata raid DPY Slackware 3 03-22-2005 10:47 AM
aMSN Traydock in Slack10.0 & KDE Seiken Linux - Software 2 02-15-2005 08:34 AM
Impressed and slow system - Slack10.0 on Toshiba Satellite 1700 !!!!!!!!! tompravi Slackware - Installation 1 01-02-2005 09:05 PM
Installed Slack10 - kde doesn't work letsinstalllinu Linux - Newbie 6 12-09-2004 04:48 PM
Slack10 slow boot dnial Slackware 1 07-30-2004 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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