1 |
在 2021/1/15 下午4:27, Raffaele BELARDI 写道: |
2 |
>> -----Original Message----- |
3 |
>> From: bobwxc <bobwxc@××.com> |
4 |
>> Sent: Friday, January 15, 2021 08:57 |
5 |
>> To: gentoo-user@l.g.o |
6 |
>> Subject: Re: [gentoo-user] network transfer speed |
7 |
>> |
8 |
>> 在 2021/1/15 下午2:56, thelma@×××××××××××.com 写道: |
9 |
>>> On both of my systems the network card speed is showing 1000 |
10 |
>>> cat /sys/class/net/enp4s0/speed 1000 |
11 |
>>> |
12 |
>>> but when I do rsync larage file I only see about: 20 to 22MB/s On my |
13 |
>>> home network I get about 110MB/s between PC's |
14 |
>>> |
15 |
>>> Both PC's have SSD and the swith is Gigabit (I think). |
16 |
>>> How to find a the bottleneck? |
17 |
>> 1000Mbps network card's maximum theoretical speed is about 125MiB/s. |
18 |
>> It only works in short distances. |
19 |
> 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. |
20 |
> |
21 |
Yes, you are right. So it is just *theoretical* speed :-) |
22 |
|
23 |
I don't know where does the file he sync from. |
24 |
If you sync a file from a server in other city, for a 20 to 22MB/s speed |
25 |
is very normal. But if in home, that is not good. |
26 |
|
27 |
And for ftp and rsync. |
28 |
ftp is better for transferring a single large file once. |
29 |
rsync is better for a long-term, incremental synchronization. The |
30 |
file verification of rsync may take a lot of time for first sync. |