Time accounting is all wrong ...

Ulrich Spörlein uqs at spoerlein.net
Thu May 6 16:29:43 UTC 2010


Hi,

fairly recent -CURRENT, system uptime is 7 min (yeah, it's crashing a
lot lately) and I'm pushing stuff with rsync, but see the TIME column:

last pid:  2013;  load averages:  1.39,  0.74,  0.41           up 0+00:07:59  17:51:32
59 processes:  3 running, 55 sleeping, 1 zombie
CPU: 15.3% user,  0.0% nice, 64.9% system, 17.6% interrupt,  2.3% idle
Mem: 43M Active, 206M Inact, 98M Wired, 216K Cache, 111M Buf, 646M Free
Swap: 1024M Total, 1024M Free

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
 1987 uqs           1 100    0 75088K 12140K RUN    295:21 21.97% rsync
 1984 uqs           1  56    0 19804K 10016K RUN    463:31 12.99% sshd
 1985 uqs           1  51    0 50512K 13604K select  19.1H 11.96% rsync
 1568 ldap          4  44    0 45888K 10972K ucond  905:41  0.00% slapd
 2002 uqs           1  44    0  5048K  3732K pause   44:47  0.00% zsh
 1802 root          1  44    0 13316K  5448K select  17:56  0.00% sendmail
 1949 root          1  44    0 14552K  8752K select  12:25  0.00% bsnmpd
 1664 root          1  44    0  9548K  1132K select   7:49  0.00% powerd

ps(1) numbers are similarly affected, but not as much:

% uptime;ps aux|grep rsync
 5:54PM  up 10 mins, 1 user, load averages: 0.98, 0.98, 0.58
uqs      1987   2.0  1.3  75088  13192  ??  S     5:48PM   0:27.92 rsync --server -vlHogDtpre.iLf --delete-during . /data/src
uqs      1985   0.0  1.4  46416  14256  ??  Is    5:48PM   0:53.72 rsync --server -vlHogDtpre.iLf --delete-during . /data/src

Do I have a time machine?

% dmesg -a|grep -i time
Timecounter "i8254" frequency 1193182 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71,0x72-0x77 irq 8 on acpi0
pmtimer0 on isa0
Timecounter "TSC" frequency 598061836 Hz quality 800
Timecounters tick every 10.000 msec


kern.timecounter.tick: 1
kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-1000000)
kern.timecounter.hardware: ACPI-fast
kern.timecounter.stepwarnings: 0
kern.timecounter.tc.i8254.mask: 4294967295
kern.timecounter.tc.i8254.counter: 21895
kern.timecounter.tc.i8254.frequency: 1193182
kern.timecounter.tc.i8254.quality: 0
kern.timecounter.tc.ACPI-fast.mask: 16777215
kern.timecounter.tc.ACPI-fast.counter: 1922562
kern.timecounter.tc.ACPI-fast.frequency: 3579545
kern.timecounter.tc.ACPI-fast.quality: 1000
kern.timecounter.tc.TSC.mask: 4294967295
kern.timecounter.tc.TSC.counter: 675366653
kern.timecounter.tc.TSC.frequency: 1500000000
kern.timecounter.tc.TSC.quality: 800
kern.timecounter.smp_tsc: 0
kern.timecounter.invariant_tsc: 0



More information about the freebsd-current mailing list