PDA

View Full Version : swap file configuration



aad
01-21-2006, 11:39 PM
I have knoppix 4.02 installed on my laptop (packard bell 800mhz 128ram) and it's working correctly, but kind of slow. I wanted to configure my swap file behaviour, but when I try this in knoppix-configure-config swap file it says: no usable swap file. QTparted and KDE system guard say it's there and working. I created it with cfdisk (1GB) during installation on harddisk.
Can anyone explain how this is possible and maybe what I should do??

nad
01-23-2006, 12:59 PM
Any _full featured_ desktop OS is going to be a little sluggish on an 800mhz machine with only 128mb ram.

If possible, add another 128mb chip. You will see an instant improvement.

As to your swap space. The large size may actually slow your system down further as there is now more to manage.
The rule of thumb is 1 to 2 times your physical memory, unless of course you are doing disk intensive tasks such as video editing or manipulating large iso's.

At a command prompt, issue the command: mkswap /dev/your_swap_device and check /etc/fstab to make certain that it is listed.

aad
01-23-2006, 07:04 PM
thanx 4 the help.
knoppix is running slow even considering my specs. It's running slower than my other desktop that has 96mb's ram. I checked fstab but it doesn't see a swap and I'm afraid to edit. I'm quite new to linux so...
thanx anyway

nad
01-25-2006, 07:55 PM
Don't be afraid to edit anything in a Gnu/Linux operating system.

The worst case scenario is your operating system not starting, in which case you would simply boot from a liveCD (knoppix?) and redit your config file to its' last good state. Usually, you would make a backup copy of any config file that you customize and then edit the original. To revert, simply copy the backup over the edited file. To learn (more than presently need to know) about the fstab file, in a terminal window enter the command: man fstab . About the mkswap command: man mkswap . The manual (help) pages are there for everyones use and enjoyment ;-)

This is one of the benefits of an easily (and highly) configurable operating system. Learn to experiment to you hearts content. Nothing is written in stone.