Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 1997 19:28:54 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        luigi@labinfo.iet.unipi.it (Luigi Rizzo)
Cc:        freebsd-bugs@freefall.freebsd.org, brian@freebsd.org
Subject:   Re: bin/2347: sysinstall: ppp: recursive call in malloc()
Message-ID:  <199701011828.TAA29598@uriah.heep.sax.de>
In-Reply-To: <199701011436.PAA00270@labinfo.iet.unipi.it> from Luigi Rizzo at "Jan 1, 97 03:36:27 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Luigi Rizzo wrote:

> I am using ppp here (basically 2.1R + phkmalloc) without the above
> problem. On passing, iijppp is extremely bad since it does a couple of
> malloc()/free() per packet (one for the header, one for the packet
> itself). On a 14.4 modem this amounts to at least 10 malloc/free per
> second, think what this means on a modem server.
> 
> This could be easily fixed, if someone wants to look at it (I am
> afraid bu I don't have the time to work on this, but some of the
> people who added NAT might be relatively familiar with iijppp code).
> The code is relatively well structured and distinguishes between
> different classes of objects, so handling free lists withih iijppp
> for each class should be highly efficient.

Brian Somers agreed to take over maintenance of iijppp.  I'm not sure
about your CVS knowledge now, Brian?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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