Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755941Ab0HXUd5 (ORCPT ); Tue, 24 Aug 2010 16:33:57 -0400 Received: from smtp.srv.ualberta.ca ([129.128.5.19]:64058 "EHLO mail4.srv.ualberta.ca" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755601Ab0HXUdz (ORCPT ); Tue, 24 Aug 2010 16:33:55 -0400 Date: Tue, 24 Aug 2010 14:33:02 -0600 (Mountain Daylight Time) From: Marc Aurele La France To: Eric Dumazet cc: Ben Hutchings , Stephen Hemminger , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Alexey Kuznetsov , "Pekka Savola (ipv6)" , James Morris , Hideaki YOSHIFUJI , Patrick McHardy Subject: Re: RFC: MTU for serving NFS on Infiniband In-Reply-To: <1282680572.2467.78.camel@edumazet-laptop> Message-ID: References: <20100823080543.319143e3@nehalam> <1282672647.2302.15.camel@achroite.uk.solarflarecom.com> <1282680572.2467.78.camel@edumazet-laptop> User-Agent: Alpine 2.00 (WNT 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1152640-27923-1282681983=:312" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3985 Lines: 84 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1152640-27923-1282681983=:312 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 24 Aug 2010, Eric Dumazet wrote: > Le mardi 24 août 2010 à 13:49 -0600, Marc Aurele La France a écrit : >> Any payload has to either fit in the MTU, or has to be broken up into >> MTU-sized (or less) fragments, come hell or high water. That this is done >> centrally is a good thing. It is the "(or less)" part that I am working >> towards here. > Could you post a full stack trace, to help me understand the path from > NFS to ip_append_data ? [] __alloc_pages_nodemask+0x617/0x692 [] ? mark_held_locks+0x49/0x64 [] kmalloc_large_node+0x61/0x9e [] __kmalloc_node_track_caller+0x32/0x159 [] ? sock_alloc_send_pskb+0xc9/0x2ea [] __alloc_skb+0x74/0x163 [] sock_alloc_send_pskb+0xc9/0x2ea [] ? mark_held_locks+0x49/0x64 [] sock_alloc_send_skb+0x15/0x17 [] ip_append_data+0x500/0x9d0 [] ? local_bh_enable+0xb7/0xbd [] ? ip_generic_getfrag+0x0/0x92 [] ? ip_route_output_flow+0x82/0x1f9 [] udp_sendmsg+0x4ec/0x60c [] inet_sendmsg+0x4b/0x58 [] sock_sendmsg+0xd9/0xfa [] ? __lock_acquire+0x787/0x7f5 [] ? __lock_acquire+0x787/0x7f5 [] kernel_sendmsg+0x37/0x43 [] xs_send_kvec+0x88/0x93 [sunrpc] [] ? _raw_spin_unlock_irqrestore+0x44/0x4c [] xs_sendpages+0x7f/0x1be [sunrpc] [] xs_udp_send_request+0x5b/0x103 [sunrpc] [] xprt_transmit+0x11f/0x1f5 [sunrpc] [] ? nfs3_xdr_writeargs+0x0/0x82 [nfs] [] call_transmit+0x218/0x25e [sunrpc] [] __rpc_execute+0x9b/0x288 [sunrpc] [] rpc_async_schedule+0x15/0x17 [sunrpc] [] worker_thread+0x1ed/0x2e6 [] ? worker_thread+0x197/0x2e6 [] ? rpc_async_schedule+0x0/0x17 [sunrpc] [] ? autoremove_wake_function+0x0/0x3d [] ? worker_thread+0x0/0x2e6 [] kthread+0x82/0x8a [] kernel_thread_helper+0x4/0x10 [] ? finish_task_switch+0x0/0xd6 [] ? kernel_thread_helper+0x0/0x10 There are many other variations as well. > I suspect this is UDP transport ? Yes. > This reminds me a patch I wrote for IPV6 : We were allocating a huge > (MTU sized) buffer, just to fill few bytes in it... Humm. Interesting. Thanks for the pointer. Marc. +----------------------------------+----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Academic Information and | fax: 1-780-492-1729 | | Communications Technologies | email: tsi@ualberta.ca | | 352 General Services Building +----------------------------------+ | University of Alberta | | | Edmonton, Alberta | Standard disclaimers apply | | T6G 2H1 | | | CANADA | | +----------------------------------+----------------------------------+ --1152640-27923-1282681983=:312-- -- 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/