Comment

Comment by KaiserPro

> then why not put it in memory? But then why bother with swap?

because ram is expensive compared to disk.

Ram is normally fixed compared to disk

by storing not-used but still needed pages on disk, allows for much greater performance with less resources. for example it allows a bigger VFS cache.

parent KaiserPro 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton