<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/rpc.rstatd, branch releng/8.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2008-06-10T18:47:43Z</updated>
<entry>
<title>Use sysctl to fetch stats from the kernel instead of reading variables</title>
<updated>2008-06-10T18:47:43Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-06-10T18:47:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=87f2ff4f3e022b69cf0827f357011f83703ab4a2'/>
<id>urn:sha1:87f2ff4f3e022b69cf0827f357011f83703ab4a2</id>
<content type='text'>
directly via libkvm.

PR:		kern/122875, bin/123014
Tested by:	Danny Braniss  danny cs.huji.ac.il
MFC after:	1 week
</content>
</entry>
<entry>
<title>Fix most cases where the address of an int is passed to a function expecting a</title>
<updated>2005-02-14T17:42:58Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-02-14T17:42:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78e3eed07184d423cdabe6a8baae3edcd47c3dc5'/>
<id>urn:sha1:78e3eed07184d423cdabe6a8baae3edcd47c3dc5</id>
<content type='text'>
socklen_t * argument.
</content>
</entry>
<entry>
<title>Put libdevstat before libkvm, because the former depends on the latter.</title>
<updated>2004-02-04T10:20:43Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-02-04T10:20:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80c49332e2742aaa15cca373c560c0d027ae82bc'/>
<id>urn:sha1:80c49332e2742aaa15cca373c560c0d027ae82bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the variable's type to the declaration.</title>
<updated>2003-06-02T02:34:36Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-06-02T02:34:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bd273f0c0b41f4445f542dba6f44c57f5d752ace'/>
<id>urn:sha1:bd273f0c0b41f4445f542dba6f44c57f5d752ace</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run a revision of the devstat interface:</title>
<updated>2003-03-15T21:59:06Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-03-15T21:59:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7194d335cfa65141113997cdc4ac01fe9c4504c1'/>
<id>urn:sha1:7194d335cfa65141113997cdc4ac01fe9c4504c1</id>
<content type='text'>
Kernel:

Change statistics to use the *uptime() timescale (ie: relative to
boottime) rather than the UTC aligned timescale.  This makes the
device statistics code oblivious to clock steps.

Change timestamps to bintime format, they are cheaper.

Remove the "busy_count", and replace it with two counter fields:
"start_count" and "end_count", which are updated in the down and
up paths respectively.  This removes the locking constraint on
devstat.

Add a timestamp argument to devstat_start_transaction(), this will
normally be a timestamp set by the *_bio() function in bp-&gt;bio_t0.
Use this field to calculate duration of I/O operations.

Add two timestamp arguments to devstat_end_transaction(), one is
the current time, a NULL pointer means "take timestamp yourself",
the other is the timestamp of when this transaction started (see
above).

Change calculation of busy_time to operate on "the salami principle":
Only when we are idle, which we can determine by the start+end
counts being identical, do we update the "busy_from" field in the
down path.  In the up path we accumulate the timeslice in busy_time
and update busy_from.

Change the byte_* and num_* fields into two arrays: bytes[] and
operations[].

Userland:

Change the misleading "busy_time" name to be called "snap_time" and
make the time long double since that is what most users need anyway,
fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same
timescale as the kernel fields.

Change devstat_compute_etime() to operate on struct bintime.

Remove the version 2 legacy interface: the change to bintime makes
compatibility far too expensive.

Fix a bug in systat's "vm" page where boot relative busy times would
be bogus.

Bump __FreeBSD_version to 500107

Review &amp; Collaboration by:	ken
</content>
</entry>
<entry>
<title>Update to current devstat API.</title>
<updated>2003-03-15T21:04:50Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-03-15T21:04:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a57042df908fd4755e241bf01fbdee9c3f58b8c3'/>
<id>urn:sha1:a57042df908fd4755e241bf01fbdee9c3f58b8c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add #include &lt;sys/resource.h&gt;</title>
<updated>2003-02-16T15:21:26Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-02-16T15:21:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fd3a502df23ec41d417bf1f7c79fd5924321d0a4'/>
<id>urn:sha1:fd3a502df23ec41d417bf1f7c79fd5924321d0a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove &lt;sys/dkstat.h&gt; #include</title>
<updated>2003-02-16T14:09:16Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-02-16T14:09:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1b16b2892654b969cc7465a3aaf0f95d70db028c'/>
<id>urn:sha1:1b16b2892654b969cc7465a3aaf0f95d70db028c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename local function havedisk() to haveadisk() to avoid conflict a</title>
<updated>2002-10-02T18:29:50Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-10-02T18:29:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=821aa3b401ccef46258105601197dad3c452f960'/>
<id>urn:sha1:821aa3b401ccef46258105601197dad3c452f960</id>
<content type='text'>
with another function by the same name in a system header.
</content>
</entry>
<entry>
<title>Include &lt;nlist.h&gt; for nlist interfaces instead of depending on namespace</title>
<updated>2002-08-18T17:57:08Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2002-08-18T17:57:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7309e024bfd7ff5ecb299077cafd1305b1be1f2f'/>
<id>urn:sha1:7309e024bfd7ff5ecb299077cafd1305b1be1f2f</id>
<content type='text'>
pollution in &lt;kvm.h&gt;.
</content>
</entry>
</feed>
