FreeBSD Bugzilla – Attachment 172215 Details for
Bug 210904
Added CAVEATS section to the kinfo_getvmmap(3) man page explaining the high CPU consumption
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
kinfo_getvmmap.3.patch (text/plain), 676 bytes, created by
Yuri Victorovich
on 2016-07-07 22:18:58 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-07-07 22:18:58 UTC
Size:
676 bytes
patch
obsolete
>Index: lib/libutil/kinfo_getvmmap.3 >=================================================================== >--- lib/libutil/kinfo_getvmmap.3 (revision 301975) >+++ lib/libutil/kinfo_getvmmap.3 (working copy) >@@ -58,6 +58,13 @@ > mib. > While the kernel returns a packed structure, this function expands the > data into a fixed record format. >+.Sh CAVEAT >+.Fn kinfo_getvmmap >+calls can cause significant CPU consumption due to the residency count >+calculation which requires the iteration over all memory pages of the >+process. Setting the sysctl variable >+.Va kern.proc_vmmap_skip_resident_count >+to 1 prevents this calculation. > .Sh RETURN VALUES > On success the > .Fn kinfo_getvmmap
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210904
: 172215