cygrunsrv + sshd + rsync = 20 times too slow -- throttled?
Takashi Yano
takashi.yano@nifty.ne.jp
Tue Sep 7 10:50:23 GMT 2021
On Tue, 7 Sep 2021 12:26:31 +0900
Takashi Yano wrote:
> On Fri, 27 Aug 2021 20:24:40 +0900
> Takashi Yano wrote:
> > Hi Ken,
> >
> > Thanks much! I tested topic/pipe branch.
> >
> > [yano@cygwin-PC ~]$ scp test.dat yano@linux-server:.
> > yano@linux-server's password:
> > test.dat 100% 100MB 95.9MB/s 00:01
> > [yano@cygwin-PC ~]$ scp yano@linux-server:test.dat .
> > yano@linux-server's password:
> > test.dat 100% 100MB 8.0MB/s 00:12
> >
> > yano@linux-server:~$ scp yano@cygwin-PC:test.dat .
> > yano@cygwin-PC's password:
> > test.dat 100% 100MB 109.7MB/s 00:00
> > yano@linux-server:~$ scp test.dat yano@cygwin-PC:.
> > yano@cygwin-PC's password:
> > test.dat 100% 100MB 31.4MB/s 00:03
> >
> > As shown above, outgoing transfer-rate has been improved upto near
> > theoretical limit. However, incoming transfer-rate is not improved
> > much.
> >
> > I digged further and found the first patch attached solves the issue
> > as follows.
> >
> > [yano@cygwin-PC ~]$ scp yano@linux-server:test.dat .
> > yano@linux-server's password:
> > test.dat 100% 100MB 112.8MB/s 00:00
> >
> > yano@linux-server2:~$ scp test.dat yano@cygwin-PC:.
> > yano@cygwin-PC's password:
> > test.dat 100% 100MB 102.5MB/s 00:00
>
> With this patch (2e36ae2e), I found a problem that mintty gets into
> high load if several keys are typed quickly.
>
> Therefore, I would like to propose a patch attached.
I revised this patch to fit the current git head of topic/pipe branch.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Cygwin-select-Introduce-select_evt-event-for-pipe.patch
Type: application/octet-stream
Size: 6975 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-developers/attachments/20210907/a4821f3b/attachment.obj>
More information about the Cygwin-developers
mailing list