sendfile and page usage statistics

From: Igor Sysoev <is_at_rambler-co.ru>
Date: Tue, 9 Oct 2007 16:50:01 +0400
As I understand if sendfile() with hardware TX chsum or TSO are used,
then CPU does not touch file pages at all. So pagedaemon never set
PG_REFERENCED to vnode object pages while scanning them.
Does VM set PG_REFERENCED by another way ? Otherwise, often used files
that accessed by sendfile() only have small chances to be cached by VM.


-- 
Igor Sysoev
http://sysoev.ru/en/
Received on Tue Oct 09 2007 - 11:27:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC