Page MenuHomeFreeBSD

cneirabustos_gmail.com (Carlos Neira)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 12 2017, 8:28 PM (60 w, 6 d)

Recent Activity

Jan 5 2018

cneirabustos_gmail.com added a comment to D13759: Remove/Limit whole process swapout.

It is already possible to disable swapping out kernel stacks via sysctl vm.swap_enabled (which has a wrong description) and configure it via sysctls vm.swap_idle_threshold1 and vm.swap_idle_threshold2. What is the problem you are trying to solve?

Note that a second effect of swapping out is that ps will not attempt to read arguments and environment from the memory of a "swapped out" process. This will make it more likely that the memory containing these will stay paged out.

If your problem is with paging in general, the "laundry" changes to the VM system in FreeBSD 12 may be useful for you. Basically, these changes allow the system to balance better between paging out things (known as "laundering"; usually to swap but could be to files or devices) and discarding cached data (usually from files).

Jan 5 2018, 1:41 PM · committers

Jan 4 2018

cneirabustos_gmail.com added a comment to D13759: Remove/Limit whole process swapout.

For a long time, "swapping out" a process has only made its U area (later, only the kernel stack) pageable. This is a few pages per thread. Therefore, comparing vmspace_resident_count does not seem to make much sense.

Jan 4 2018, 3:45 PM · committers
cneirabustos_gmail.com updated the summary of D13759: Remove/Limit whole process swapout.
Jan 4 2018, 1:31 PM · committers
cneirabustos_gmail.com updated the diff for D13759: Remove/Limit whole process swapout.

Fixed indentation and typo on comment.

Jan 4 2018, 1:20 PM · committers
cneirabustos_gmail.com accepted D13759: Remove/Limit whole process swapout.

updated comment as requested.
indentation fixed

Jan 4 2018, 1:14 PM · committers
cneirabustos_gmail.com updated the diff for D13759: Remove/Limit whole process swapout.
Jan 4 2018, 1:12 PM · committers
cneirabustos_gmail.com added a comment to D13760: update tuning manpage to reflect remove/limit of whole process swapping.

updated manpage to reflect new option system tunable vm.proc_swapout_max

Jan 4 2018, 3:46 AM · manpages
cneirabustos_gmail.com created D13760: update tuning manpage to reflect remove/limit of whole process swapping.
Jan 4 2018, 3:44 AM · manpages
cneirabustos_gmail.com updated the diff for D13759: Remove/Limit whole process swapout.
Jan 4 2018, 3:14 AM · committers
cneirabustos_gmail.com added a comment to D13759: Remove/Limit whole process swapout.

Added whole-process swapping limit

Jan 4 2018, 3:09 AM · committers
cneirabustos_gmail.com updated the diff for D13759: Remove/Limit whole process swapout.
Jan 4 2018, 3:07 AM · committers
cneirabustos_gmail.com created D13759: Remove/Limit whole process swapout.
Jan 4 2018, 3:04 AM · committers

Dec 27 2017

cneirabustos_gmail.com created D13656: Bug 223722 add sys/class/net data to linsysfs.
Dec 27 2017, 7:17 PM · Linux Emulation, Contributor Reviews (base)