>> In case you happen to know where they are, I'm looking for these:
>>
>> pages reclaimed
>
> /proc/vmstat:pgsteal
That's a funny name for it. Sure about that? Longer description
of what I'm looking for:
reattaches from reclaim list
Number of pages that have been faulted while on the inactive list
To me, "pgsteal" sounds like pages grabbed from a clean list to
be used for some new purpose.
>> minor faults
>
> /proc/vmstat:pgfault - /proc/vmstat:pgmajfault
>
>> COW faults
>> zero-page faults
>
> These are not available separately
They count as minor faults?
>> anticipated short-term memory shortfall
>
> hm. tricky.
How about these then? (and would you want them?)
a. urgency level for the need to free up memory
b. amount (or %) by which the system is overcommitted
>> pages freed
>
> /proc/vmstat:pgfree
>
> This is a little broken in 2.5.46. pgfree is accumulated
> _before_ the per-cpu LIFO queues and pgalloc is accumulated _after_
> the per-cpu queues (or vice versa) so they're out of whack.
Can I assume it will be fixed soon? Is this a value you'd like?
>> pages scanned by page-replacement algorithm
>
> /proc/vmstat:pgscan
>
>> clock cycles by page replacement algorithm
>
> Not available. Could sum up the CPU across all kswapd instances,
> which is a bit lame.
I suspect that it's cycles of the page aging "clock" hand,
not CPU cycles. So that would be pages scanned divided by
the average number of pages in a full scan.
>> number of system calls
>
> Not available
I though so. Bummer. I guess this is due to overhead.
>> number of forks (fork, vfork, & clone) and execs
>
> /proc/stat: processes
That's fork/vfork/clone all together, w/o execs?
(good for "vmstat -f", but poor for "vmstat -s")
Got one more:
wired pages
Total number of pages that are currently in use
and cannot be used for paging
Thanks for all the help. BTW, you didn't say if you liked the
proposed changes, so I'm assuming they don't matter to you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/