[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090812.221545.14502703.davem@davemloft.net>
Date: Wed, 12 Aug 2009 22:15:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: remi.denis-courmont@...ia.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] f_phonet: use page-sized rather than MTU-sized RX
buffers
From: Rémi Denis-Courmont <remi.denis-courmont@...ia.com>
Date: Fri, 7 Aug 2009 10:56:44 +0300
> From: Rémi Denis-Courmont <remi.denis-courmont@...ia.com>
>
> Instead of a large (physically) linear buffer, we generate a set of
> paged sk_buff, so no extra memory copy is involved. This removes
> high-order allocations and saves quite a bit of memory. Phonet MTU is
> 65541 bytes, so the two buffers were padded to 128 kilo-bytes each.
> Now, we create 17 page buffers, almost a 75% memory use reduction.
>
> Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@...ia.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists