Hacker News new | ask | show | jobs
by smlacy 2823 days ago
Unless the ramdisk (AKA tmpfs in modern Linux) is compressed.

Many low footprint Linux installations now include swapping to zram, which is compressed. The net effect is positive since you usually have an abundance of spare CPU cycles.

1 comments

Well yeah, that was both josmala's (the original commenter) and my point. Putting the swap file in compressed memory (here DriveSpace+SmartDrive) can be good, putting it into a straight, uncompressed ramdisk is worse than useless.