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.
|
|
04-30-2006, 03:09 AM
|
#1
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Rep:
|
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
|
|
|
04-30-2006, 05:41 AM
|
#2
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
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.
|
|
|
04-30-2006, 04:17 PM
|
#3
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Original Poster
Rep:
|
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
|
|
|
04-30-2006, 04:31 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
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?
|
|
|
04-30-2006, 06:42 PM
|
#5
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
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.
|
|
|
04-30-2006, 06:59 PM
|
#6
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
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.
|
|
|
05-01-2006, 05:57 AM
|
#7
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Original Poster
Rep:
|
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
|
|
|
05-01-2006, 08:15 AM
|
#8
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:09 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
|
|