View Single Post

   
  #5 (permalink)  
Old 02-19-2008, 11:29 AM
Floyd L. Davidson
 
Posts: n/a
Default Re: slackware-current not using swap?

jobo@daimi.au.dk (Brian Graversen) wrote:
>rintek <rintek@wuuk.sulawesi> wrote in message
>
>> What kernel do you use?
>> I think 2.6.x :-) if so,do:

>
>Yes, 2.6.3 and 2.6.6 on the two different machines
>
>> mkswap -v1 /dev/hxx
>> swapon -a

>
>I tried that (after first running swapoff -a), and then I let the
>machine work on some different programs for a while, but it still
>doesn't use swap


The -v1 option goes /way/ back, and is unlikely to be significant.

Incidentally, I've just upgraded two machines from 2.6.0 to
2.6.6, and the first of them has been up for a day and a half
now, and has yet to use 1 byte of swap. Mighty suspicious...

If, by tomorrow, nothing gets paged out just because it was
sleeping too long I'll probably back off to 2.6.5 to see if that
changes.

>/var/log/messages states that the swap is added without problems (the
>only strange this is that the priority keeps dropping by one, each
>time I re-add the swap).
>
>May 13 10:38:50 Jupiter kernel: Adding 473876k swap on /dev/hda5.
>Priority:-4 extents:1


Hmmm... I just tried that, and it didn't change in my case. However,
I do specify the priority in /etc/fstab:

/dev/sdb1 swap swap defaults,pri=1 0 0
/dev/sdc1 swap swap defaults,pri=1 0 0
/dev/sdd1 swap swap defaults,pri=1 0 0
/dev/sde1 swap swap defaults,pri=1 0 0


--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@barrow.com
Reply With Quote