Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753074AbaFMJyH (ORCPT ); Fri, 13 Jun 2014 05:54:07 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:59436 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752973AbaFMJyD (ORCPT ); Fri, 13 Jun 2014 05:54:03 -0400 MIME-Version: 1.0 In-Reply-To: <063D6719AE5E284EB5DD2968C1650D6D1725C134@AcuExch.aculab.com> References: <063D6719AE5E284EB5DD2968C1650D6D1725C134@AcuExch.aculab.com> Date: Fri, 13 Jun 2014 11:54:00 +0200 X-Google-Sender-Auth: jsmMr0njVXrJtlFWh2TzsQQdprA Message-ID: Subject: Re: [-next] Regression: ssh log in slowdown From: Geert Uytterhoeven To: David Laight Cc: Tom Herbert , "David S. Miller" , Linux-Next , Linux-sh list , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, On Fri, Jun 13, 2014 at 10:49 AM, David Laight wrote: > From: Of Geert Uytterhoeven > ... >> Note that I'm also using NFS root, which doesn't seem to be affected. >> I can happily run "ls -R /" on the serial console during the 10 s delay in ssh. > > Are you sure that the delay during ssh login isn't just > a reverse DNS timeout? Indeed, the ssh server sends a reverse DNS request twice, with 5s in between: 01:01:16.334257 2e:09:0a:00:6d:85 > 00:0c:42:12:75:1d, ethertype IPv4 (0x0800), length 86: .55318 > .53: 2907+ PTR? .in-addr.arpa. (44) 01:01:16.337282 00:0c:42:12:75:1d > 2e:09:0a:00:6d:85, ethertype IPv4 (0x0800), length 114: .53 > .55318: 2907* 1/0/0 PTR . (72) 01:01:16.356440 2e:09:0a:00:6d:85 > 74:d0:2b:c8:05:49, ethertype IPv4 (0x0800), length 66: .22 > .53536: Flags [.], ack 2194, win 272, options [nop,nop,TS val 4294938665 ecr 480138541], length 0 01:01:21.342072 2e:09:0a:00:6d:85 > 00:0c:42:12:75:1d, ethertype IPv4 (0x0800), length 86: .55318 > .53: 2907+ PTR? .in-addr.arpa. (44) 01:01:21.344844 00:0c:42:12:75:1d > 2e:09:0a:00:6d:85, ethertype IPv4 (0x0800), length 114: .53 > .55318: 2907* 1/0/0 PTR . (72) 01:01:26.353667 2e:09:0a:00:6d:85 > 74:d0:2b:c8:05:49, ethertype IPv4 (0x0800), length 118: .22 > .53536: Flags [P.], seq 1999:2051, ack 2194, win 272, options [nop,nop,TS val 4294939944 ecr 480138541], length 52 Interestingly, I don't see the forward DNS request after that, which does happen in the good case. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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/