From owner-freebsd-www@FreeBSD.ORG Thu Nov 28 09:10:01 2013 Return-Path: Delivered-To: freebsd-www@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DAE36542 for ; Thu, 28 Nov 2013 09:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B5EC91F69 for ; Thu, 28 Nov 2013 09:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAS9A0QM053097 for ; Thu, 28 Nov 2013 09:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAS9A0xU053096; Thu, 28 Nov 2013 09:10:00 GMT (envelope-from gnats) Resent-Date: Thu, 28 Nov 2013 09:10:00 GMT Resent-Message-Id: <201311280910.rAS9A0xU053096@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Archy Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0543E394 for ; Thu, 28 Nov 2013 09:00:16 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CBB7F1ED5 for ; Thu, 28 Nov 2013 09:00:15 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAS90FeW084339 for ; Thu, 28 Nov 2013 09:00:15 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAS90F2N084335; Thu, 28 Nov 2013 09:00:15 GMT (envelope-from nobody) Message-Id: <201311280900.rAS90F2N084335@oldred.freebsd.org> Date: Thu, 28 Nov 2013 09:00:15 GMT From: Archy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: www/184349: Very slow connection to Windows x64 System X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2013 09:10:01 -0000 >Number: 184349 >Category: www >Synopsis: Very slow connection to Windows x64 System >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 28 09:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Archy >Release: 9.2 x86_64 >Organization: I-Services Network Solution Limited >Environment: FreeBSD Router-xx 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Tue Oct 15 09:29:45 HKT 2013 root@Router-xx:/usr/src/sys/amd64/compile/ROUTER-NETMAP amd64 >Description: I found a problem but I could not justify is that problem of FreeBSD or Windows. I got very slow connection between two machine, only HTTP have problem. Server : FreeBSD 9.2 x86_64 Client: Windows 7 x86_64 The problem was found since I use the FreeBSD 9.2 as a web server , client complaint the connection very slow , have only ~1kbps , I have change the server side from Apache to Lighttpd , no luck , and I test the line with FTP SSH protocol , Server to Client with same IP address , connection have >30Mbps via internet . After that , I use the same IP address of server side , change it to FreeBSD 9.1 x86_64 and have no problem of the HTTP connections , got 30Mbps back again. Then I change the server back to FreeBSD 9.2 x86_64 , and change the client side from Windows 7 x86_64 to Windows 2008 x86_64 , the problem exist , whatever a chrome / IE / or any download agents . And I change to a Win7 32bit , the line get back to 30Mbps again with HTTP. All test use the same Server IP and Client IP , IP have no changed. As I have tested and got the following result: FreeBSD 9.2 x86_64 > Windows6.1(Win7/2008) x86_64 slow with HTTP but other work fine Same IP address of both sides FreeBSD 9.1 x86_64 >Windows6.1(Win7/2008) x86_64 works fine. Here is my custom kernel configuration (Both 9.1 and 9.2) hope it helps : options DUMMYNET options IPFIREWALL options IPFIREWALL_FORWARD options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT device pf device pflog device pfsync options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ options ALTQ_NOPCC options ZERO_COPY_SOCKETS options TCP_SIGNATURE options IPSEC options IPSEC_FILTERTUNNEL device cryptodev device crypto options HZ=1000 device carp device netmap And more information , I put the server and client with-in the same subnet , it will have no problem , but I don't think that is a routing problem , since I have test with only one router hop between server and client , it will got the problem back again , no matter the router is a Cisco or FreeBSD box. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: