From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 08:31:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BBC410656A4 for ; Thu, 19 Aug 2010 08:31:41 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A5F668FC0C for ; Thu, 19 Aug 2010 08:31:40 +0000 (UTC) Received: by fxm4 with SMTP id 4so996873fxm.13 for ; Thu, 19 Aug 2010 01:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=/QRgbqVfoa6cnnok6mNud0IGIJfCKFQ270YNrhGeER0=; b=nNHqFz6P2LdumHXiHcccYktZJe//mft6PFHAXHYwqr0Zu1zGdRxnRLWNMTDSa3H45n LTOTDbjvOr8rF9YZcTANodOSdPg/IoWzwyW7C4Z2yyz6mcr6KfiU1uwE5SC5LLPEutYg K+wX2M/FLOsOQDlkI0BVEsxBHK58o8FQuqnj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=OVsQwhm4L/4IoR3GufezFg46/M4obO4YxB2N1TrtuZ0jc4h/odUNGcACgQ89onm8Dy 7nqj374JwV4Phwja8+Pye4yv8rl+x6Wo3RshbcJKUXcad/EbKi+nub61VSVEMOossqhL I3HAzEnpd7OquqVBpOcoQ6wR/R45wmFQ08ACE= Received: by 10.239.185.206 with SMTP id d14mr410512hbh.34.1282205003232; Thu, 19 Aug 2010 01:03:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.149.134 with HTTP; Thu, 19 Aug 2010 01:03:03 -0700 (PDT) From: Antonio Kless Date: Thu, 19 Aug 2010 12:03:03 +0400 Message-ID: To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Strange network issue (packet loss?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 08:31:41 -0000 Server has 1000 Mbit network interface connected to 1000 Mbit Cisco switch. Let's say this things works OK. Actually, provider gives 10 Mbit channel. Here we go: # uname -a FreeBSD server.net 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Mon Jul 26 02:33:48 MSD 2010 user@server.net:/usr/obj/usr/src/sys/ALTERKERN amd64 # ifconfig igb0 igb0: flags=8843 metric 0 mtu 1500 options=19b ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xffffff00 broadcast 1.2.3.255 media: Ethernet autoselect (1000baseTX ) status: active # scp -C user@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 13% 172MB 3.0MB/s 06:08 ETA Disconnecting: Corrupted MAC on input. lost connection I repeat that about 20 times. Error goes in random moment and point (percentage) of downloading. # ifconfig igb0 media 100BaseTX # ifconfig igb0 igb0: flags=8843 metric 0 mtu 1500 options=19b ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xffffff00 broadcast 1.2.3.255 media: Ethernet 100baseTX (100baseTX ) status: active # scp -C user@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 100% 1291MB 3.1MB/s 07:00 That's works! But why half-duplex? Go next: # ifconfig igb0 media 100BaseTX mediaopt full-duplex # ifconfig igb0 igb0: flags=8843 metric 0 mtu 1500 options=19b ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xffffff00 broadcast 1.2.3.255 media: Ethernet 100baseTX status: active # scp -C user@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 82% 1069MB 453.2KB/s 08:20 ETA ^C Killed by signal 2. OMG! Where has the speed get lost? What could be the reason, any ideas? -- Best regards, Antonio Kless, http://kless.spb.ru/