summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2013-01-15 23:30:38 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2013-01-15 23:30:38 +0000
commit764848d7a3228f5177941ebbe5cebb373389146c (patch)
treecfade82b48dcceb1df0b28e914d9adaa91cea9a8 /sys/net
parentc68c6c0b4e2c1cb569a2d032f46affae716525b0 (diff)
Loongson: Add a stat clock for the lemote machines.
The stat clock is implemented so that it also covers, at least according to the tests I've done, Torek's paper on randomized sampling. Most of the bits for randomizing the stat ticks were taken from sparc's implementation and adapted to the companion chip's MFGPT frequencies. Before this my lemote showed a 8% cpu usage for the cpuhog example from Torek's paper even though openssl speed showed differences up to 27% when ran with and without cpuhog. With the new stat clock it shows cpuhog around 18-22%, which I think is the proper value. Okay miod@.
Diffstat (limited to 'sys/net')
0 files changed, 0 insertions, 0 deletions