From owner-freebsd-hackers Sun Nov 23 00:24:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA28181 for hackers-outgoing; Sun, 23 Nov 1997 00:24:58 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sunny.bog.msu.su (dima@sunny.bog.msu.su [158.250.20.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA28171 for ; Sun, 23 Nov 1997 00:24:51 -0800 (PST) (envelope-from dima@bog.msu.su) Received: from localhost (dima@localhost) by sunny.bog.msu.su (8.8.6/8.8.0) with SMTP id LAA06059; Sun, 23 Nov 1997 11:19:32 +0300 (????) Date: Sun, 23 Nov 1997 11:19:31 +0300 (????) From: Dmitry Khrustalev To: Jaye Mathisen cc: David Greenman , hackers@FreeBSD.ORG Subject: Re: Serious performance issue with 2.2.5-RELEASE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 22 Nov 1997, Jaye Mathisen wrote: > > I do not believe so. What ever it is definitely appears related to > swapping/paging somehow. I beleive the following patch to apache should improve situation: --- alloc.c.old Sun Nov 23 11:15:31 1997 +++ alloc.c Sun Nov 23 11:16:34 1997 @@ -199,7 +199,8 @@ /* Nope. */ min_size += BLOCK_MINFREE; - return malloc_block((min_size > BLOCK_MINALLOC) ? min_size : BLOCK_MINALLOC); + return malloc_block((min_size > BLOCK_MINALLOC - sizeof(union block_hdr)) ? + min_size : BLOCK_MINALLOC - sizeof(union block_hdr)); } > > I get these LA spikes in the several hundreds, the disk light is on solid > for 2-3 minutes, then it all goes away. > > System accounting doesn't show any unusual pattern of apps being run. The > vast majority are perl scripts. > > There's about 1100 processes on the machine, give or take a few, with > about 80MB RAM free. > > NFS is compiled in, but not used. > > I have also disabled ntpd thinking something was hanging there, but > no dice. > > > > On Sat, 22 Nov 1997, David Greenman wrote: > > > >I upgraded my web server to 2.2.5 from 2.2.2-stable, dated sometime in > > >July. > > > > > >Big mistake. > > > > > >The only update to take place was the make buildworld, make installworld, > > >no other configuration files were modified, nor any changes to startup > > >scripts, etc. > > > > > >I now get these weird pauses where everything on the machine just freezes > > >for 30-40 seconds, sometimes longer. NFS is compiled in, but not in use. > > > > > >The system was a web server, and was happily serving up several hundred > > >domains. Now with the upgrade, I'll be lucky to keep them. Not good. > > > > > >It's a Super Micro P6, 384MB RAM, 2 SCSI disks off a bus-logic controller. > > > > > >Any ideas appreciated. I have built a new kernel from sources supped > > >11/7, but it doesn't seem to be any better. > > > > Is it possible that the slowness could actually be a network related > > problem involving the updated 'de' driver in 2.2.5? > > > > -DG > > > > David Greenman > > Core-team/Principal Architect, The FreeBSD Project > > >