3 ms·
Pv never touches the data. It splices the input into the output, /dev/null in this case, so once written, a page is never touched again. Splice is linux specif
by gpderetta 5y ago
Pv never touches the data. It splices the input into the output, /dev/null in this case, so once written, a page is never touched again.
Splice is linux specific though, so you would need to run it on M1.
- HALtheWise 5y agoIf that is the case, does it actually matter what CPU core pv runs on? I feel like _something_ must ultimately zero the page out before it can get re-mapped to the process, but I'm not sure which core that happens on, or whether there's some other hardware mechanism that allows the OS to zero a page without actually utilizing memory bandwidth.
- londons_explore 5y agoThe page is reused by the generator process without being zeroed.