Subject: Re: UVM/other problems for desktop users in current?
To: Jukka Marin , Current Users <current-users@NetBSD.ORG>
From: John Franklin <franklin@elfie.org>
List: current-users
Date: 12/19/2002 17:28:03
On Thu, Dec 19, 2002 at 11:55:21PM +0200, Jukka Marin wrote:
> On Thu, Dec 19, 2002 at 04:13:12PM -0500, John Franklin wrote:
> > Weird.  Ok.  The BUFCACHE option represents the percentage of memory to
> > allocate to BUFCACHE.  30% of 511M is 153M.  I seem to have mine set to
> > 25 (.25 * 446M = 111M).  I wonder if it can't handle more than 128M of
> > buffers.  Try cutting it down to 25 (127.75M) and see if you can boot.
> 
> Yep, it reported using 127 MB and worked.  But, the "nfs server
> kyyhky:/home: not responding" messages got even worse during a cvs
> update.  I think I'll set BUFCACHE to 10 and take the server back home.

Have you send-pr'd this?  I could see serious heavy-duty, 4G RAM, 
multi-GigE NAS boxes wanting more than 128M of BUFCACHE.  

Hmm...  128M / 4G = 3.1%. 128M / 2.5G = 5%.  Would GENERIC panic on 3G
machines?

> During cvs update, both CPU's (server and client) were almost idle, but
> running "df" took at least 20 seconds and everything was pretty slow.
> Not nice.

Wow, that's way off from what should happen.  Have you ruled out other
potential issues?  Bad NICs, hubs/switches, cats chewing on the cables?
Is your drive starting to fail?  Has the Server Union announced a work
slow-down?

What does "sysctl kern.maxvnodes" return?

> > Also, what kernel version are you running?  My dmesg is in a different
> > order: 
> 
> I'm running 1.6-STABLE (yes, I know this is current-users, but the
> discussion was here! ;)

That's fine.  I've got a much older machine with BUFCACHE=30 running
an older 1.6-STABLE.  Yes, this poor underpowered machine is an NFS
server, among other things.  And works pretty well, too.

NetBSD 1.6_STABLE (BROADWAY) #0: Mon Nov 25 13:42:49 EST 2002
    franklin@deathmitten:/usr/src2/sys/arch/i386/compile/BROADWAY
cpu0: Intel Pentium (P54C) (586-class), 99.96 MHz
cpu0: features 1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
total memory = 97916 KB
avail memory = 60600 KB
using 6144 buffers containing 32208 KB of memory
BIOS32 rev. 0 found at 0xf0480
mainbus0 (root)


jf
-- 
John Franklin
franklin@elfie.org
ICBM: 35°43'56"N 78°53'27"W