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 677D31382C5 for ; Fri, 15 Jan 2021 16:51:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 797C8E08F2; Fri, 15 Jan 2021 16:51:27 +0000 (UTC) Received: from mail146c7.megamailservers.com (mail767.megamailservers.com [69.49.98.77]) (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 E3E07E0882 for ; Fri, 15 Jan 2021 16:51:26 +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=1610729486; bh=y9Gl3sDi+ByaXfRk14czecPZfIcB2V4wTtRlEd6j8hQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=SYkkkIMU+VBn+VJFhuJyEiYnXDR9cqhFUE8tkVTGO1q9n7j3ksA9+K6C48F+R+b3l YLhljh/eBBifWHMt6pVsW/2kxw8DYfVbCVYSH9OQnabUoK4ku2DO+mwPp5iNm2eoJw 9uZBIgLRZkvP9VyWIZF4C1q9+C+YIqKPy6sE6j4g= Feedback-ID:thelma@sys-conc X-VIP: 69.49.109.100 Received: from [10.0.0.109] 184.69.242.18":"58522 ([184.69.242.18]) (authenticated bits=0) by mail146c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id 10FGpOtf027022 for ; Fri, 15 Jan 2021 11:51:25 -0500 Subject: Re: [gentoo-user] network transfer speed To: gentoo-user@lists.gentoo.org References: <2193945.ElGaqSPkdT@dell_xps> From: thelma@sys-concept.com Message-ID: <97df8c5d-2963-a59f-ab42-7b5a0a33681d@sys-concept.com> Date: Fri, 15 Jan 2021 09:51:17 -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: <2193945.ElGaqSPkdT@dell_xps> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CTCH-RefID: str=0001.0A742F1A.6001C80E.0005: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=Q+SsHL+a c=1 sm=1 tr=0 a=u3gW5Uk2xAGXuEgp5FffjQ==:117 a=u3gW5Uk2xAGXuEgp5FffjQ==:17 a=IkcTkHD0fZMA:10 a=5lTVvpYdAAAA:8 a=7mOBRU54AAAA:8 a=046jbqsEAAAA:8 a=J7WmRVkPgHi9QI3kFhsA:9 a=QEXdDO2ut3YA:10 a=NWVoK91CQyQA:10 a=2lfRMSN6MhQp-F0VQB30:22 a=wa9RWnbW_A1YIeRBVszw:22 a=bGzDz6Hpkc7_N_b525It:22 X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrtddvgdeikecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpehthhgvlhhmrgesshihshdqtghonhgtvghpthdrtghomhenucggtffrrghtthgvrhhnpeehgfehfeehtdejffffffetleffudetjedtieeifefghefhveeftdduieehtdefleenucfkphepudekgedrieelrddvgedvrddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeegrdeiledrvdegvddrudekpdhhvghloheplgdutddrtddrtddruddtlegnpdhmrghilhhfrhhomhepthhhvghlmhgrsehshihsqdgtohhntggvphhtrdgtohhmpdhrtghpthhtohepghgvnhhtohhoqdhushgvrheslhhishhtshdrghgvnhhtohhordhorhhg X-Origin-Country: CA X-Archives-Salt: a9b1ef07-c154-400a-9642-dca5ba08105b X-Archives-Hash: 397da47780245904c1e966603dc59805 On 1/15/21 2:58 AM, Michael wrote: > On Friday, 15 January 2021 08:42:16 GMT bobwxc wrote: >> 在 2021/1/15 下午4:27, Raffaele BELARDI 写道: >>>> -----Original Message----- >>>> From: bobwxc >>>> Sent: Friday, January 15, 2021 08:57 >>>> To: gentoo-user@lists.gentoo.org >>>> Subject: Re: [gentoo-user] network transfer speed >>>> >>>> 在 2021/1/15 下午2:56, thelma@sys-concept.com 写道: >>>>> 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? >>>> >>>> 1000Mbps network card's maximum theoretical speed is about 125MiB/s. >>>> It only works in short distances. >>> >>> Correct but that's the line speed that you'll never reach, when you take >>> into account Ethernet frame overhead, IP (and possibly TCP) header >>> overhead and application ( rsync, FTP, SMB, NFS) overhead you get lower >>> figures. In my experience 900Mbps (110MiBps) on a 1000Mbps line is more >>> realistic for 'normal' transfers. >> Yes, you are right. So it is just *theoretical* speed :-) >> >> I don't know where does the file he sync from. >> If you sync a file from a server in other city, for a 20 to 22MB/s speed >> is very normal. But if in home, that is not good. >> >> And for ftp and rsync. >> ftp is better for transferring a single large file once. >> rsync is better for a long-term, incremental synchronization. The >> file verification of rsync may take a lot of time for first sync. > > There is a theoretical network speed as already mentioned. There is a > protocol speed, which may limit throughput if it has e.g. heavy encryption/ > compression and the CPU is anaemic. Finally, there is a MoBo bus (SCSI/SATA/ > USB) and the media storage limit. If using USB 1.1 or 2.0 and/or the disks > are slow or experience write amplification, you'll find this will constrain > the final transfer speed significantly. The computers on this network are 2-meters apart and they both use SSD Drive (so USB limitation doesn't come under consideration). Like I said, on my home network when I transfer the 24GB file I get about 110MiBps transfer, so I was expecting the same in remote location). Some units are connected to a router Ausus RT-AC66U B1 but these ports are gigabit too.