> -----Original Message-----
> From: Andi Kleen [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 17, 2006 5:56 PM
> To: Haruki Dai-r35557
> Cc: netdev@vger.kernel.org; Fleming Andy-afleming; Kumar Gala
> Subject: Re: [PATCH] Gianfar SKB Recycling Support
> 
> On Thursday 18 May 2006 00:45, Haruki Dai-r35557 wrote:
> > This patch improves the IP forwarding throughput of
> > the Freescale TSEC/eTSEC Gianfar driver. By recycling
> > the Socket buffer and Data buffer, reduce the unnecessary
> > memory allocation and de-allocation in the forwarding
> > processing chain.
> 
> Seems very hackish because it only works inside the driver. 
> 
> Also  there is a reason why Linux doesn't support this normally - 
> it wrecks the unified memory management because you won't free
> your pools on memory pressure.
> 
> -Andi
>
With grant of the description, it looks negative in the memory management, but 
actually, the amount of memory usage in the driver layer is less than the 
ordinaly gianfar (around half), especially the NAPI is enable. This recycling 
is introduced in order to chop down the critical path memory usage.

Forwarding performance goes up 60 to 100% better, and amount of memory usage is 
half.

Thanks for comment,
Dai
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to