From owner-freebsd-sparc64@FreeBSD.ORG Sun Feb 15 16:05:04 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC14616A4CE for ; Sun, 15 Feb 2004 16:05:04 -0800 (PST) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96DC143D1D for ; Sun, 15 Feb 2004 16:05:04 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i1G051HQ008415; Sun, 15 Feb 2004 19:05:02 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20040215165913.M30161@grogged.dyndns.org> References: <20040215060047.GA62840@dhcp01.pn.xcllnt.net> <20040215165913.M30161@grogged.dyndns.org> Date: Sun, 15 Feb 2004 19:04:59 -0500 To: matt , sparc64@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: 64 bit time_t oddness X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 00:05:05 -0000 At 5:13 PM -0600 2/15/04, matt wrote: > >Anyhow, here is the strangeness. After compiling/installing the >64 bit time_t world/kernel, I'm getting some serious lag on this >machine. When logged in via ssh, the shell freezes every few >seconds for a brief period of time. Then I get this with top -S: > >last pid: 81822; load averages: 1.18, 1.06, 0.98 ... >46 processes: 2 running, 28 sleeping, 16 waiting >CPU states: 8.9% user, 0.0% nice, 72.3% system, > 0.0% interrupt, 18.8% idle >Mem: 11M Active, 5368K Inact, 19M Wired, 32K Cache, > 8848K Buf, 954M Free >Swap: 2022M Total, 2022M Free > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 11 root -16 0 0K 40K RUN 31:42 38.96% 38.96% idle: >cpu0 > 8 root 171 52 0K 40K pgzero 1:12 3.96% 3.96% pagezero > 473 root 130 0 3624K 1952K select 0:47 0.00% 0.00% dhclient ...etc... >At any given time, I only seem to have ~40% (or less) cpu >available for anything. The clean make buildworld/buildkernel >with 32 bit time_t didn't have this problem, the sources are >identical (no cvsup's between builds). I am not seeing this behavior. My 64-bit time_t system is sitting at 99% to 100% idle. One thing I notice is that you're running dhclient there, and I am not. (I did do some testing with a DHCP setup, but not much). Is your ethernet connection configured correctly? Did you remember to remove /var/db/dhclient.leases ? I wonder if there's anything else that needs to be done for people who are using DHCP. Do you have any interesting options turned on (or off) in your kernel? My kernel == the GENERIC kernel, except that I have commented out the WITNESS and WITNESS_SKIPSPIN options. I am running the ULE scheduler (SCHED_ULE), which was a recent change to the GENERIC kernel. Are you using the older scheduler? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu