Re: vm-pageout-throttling.patch: hanging in throttle_vm_writeout/blk_congestion_wait

From: Ryan Cumming
Date: Mon Nov 15 2004 - 17:57:37 EST


On Monday 15 November 2004 14:37, Sami Farin wrote:
> I know it's a "nicer" idea to use some partition for the swap
> instead of a file on reiserfs, but I created too small swap partitions
> originally and I can't(/bother?) resize the other partitions.
> And sometimes some memhog forces me to add even more swap.

He's not suggesting you use a swap partition; he's suggesting you swapon the
file directly without using the loopback device, ie:

swapon /path/to/file/on/reiserfs

This allows the kernel to perform certain optimizations and removes the
overhead of the loopback device.

-Ryan

Attachment: pgp00000.pgp
Description: PGP signature