cygrunsrv + sshd + rsync = 20 times too slow -- throttled?
Chris Roehrig
croehrig@house.org
Wed Sep 1 21:11:53 GMT 2021
I rebuild procps 3.3.17.29-2480 from source and it appears to work, so maybe the stock procps package is incompatibility with the current master branch. (However, I built it against the stock /usr/include, not the current branch...)
I first needed to 'make /proc/libprocps.la', and there was an undefined siginfo_t.si_int in ./lib/test_process.c which I just commented-out to get it to build.
-- Chris
On Tue Aug 31 2021, at 1:23 PM, Chris Roehrig <croehrig@house.org> wrote:
> I did a 'git pull' of the latest topic/pipe and rebuilt and I now do indeed get 100MB/s transfers using both rsync and scp (without pipe_byte).
> (It turns out last time I forgot 'make install' -- Doh!)
>
> I still get the procps error however.
>
>
> On Tue Aug 31 2021, at 12:53 PM, Chris Roehrig <croehrig@house.org> wrote:
>
>> Thanks, I did some more tests:
>> scp also shows no improvement with topic/pipe. I tried running cygsshd with CYGWIN=pipe_byte as well as empty (in the registry HKLM/SYSTEM/CurrentControlSet/Services/cygsshd/Parameters/Environment/), using net stop cygsshd + net start cygsshd to restart it. Not sure if that CYGWIN only applies to cygsshd or to all cygwin tasks.
>>
>> I get the procps error just running 'procps' command with no args from mintty (/usr/bin/procps). Looking at the procps-ng source (procps-ng 3.3.17-1 is what setup_x86_64 reports as my installed package), it appears to be a mmap() failure.
>>
>> I'm wondering if I built/installed cygwin1.dll correctly because I don't get the procps error using the latest stock cygwin1.dll as installed by setup_x86_64.
>>
>> -- Chris
>>
>>
>>
>> On Tue Aug 31 2021, at 12:05 PM, Ken Brown via Cygwin <cygwin@cygwin.com> wrote:
>>
>>> On 8/30/2021 7:58 PM, Chris Roehrig wrote:
>>>> I got it to build and tried out the topic/pipe branch (checked out on Monday around 4:30pm PDT):
>>>> 1. I didn't see any improvement in my sshd+rsync time, still 3-4 MB/sec.
>>>> 2. I get the following error from procps: procps:ps/output.c:2195: please report this bug
>>>> (I also get this using the main branch build).
>>>> I first updated my cygwin normally using setup-x86_64.exe, then built and copied only the cygwin1.dll into /bin from the install/bin directory (quitting all cygwin tasks first).
>>>
>>> Thanks for testing.
>>>
>>> We're still working on this. (The discussion has moved to the cygwin-developers mailing list.) I'll let you know when it's stable, and maybe you can try again.
>>>
>>> As to the procps error, can you give details so that someone can try to reproduce it and debug it?
>>>
>>> Ken
>>>
>>> --
>>> Problem reports: https://cygwin.com/problems.html
>>> FAQ: https://cygwin.com/faq/
>>> Documentation: https://cygwin.com/docs.html
>>> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>>
>>
>> --
>> Problem reports: https://cygwin.com/problems.html
>> FAQ: https://cygwin.com/faq/
>> Documentation: https://cygwin.com/docs.html
>> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>
>
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list