From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75AE11382C5 for ; Fri, 15 Jan 2021 22:57:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB300E0841; Fri, 15 Jan 2021 22:56:55 +0000 (UTC) Received: from mail143c7.megamailservers.com (mail119c7-2520.megamailservers.com [69.49.98.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92243E0833 for ; Fri, 15 Jan 2021 22:56:55 +0000 (UTC) X-Authenticated-User: admin@sys-concept.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.com; s=mailtor; t=1610751415; bh=2NEB1QdRGqEC+rIxQHt8zLpO6DcPUSj33ZvvdYsd1Yo=; h=Subject:To:References:From:Date:In-Reply-To:From; b=H+8TZV2ChOUEgw7HR8Gkw0mUCqwlsdZ5XKK+buCsnbsHOX+OQYICtnO5OpKZIwOFf pgOV9ezdOdcoUGh4iN93dW/TBScVi5iPexF/rGzUyhRwOa5M0bTH5cJ9PNgOa1iNf6 XqIfpdDbh/cd6wIkCsrmxd8jQ3IxW6e7Ab8CthMw= Feedback-ID:thelma@sys-conc X-VIP: 69.49.109.100 Received: from [10.0.0.109] 184.69.242.18":"46771 ([184.69.242.18]) (authenticated bits=0) by mail143c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id 10FMurns001886 for ; Fri, 15 Jan 2021 17:56:54 -0500 Subject: Re: [gentoo-user] network transfer speed To: gentoo-user@lists.gentoo.org References: From: thelma@sys-concept.com Message-ID: Date: Fri, 15 Jan 2021 15:56:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-CTCH-RefID: str=0001.0A742F21.60021DB6.0035:SCFSTAT54230205,ss=1,re=-4.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=ZJ6pZkzb c=1 sm=1 tr=0 a=u3gW5Uk2xAGXuEgp5FffjQ==:117 a=u3gW5Uk2xAGXuEgp5FffjQ==:17 a=IkcTkHD0fZMA:10 a=046jbqsEAAAA:8 a=7mOBRU54AAAA:8 a=Tn02dRESDVZdPN6enI0A:9 a=QEXdDO2ut3YA:10 a=bGzDz6Hpkc7_N_b525It:22 a=wa9RWnbW_A1YIeRBVszw:22 X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrtdefgddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpehthhgvlhhmrgesshihshdqtghonhgtvghpthdrtghomhenucggtffrrghtthgvrhhnpeffkeeuffelvddvveefhffgffekuddvheefheetkefgudejhefgkeehffehkedttdenucfkphepudekgedrieelrddvgedvrddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeegrdeiledrvdegvddrudekpdhhvghloheplgdutddrtddrtddruddtlegnpdhmrghilhhfrhhomhepthhhvghlmhgrsehshihsqdgtohhntggvphhtrdgtohhmpdhrtghpthhtohepghgvnhhtohhoqdhushgvrheslhhishhtshdrghgvnhhtohhordhorhhg X-Origin-Country: CA X-Archives-Salt: 7f89f1b9-5ea6-4305-94a6-22e87a2bdb83 X-Archives-Hash: ae80ea2d4f8dc2d51c8dd7ef88626403 On 1/15/21 1:11 AM, Raffaele BELARDI wrote: >> -----Original Message----- >> From: thelma@sys-concept.com >> Sent: Friday, January 15, 2021 07:57 >> To: Gentoo mailing list >> Subject: [gentoo-user] network transfer speed >> >> >> On both of my systems the network card speed is showing 1000 >> cat /sys/class/net/enp4s0/speed 1000 >> >> but when I do rsync larage file I only see about: 20 to 22MB/s On my home >> network I get about 110MB/s between PC's >> >> Both PC's have SSD and the swith is Gigabit (I think). >> How to find a the bottleneck? > > If the PCs attached to the switch show 1000 then the switch _is_ gigabit. > > On my 1Gb home network I have an FTP transfer speed between Gentoo PCs A and B of almost 900Mbps, the other way round is almost half of that. One difference between the two systems is the disk, A uses SATA-2 disk while B has SATA-3. > > Does the 'B' in 110MB/s stand for byte? If so you have 880Mbps which is not bad, the problem probably lies somewhere else. Otherwise you could check the switch error count (if you have a managed switch) or the network card error count, just to ensure you don't have a cabling/connector problem. > > Have you tried other transfer methods just for comparison? I think FTP is still the fastest way to transfer files, though insecure or inconvenient as it might be. I have no experience with rsync. > > raffaele On a remote network I run ethtool on both cards and I got both 1000Mb/s speed 1.) ethtool net0 Settings for net0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: on (auto) 2.) ethtool enp4s0 Settings for enp4s0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: on (auto)