X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 06DD73858C27 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca X-Authority-Analysis: v=2.4 cv=Xe/qcK15 c=1 sm=1 tr=0 ts=612e9f44 a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10 Subject: Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled? To: cygwin AT cygwin DOT com References: <41A583E1-C8E7-42AB-9F24-EEC33A41EC60 AT house DOT org> <20210825201845 DOT 07b6400b79dc5558a7761efe AT nifty DOT ne DOT jp> <20210826062934 DOT 54f2f2216021c095bb7ba13b AT nifty DOT ne DOT jp> <3b560051-ab27-f392-ca4b-d1fd9b5733b0 AT cornell DOT edu> <20210827202440 DOT 47706fc2fc07c5e9a1bc0047 AT nifty DOT ne DOT jp> <4f2cb5f3-ce9c-c617-f65f-841a5eca096e AT cornell DOT edu> <20210828022111 DOT 91ef5b4ff24f6da9fadb489e AT nifty DOT ne DOT jp> <20210828184102 DOT f2206a8a9e5fe5cf24bf5e45 AT nifty DOT ne DOT jp> <20210829180729 DOT 48b4e877f773cb3980c5766d AT nifty DOT ne DOT jp> <789f056a-f164-d71d-1dc9-230f5a41846d AT cornell DOT edu> <46906957-5850-4D7E-8D5A-EFF3C4068C0D AT house DOT org> <58bdc0c3-d843-343f-d88e-c8a44ec33a15 AT cornell DOT edu> <3DB951FB-FC3F-4EE8-B5E0-6137B305B873 AT house DOT org> <72F25EBC-6801-4C96-8F6C-48F09B25B712 AT house DOT org> From: Brian Inglis Organization: Systematic Software Message-ID: <968ec893-0a7f-6a97-7ce4-9a09f47bd747@SystematicSw.ab.ca> Date: Tue, 31 Aug 2021 15:29:39 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <72F25EBC-6801-4C96-8F6C-48F09B25B712@house.org> Content-Language: en-CA X-CMAE-Envelope: MS4xfNEN0sw03yfVQFi4DQDmeWXQx2YlW+H/+eaJJbFDVH+s8t937y/ulW/GSqvkpVGs4f+5ABqSHVL5IN6dSiE98h/tauFx3fBpSWoFl7NaQJ8lklDDgoNy PZarDQSveiS+vMUGovOGpOI1222wS/aRwiqJPIPrF8cYIox0EomMWPfkUmevoCkPlvH/fbllkehbckWk1PqABn7LgLUvOTJ/VaY= X-Spam-Status: No, score=-1161.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" I've found you must also copy the matching cygwin-console-helper.exe for everything to work correctly! On 2021-08-31 14:23, Chris Roehrig 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 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_ >> On Tue Aug 31 2021, at 12:05 PM, Ken Brown via Cygwin 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? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- 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