From owner-freebsd-current Wed Jun 10 09:16:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06609 for freebsd-current-outgoing; Wed, 10 Jun 1998 09:16:36 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA06503 for ; Wed, 10 Jun 1998 09:16:09 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id SAA25283; Wed, 10 Jun 1998 18:14:28 +0200 (CEST) To: Bruce Evans cc: current@FreeBSD.ORG, jb@cimlogic.com.au, jdp@polstra.com, rb@gid.co.uk Subject: Re: Spurious SIGXCPU In-reply-to: Your message of "Thu, 11 Jun 1998 01:49:01 +1000." <199806101549.BAA29945@godzilla.zeta.org.au> Date: Wed, 10 Jun 1998 18:14:28 +0200 Message-ID: <25281.897495268@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199806101549.BAA29945@godzilla.zeta.org.au>, Bruce Evans writes: >>>Another sign of the bug is that accounting for rapid context switches >>>is broken again: >>> >>> $ time ./fork-benchmark 10000 >>> 6.10 real 0.01 user 8.33 sys >> >>if you make it always call >> microuptime(&p->p_switchtime); >> >>after cpu_switch() in kern_synch, does that make it any different ? > >Probably. I fixed it by clearing switchtime.tv_sec in fork_trampoline() >and am now trying to figure out why that works :-). huh ??? -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message