lkml.org 
[lkml]   [2005]   [Jun]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 02 Jun 2005 21:49:27 -0700 (PDT)
SubjectRe: Avoiding external fragmentation with a placement policy Version 12
From"David S. Miller" <>
From: Nick Piggin <nickpiggin@yahoo.com.au>
Date: Fri, 03 Jun 2005 13:48:08 +1000

> It would really help your cause in the short term if you can
> demonstrate improvements for say order-3 allocations (eg. use
> gige networking, TSO, jumbo frames, etc).

TSO chops up the user data into PAGE_SIZE chunks, it doesn't
make use of non-zero page orders.

AF_UNIX sockets, however, will happily use higher order
pages.  But even this is limited to SKB_MAX_ORDER which
is currently defined to 2.

So the only way to get order 3 or larger allocations with
the networking is to use jumbo frames but without TSO enabled.

Actually, even with TSO enabled, you'll get large order
allocations, but for receive packets, and these allocations
happen in software interrupt context.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-03 04:54    [from the cache]
©2003-2008