We currently do not have efficient ways of dealing with zeroed pages. For example, when writing to an offset beyond the end of the file (e.g., pwrite with offset 4096 to an empty file), we allocate zero pages to fill the gap. This results in higher page utilization than necessary and incurs overheads to allocate and write zeroes to these pages.
We currently do not have efficient ways of dealing with zeroed pages. For example, when writing to an offset beyond the end of the file (e.g., pwrite with offset 4096 to an empty file), we allocate zero pages to fill the gap. This results in higher page utilization than necessary and incurs overheads to allocate and write zeroes to these pages.