Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 15:22:36 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: tcp_output starving -- is due to mbuf get delay?
Message-ID:  <3E95EEAC.AE812757@mindspring.com>
References:  <3E94A22D.174321F0@lbl.gov> <3E94A8C4.3A196E42@lbl.gov> <05b601c2ffa2$ed87a5b0$932a40c1@PHE>

next in thread | previous in thread | raw e-mail | index | archive | help
Petri Helenius wrote:
> There was a discussion on mballoc performance on freebsd-net about a month ago
> but it has since died without conclusion.

Actually, a researcher at UKY implemented an alternate allocator
using an explicit freelist and mp_machdep.c tricks, rather than
using the zone/slab/uma stuff, and obtained a significant speedup.
Yes, I was involved in suggesting implementation details.  The
resulting code is not SMP-safe, however, unless you are willing
to use a global freelist (obviously).

BTW: The zone allocator *still* calcualtes some values each time
it goes back to the system for more pages, that it should precalculate
and cache instead.

-- Terry



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