Aucbvax.4090
fa.unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Mon Sep 28 19:54:23 1981
profiling kernel changes
>From day@RAND-UNIX Mon Sep 28 19:37:56 1981
I thought of an interesting way to determine the
effect a kernel change will have on performance:
Write your changes like this:
       if (newway)
           new code with statistics gathering
       else
           old code with statistics gathering

and have the clock interrupt handler complement
the value of `newway' every interval of, say, 5
minutes.  Since the system load will vary randomly
with respect to your timing interval, after several
intervals you will have statistics for the old
and new ways under approximately the same load.

--dave

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.