Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 1996 18:09:45 -0800
From:      davidg@Root.COM (David Greenman)
To:        hackers@freebsd.org
Subject:   Re: mbuf enhancement patch
Message-ID:  <199602210209.SAA04797@Root.COM>

next in thread | raw e-mail | index | archive | help
>>   We once had changes similar to the ones you've provided, except we had it
>>so that the buffers over a certain threshold were returned back to malloc. The
>>problem with this was that the malloc type was lost in the process and this
>>messed up the malloc-type accounting (which eventually leads to malloc
>>failures).
>
>I found the ep driver always keeps some mbuf's in its pool. Is this
>because mbuf allocation is too expensive for boards which equip small
>receive buffer? If this is the case, some improvement (not mine :-) is
>desirable.

   I think that's what the author thought, but the FIFO on the 3c509 should be
sufficiently large enough to not need the extra 1% of speed that having the
private pool gets you. Our malloc implementation is quite efficient, actually.

-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?199602210209.SAA04797>