On Wed, Mar 05, 2003 at 10:07:35AM +0200, Petri Helenius wrote:
> I think there is nothing really special about the driver there? The mbufs
> are allocated in the driver and then freed when other parts in the kernel
> are done with the packet? The issue I´m having is that mb_free takes
> almost four times the cycles than mb_alloc for each call which does
> not seem to be right? I shouldn´t be having lock contention in mb_alloc
> because the whole thing is still under Giant, right?

  There's probably a tightloop of frees going on somewhere.  It's tough
  for me to analyze this as I cannot reproduce it.  Have you tried
  running your tests over loopback to see if the same thing happens?

  If so, and it does, can you please explain how to exactly replicate
  the test?
-- 
Bosko Milekic * [EMAIL PROTECTED] * [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to