Date: Sun, 23 Nov 1997 11:19:31 +0300 (????) From: Dmitry Khrustalev <dima@bog.msu.su> To: Jaye Mathisen <mrcpu@cdsnet.net> Cc: David Greenman <dg@root.com>, hackers@FreeBSD.ORG Subject: Re: Serious performance issue with 2.2.5-RELEASE Message-ID: <Pine.GSO.3.95.971123110922.6005A-100000@sunny.bog.msu.su> In-Reply-To: <Pine.NEB.3.95.971122224919.7886e-100000@mail.cdsnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95.971123110922.6005A-100000>