Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 19:04:59 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        matt <matt@grogged.dyndns.org>, sparc64@freebsd.org
Subject:   Re: 64 bit time_t oddness
Message-ID:  <p06020413bc55b74e1ace@[128.113.24.47]>
In-Reply-To: <20040215165913.M30161@grogged.dyndns.org>
References:  <p06020407bc533f0ae9d2@[128.113.24.47]> <20040215060047.GA62840@dhcp01.pn.xcllnt.net> <p0602040ebc54c885236b@[128.113.24.47]> <20040215165913.M30161@grogged.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06020413bc55b74e1ace>