On Thu, Nov 7, 2024 at 9:34 AM Johannes Weiner <hannes@xxxxxxxxxxx> wrote: > > On Wed, Nov 06, 2024 at 11:21:04AM -0800, Kanchana P Sridhar wrote: > > The sysctl vm.compress-batching parameter is 0 by default. If the platform > > has Intel IAA, the user can run experiments with IAA compress batching of > > large folios in zswap_store() as follows: > > > > sysctl vm.compress-batching=1 > > echo deflate-iaa > /sys/module/zswap/parameters/compressor > > A sysctl seems uncalled for. Can't the batching code be gated on > deflate-iaa being the compressor? It can still be generalized later if > another compressor is shown to benefit from batching. +1