Comment 13 for bug 1862822

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

init_on_alloc=1 as a default servers Ubuntu users as a security hardening mechanism, preventing a class of security issues from being exploitable. Disabling that in general would allow those unknown vulnerabilities open to be exploited.

It can be turned off during boot by using init_on_alloc=0 kernel parameter. So any user who is affected by this performance issue can mitigate that by disabling the hardening option, after considering its possible consequences.

As we would rather not expose those users who depend or desire that ZFS performance, I would like to ask if it would be possible to mitigate that on ZFS by reusing pages or maybe pre-allocating them.

Regards.
Cascardo.