|
|
|
|
|
by NobleExpress
1172 days ago
|
|
Certainly interesting, but there are no performance numbers mentioned in the white paper comparing userfaultfd to read barriers. So the actual benefit to switching to userfaultfd is unknown (at least in publically accessible documents -- I'm sure Google has done internal performance evaluations). Using page faults (and/or page protection) to perform compaction instead of barriers is a pretty old technique (see the 1988 paper by Appel, Ellis, and Li [1]; see also the Compressor by Kermany and Petrank [2]). But handling page faults were very expensive (at least on Linux) until the addition of userfaultfd recently. [1]: https://dl.acm.org/doi/10.1145/960116.53992
[2]: https://dl.acm.org/doi/10.1145/1133255.1134023 |
|