It looks like joke: swapfile on "ramdysk" in 64bits system?
I look into file: /proc/meminfo and made some investigation. Look for line: SwapCached: nnnnn kB . One is what I don't understand. What for linux kernel caches swap? What for caching this? Isn't better idea leaving page as active?
Another, what is difference between swapping and paging? I never found exactly explanation about it. Where can I see counters?
Thanks for any explanation.
I don't think SwapCached means what you think it does. From the documentation
Also note that SwapCached doesn't count as swap even though it's in the swapfile.
Red Hat explains it like this:
I see better article than redhat's one: http://www.westnet.com/~gsmith/content/linux-pdflush.htm Thank you neutrinus and lain for swap cache explanation. It is sense. Another sense is, last swapped out page has the highest chance reverting to active state (saving I/O).
I don't thank for minus signer, who doesn't explain me difference between paging and swapping. I didn't find clear documentation for this.