|
|
Subscribe / Log in / New account

Swapping out compressed data?

Swapping out compressed data?

Posted Sep 6, 2013 16:57 UTC (Fri) by monnier (guest, #92728)
Parent article: The zswap compressed swap cache

Your description gives me the impression that when the data needs to be swapped to the actual storage, it is done uncompressed (more precisely it's uncompressed and then written to backing store). That seems obviously suboptimal. Is it indeed the case, or can the compressed data be swapped out compressed?

Regarding the measurements: doing the measurement on machine with a crippled memory but a fast CPU seems unfair. A machine with 512MB of RAM is unlikely to have such a fast CPU, and a slower CPU makes compression less attractive since compression then takes more time. IOW measurements on a real 512MB machine (with something like a 1GHz Pentium, or an Allwinner A10) would seem more realistic.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds