Neil wrote:
On Sun, Apr 6, 2008 at 5:54 PM, Sam Clemens
wrote: Neil wrote:
If I am correct and swap space is striped over the different drives it is placed upon then it should matter more how many drives you have with swap spaces on it.
Swap space is striped ONLY if you set it up to be so. If two swap spaces have different priority levels, one swap space will be exhausted before the system starts to use the 2nd one.
Hmm, what should I do to make the swap space striped? Is there a command in the installer to do so?
To be absolutely positive: Stripe the partitions using LVM or RAID tools Or set two swap partitions with the same priority level (pri=nn where nn is 2-digit value), and then use $ /sbin/swapon -s and see if the usage is split between the two partitions.
True: the access time of old harddisks is
worse, but then again: the swap space will probably be used to store the bigger files anyways,
Swapping is not used to "store files"... it's used to page out memory pages so that the CPU can use a larger address space than the amount of physical memory installed (or more specifically: virtual address space = physical mem + swap space)
[This ignores annoying things like memory-mapped I/O, etc.]
True, storing is not the correct word. I thought Linux was able to see wether a file was big and swap it out completely. If it can't than
Nope. Paging is done by demand. There's no reason to swap out an entire large file if the kernel only needs a couple MB for something else
that is to bad for my theory .If you didn't see that it was a theory then I should be clearer in that in the future. Maybe some fake HTML like tags. I do know swapping is used to create a virtual memory to extend the RAM in times of great need.
On most systems, it's normal. Unusual system requirements aside, if you're never using swap, then you probably overspent on memory. [Conversely, if you're running a moderately large database server, and swap usage is consistently some percentage ( < 50% or so) of the installed RAM, and your performance sucks, then you should immediately install at least as much memory as the typical swap usage.] <snip happens> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org