From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 90DFE3858422 for ; Sat, 4 Sep 2021 16:45:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 90DFE3858422 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 Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id MYR5m9Vb4czbLMYndmFSQ4; Sat, 04 Sep 2021 16:45:49 +0000 Received: from [192.168.1.105] ([68.147.0.90]) by cmsmtp with ESMTP id MYncmoKVKdCHGMYncmhXb0; Sat, 04 Sep 2021 16:45:49 +0000 X-Authority-Analysis: v=2.4 cv=SdyUytdu c=1 sm=1 tr=0 ts=6133a2bd a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10 Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com References: <789f056a-f164-d71d-1dc9-230f5a41846d@cornell.edu> <46906957-5850-4D7E-8D5A-EFF3C4068C0D@house.org> <58bdc0c3-d843-343f-d88e-c8a44ec33a15@cornell.edu> <3DB951FB-FC3F-4EE8-B5E0-6137B305B873@house.org> <72F25EBC-6801-4C96-8F6C-48F09B25B712@house.org> <6105153B-D145-449D-97FE-D6F17BEB2032@house.org> <6beb1156-931e-0380-ee60-2ca519f49a2f@cornell.edu> <703C9847-7BD9-4D93-9A85-FD967423C24D@house.org> From: Brian Inglis Organization: Systematic Software Subject: Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled? Message-ID: <9863275d-ced3-d7e4-5a14-ba7037c39b40@SystematicSw.ab.ca> Date: Sat, 4 Sep 2021 10:45:48 -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: <703C9847-7BD9-4D93-9A85-FD967423C24D@house.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfFLs6lNZX7PXpcGp3BkrvAi3VEytnKtBXFaTBwTKxVUzmoesGuRCxxiFgw/BEpSCODcAmczBNk+pl04cxIjSm0ZBIk5F3pYIRvYF4lSRgLDT/oIAfZ91 yyOLCpcv2bdvwt7g65ndwBvrJGlmCjMSyYw/Dz9vnbal9laMCEfK+/DgmTcVwBF/UNuUYczvHUjbbK4wdYMa6/0o//3SGi2xzwc= X-Spam-Status: No, score=-1161.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, LIKELY_SPAM_BODY, 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@cygwin.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: , X-List-Received-Date: Sat, 04 Sep 2021 16:45:51 -0000 On 2021-09-03 14:59, Chris Roehrig wrote: > On Fri Sep 3 2021, at 12:55 PM, Corinna Vinschen wrote: >> On Sep 2 12:03, Chris Roehrig wrote: >>> On Thu Sep 2 2021, at 8:25 AM, Ken Brown via Cygwin wrote: >>>> On 9/1/2021 5:11 PM, Chris Roehrig wrote: >>>>> I rebuild procps 3.3.17.29-2480 from source and it appears to >>>>> work, so maybe the stock procps package is incompatible with >>>>> the current master branch. >>>> Maybe, but it could also be a Cygwin bug. I'll do a bisection >>>> of the Cygwin sources to see if I can track it down. >>> I did some more tests and it still doesn't completely work: >>> procps -ef # works >>> procps -eo user,stime,tty,time,args # works >>> procps -eo pid # fails with that same mmap() error >>> I also rebuilt it all using cygport and it gives the same error >>> (pscommand.exe with no args). >> Since you're building Cygwin by yourself anyway, can you do me a >> favor and try this: >> $ git revert 2f05de4dbf9c >> and see if that fixes your issue? > I got procps working I think (both with and without the revert). I > think the problem might just be that I wasn't also copying the > rebuilt /bin/cygprocps-8.dll to match the /bin/procps.exe. There's > some tricky renaming that make install does, so I did 'make install > DESTDIR=/tmp/install' and copied just those two files. I'm guessing > it would all work on a properly fully installed build. If you are building packages in the same way as scallywag with: $ cygport PKG.cygport download all check then to install all binary packages for dogfooding: $ for tar in PKG-VER-1.ARCH/dist/PKG/**/*PKG*-VER.tar.*z* do tar -x -C / -f $tar # * -C / installs usr/... under /usr/ done for example, I just did: $ for tar in \ dash-0.5.11.5-1.x86_64/dist/dash/**/*dash*-0.5.11.5-1.tar.*z* do tar -x -C / -f $tar done -- 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.]