PERFORCE change 182029 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat Aug 7 15:10:58 UTC 2010
http://p4web.freebsd.org/@@182029?ac=10
Change 182029 by trasz at trasz_victim on 2010/08/07 15:10:09
Update TODO.
Affected files ...
.. //depot/projects/soc2009/trasz_limits/TODO#23 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/TODO#23 (text+ko) ====
@@ -7,13 +7,13 @@
- virtual memory usage (address space limit) (RUSAGE_VMEM), in megabytes
- maximum core size (RUSAGE_CORE), in megabytes (core, as in ELF program state dump)
- locked memory usage (RUSAGE_MEMLOCK), in megabytes
+ - resident set size (physical memory usage) (RUSAGE_RSS), in megabytes
Limits to do:
Milestone 1:
- stack size (RUSAGE_STACK), in megabytes,
- - resident set size (physical memory usage) (RUSAGE_RSS), in megabytes
- swap usage (RUSAGE_SWAP), in megabytes
- number of file descriptors (RUSAGE_NOFILE)
- amount of memory consumed by socket buffers (RUSAGE_SBSIZE), in megabytes
@@ -62,6 +62,8 @@
container mechanism. This is a part of HRL, and it's outside the scope
of the containers project. This means the code is full of "#ifdef CONTAINERS".
+ - RSS is accounted for only when pagedaemon is running, i.e. when memory shortage occurs.
+
- Don't account resources for system processes. It's not as easy as checking
for P_SYSTEM flag, as the flag will be set for AIO kernel processes.
More information about the p4-projects
mailing list