| View previous topic :: View next topic |
| Author |
Message |
fabien29200 n00b

Joined: 12 Jun 2006 Posts: 31
|
Posted: Sat Jun 16, 2012 5:09 pm Post subject: [SOLVED] Slow rates with SCP |
|
|
Hello !
I have came back to Gentoo since a few weeks and I am very pleased with it.
I am now planning to duplicate the installation on the other PCs of the house.
But I am experiencing a weird issue.
When I am trying to transfer a file to the other PC (Ubuntu 11.10) with scp the rate is slow.
I can't get over 750 kB/s. When I start an Ubuntu live CD on my PC, I can transfer up to 30 MB/s to the same PC.
On the other side (Ubuntu -> Gentoo) the rate is even worse : 500 kB/s.
When I am at 750 kB/s (Gentoo -> Ubuntu), the CPU consumption of SSH is 1 or 2% on both PCs.
I tried disabling the firewall but no change.
I have no clue for now, and you ?
I saw other SSH rates problems on the forum, but it is normally corrected in openssh 6.0_p1-r1 which is the version I have. So I assume this is a new problem.
Thanks for help !
Last edited by fabien29200 on Sun Jun 17, 2012 11:18 am; edited 1 time in total |
|
| Back to top |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1633
|
Posted: Sat Jun 16, 2012 6:28 pm Post subject: |
|
|
There have been issues with the latest openssh: bug 414401
You could try either building with the "hpn" flag turned off, or downgrade to 5.9. _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3975 Location: Saint Amant, Acadiana
|
Posted: Sat Jun 16, 2012 9:47 pm Post subject: |
|
|
SCP problems aside, there are better ways to share files on LAN. I'd use NFS. Also, you can use FEATURES="buildpkg" to build binaries in your master and FEATURES="getbinpkg" in your clients. _________________ Please learn how to denote units correctly! |
|
| Back to top |
|
 |
fabien29200 n00b

Joined: 12 Jun 2006 Posts: 31
|
Posted: Sun Jun 17, 2012 11:22 am Post subject: |
|
|
@Etal : set -hpn to package.use, reemerge and rates back to 34 MB/s. Thanks for the trick.
Weird that the high performance flag divides rates by 40 ...
@Jaglover : exactly what I have planned
This is totally off the initial subject, but do you know a way to handle configuration files in a Gentoo network ?
That etc-update in network machines simply do what has been done on the master ? |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3975 Location: Saint Amant, Acadiana
|
Posted: Sun Jun 17, 2012 8:35 pm Post subject: |
|
|
Not sure how to answer this question. You can use quickpkg --include-config=y foo (where foo can be a set) to build packages with config files from master. Most of the time it's probably best to build binary packages with default conf and run dispatch-conf after installing them on clients, can be conveniently done over SSH from your favorite chair. _________________ Please learn how to denote units correctly! |
|
| Back to top |
|
 |
|