From owner-freebsd-net@FreeBSD.ORG Tue Apr 1 06:00:20 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0597C1065675 for ; Tue, 1 Apr 2008 06:00:20 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: from staff.cyber.mmu.edu.my (staff.cyber.mmu.edu.my [203.106.62.12]) by mx1.freebsd.org (Postfix) with ESMTP id 815048FC19 for ; Tue, 1 Apr 2008 06:00:19 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: by staff.cyber.mmu.edu.my (Postfix, from userid 0) id 27CAB4D4718; Tue, 1 Apr 2008 13:35:44 +0800 (MYT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mmu.edu.my (Postfix) with ESMTP id 9952E55E4B0 for ; Sat, 29 Mar 2008 06:54:56 +0800 (MYT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 6CA08153A9D; Fri, 28 Mar 2008 17:32:04 +0000 (UTC) (envelope-from owner-freebsd-performance@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 60CB01065678; Fri, 28 Mar 2008 17:32:03 +0000 (UTC) (envelope-from owner-freebsd-performance@freebsd.org) Delivered-To: performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8800106564A; Fri, 28 Mar 2008 17:31:55 +0000 (UTC) (envelope-from ap00@mail.ru) Received: from mx0.awanti.com (mx0.awanti.com [91.190.112.18]) by mx1.freebsd.org (Postfix) with ESMTP id A2DE38FC15; Fri, 28 Mar 2008 17:31:55 +0000 (UTC) (envelope-from ap00@mail.ru) Received: by mx0.awanti.com (Postfix, from userid 100) id F1AF74C022; Fri, 28 Mar 2008 20:13:18 +0300 (MSK) X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.1.9 on mx0.awanti.com X-Spam-Status: No, score=-2.3 required=6.5 tests=AWL,BAYES_00 autolearn=ham version=3.1.9 Received: from pstation (unknown [10.28.4.14]) by mx0.awanti.com (Postfix) with ESMTP id 467204C019; Fri, 28 Mar 2008 20:13:17 +0300 (MSK) Date: Fri, 28 Mar 2008 20:14:58 +0300 From: Anthony Pankov X-Mailer: The Bat! (v1.51) Personal X-Priority: 3 (Normal) Message-ID: <1333421734.20080328201458@mail.ru> To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-performance@freebsd.org Errors-To: owner-freebsd-performance@freebsd.org Cc: performance@freebsd.org Subject: packet delay because of blackhole X-BeenThere: freebsd-net@freebsd.org Reply-To: Anthony Pankov List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 06:00:20 -0000 Just for somebody convince. While analyzing client<->server HTTPS conversation one second delay in packet exchange was discovered (strongly reproducible): Sample: N time 6 0.002303 10.28.4.14 10.28.4.50 SSL Client Hello 7 0.106710 10.28.4.50 10.28.4.14 TCP 443 > 1447 [ACK] Seq=1 Ack=103 Win=65535 Len=0 8 1.045712 10.28.4.50 10.28.4.14 TLSv1 Server Hello, Certificate, Server Hello Done Another sample: 10 0.011722 10.28.4.14 10.28.4.50 TLSv1 Application Data 11 0.115933 10.28.4.50 10.28.4.14 TCP 443 > 1442 [ACK] Seq=839 Ack=519 Win=65466 Len=0 12 1.054037 10.28.4.50 10.28.4.14 TLSv1 Application Data The reason for delay is sysctl tcp.blackhole value grater than 0, much to surprise. So, turning tcp.blackhole to 0 eliminate any delay (strongly reproducible). System: FreeBSD 6_2_stable -- Best regards, Anthony mailto:ap00@mail.ru _______________________________________________ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"