Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA11881; Fri, 29 Sep 95 23:26:08 EDT
Received: from freefall.FreeBSD.ORG by MIT.EDU with SMTP
	id AA21890; Fri, 29 Sep 95 23:25:28 EDT
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id RAA09138
          ; Fri, 29 Sep 1995 17:21:53 -0700
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id RAA09072
          for hackers-outgoing; Fri, 29 Sep 1995 17:20:12 -0700
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA09066
          for <hackers@freefall.freebsd.org>; Fri, 29 Sep 1995 17:20:09 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id RAA09489; Fri, 29 Sep 1995 17:08:59 -0700
To: Bakul Shah <bakul@netcom.com>
Cc: hackers@freefall.FreeBSD.org
Subject: Re: A moment in the life of ftp.cdrom.com 
In-Reply-To: Your message of "Fri, 29 Sep 1995 12:54:26 PDT."
             <199509291954.MAA05143@netcom22.netcom.com> 
Date: Fri, 29 Sep 1995 17:08:59 -0700
Message-Id: <9487.812419739@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Sender: owner-hackers@FreeBSD.org
Precedence: bulk

> It'd be interesting to know where majority of that 98M is
> going.  Memory leak? profligate memory use? or just a huge
> amount of data?  It is probably spending half its time
> paging.  318:39 for syslogd?  Hmm...

Profligate memory use.  The mirror scripts use Perl's associative
arrays to suck in entire file trees from both systems and laboriously
compare them.  While perl's assoc arrays are no doubt quite powerful,
their internal implementation is not very compact.

The mirror stuff desperately needs to be re-written in carefully coded
C.  The first person to do so will undoubtedly be canonized by ftp
adminstrators everywhere! :-)

					Jordan
