-   Linux - General (
-   -   Swap file not being used...why? (

ganja_guru 12-07-2003 03:03 PM

Swap file not being used...why?
I've partitioned my HDD and set aside 10 GB as Linux and 0.5 GB as Linux Swap, using the ext3 file system. I use slackware 9.1 problem is that the swap space doesn't seem to be used at all...when i run a disk usage command it says 0% of the linux swap space is being utilised...I have 768MB of DDR ram on an Athlon XP very sure that ive selected the right choices during installationa nd have also turned swapon

and another question..ive seen a program on the corner of teh screen in a couple of screenshots of fluxbox and displays all kinds of info lik CPU usage and HDD space...does anyone know what it is? can i download it for KDE?

All help is appreciated!!!


trickykid 12-07-2003 03:05 PM

You should be happy your swap isn't being used, that means your RAM is doing an excellent job. Its not at all common that your swap will ever get used, its just that fallback type of thing to have just in case, etc.

Tinkster 12-07-2003 03:22 PM

Re: Swap file not being used...why?

Originally posted by ganja_guru
0.5 GB as Linux Swap, using the ext3 file system.
Are you saying that you created a partition
of type 83, formatted using ext3 for swapping?

Please post
and the output of


fancypiper 12-07-2003 03:27 PM

That's probably normal, but swap should be formated as swap, not ext3.

I seldom touch my swap with 512 MB ram, but use it frequently (especially while compiling) on a box with 384 MB.

# Memory and swap information
cat /proc/meminfo
An article: Tips for Optimizing Linux Memory

naijin 12-07-2003 04:33 PM

The program you want is called GKrellm.

ganja_guru 12-08-2003 01:40 AM

thanks for the quick reply everyone, tahnks naijin for Gkrellm..sorry that was a swap space is not ext3 its linux swap...yeah i guess ure right that i should be happy that my swap space is not being used, and my ram is doing a good job...


/dev/hda2 on / type ext3 (rw)
/dev/hda1 on /win-c type vfat (rw)
/dev/hdb1 on /win-d type vfat (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
proc on /proc type proc (rw)
usbfs on /proc/bus/usb type usbfs (rw)

my /etc/fstab

/dev/hda3 swap swap defaults 0 0
/dev/hda2 / ext3 defaults 1 1
/dev/hda1 /win-c vfat defaults 1 0
/dev/hdb1 /win-d vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/sr1 /mnt/rw iso9660 noauto,owner,ro 0 0

thanks again everyone!


J.W. 12-08-2003 03:41 AM

Zero or minimal swap usage is actually a good thing. Swap only comes into play if you exhaust your physical memory, which is undesirable. Assuming that you've got >= 256Mg RAM, you probably would use swap only lightly. Personally, I suggest making the swap partition no larger than 256 Mg. -- J.W.

All times are GMT -5. The time now is 05:13 AM.