History log of /dragonfly/sys/kern/kern_collect.c (Results 1 – 4 of 4)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# e2164e29 18-Oct-2019 zrj <rimvydas.jasinskas@gmail.com>

<sys/slaballoc.h>: Switch to lighter <sys/_malloc.h> header.

The <sys/globaldata.h> embeds SLGlobalData that in turn embeds the
"struct malloc_type". Adjust several kernel sources for missing
in

<sys/slaballoc.h>: Switch to lighter <sys/_malloc.h> header.

The <sys/globaldata.h> embeds SLGlobalData that in turn embeds the
"struct malloc_type". Adjust several kernel sources for missing
includes where memory allocation is performed. Try to use alphabetical
include order.

Now (in most cases) <sys/malloc.h> is included after <sys/objcache.h>.
Once it gets cleaned up, the <sys/malloc.h> inclusion could be moved
out of <sys/idr.h> to drm Linux compat layer linux/slab.h without side
effects.

show more ...


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1
# fef9ed17 29-Jul-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Store page statistics in bytes

* Store page statistics in bytes rather than pages. Pages aren't useful
for userland display and there is no reason to force useland to do the
conversion

kernel - Store page statistics in bytes

* Store page statistics in bytes rather than pages. Pages aren't useful
for userland display and there is no reason to force useland to do the
conversion.

* Include a realtime timestamp along with ticks in the structure.

* Flesh out text output for kcollect. Reverse output order to print
oldest data first, so output from the -f option stays consistent.

show more ...


# 77bc82e1 29-Jul-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Add a sampling history mechanism called kcollect (2)

* Add collection code for remaining base statistics.

* Round-up some calculations.


# f6aeec64 29-Jul-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Add a sampling history mechanism called kcollect

* Add a kernel API which automatically samples useful statistics on a
10-second period without needing a user program to poll it. This AP

kernel - Add a sampling history mechanism called kcollect

* Add a kernel API which automatically samples useful statistics on a
10-second period without needing a user program to poll it. This API
is enabled by default and can be disabled by setting kern.collect_samples=0
in /boot/loader.conf (or setting it higher, if desired).

The idea is for the kernel to always collect a solid amount of historical
data for various useful statistics such that a user can pull it all up
going back upwards of 23 hours (or more, depending on configured samples)
after the fact. "Oh, what happened recently"... bang.

* The sysctl provides sufficient information to userland to be able to
process the statistics dynamically, without necessarily having to know
what they are.

The sysctl can be cut short to request less data for ongoing incremental
collection, if desired.

* Implement "load" collection to start with as a test. Add #defines for
everything I want the kernel to collect. The kernel API's critical path
is lockless.

* Start working on a front-end user program called 'kcollect'. This program
will eventually generate fancy graphs via gnuplot and have a dbm interface
for collecting data continuously if desired.

show more ...