From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout.easymail.ca (mailout.easymail.ca [64.68.200.34]) by sourceware.org (Postfix) with ESMTPS id AFCF0385AC3B for ; Wed, 25 Aug 2021 17:25:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AFCF0385AC3B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=islandmacguy.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=islandmacguy.com Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 10F772E560 for ; Wed, 25 Aug 2021 17:25:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo03-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w287kIJJT-Pc for ; Wed, 25 Aug 2021 17:25:00 +0000 (UTC) Received: from tringa.house.org (S0106bcee7b974edc.gv.shawcable.net [24.108.53.141]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 66DE12E50E for ; Wed, 25 Aug 2021 17:25:00 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled? From: Chris Roehrig In-Reply-To: <5e374368-81da-58da-04fc-9131a98871fb@maxrnd.com> Date: Wed, 25 Aug 2021 10:24:59 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <04B6D200-C288-4AA9-90A6-71ECCCA9B888@islandmacguy.com> References: <41A583E1-C8E7-42AB-9F24-EEC33A41EC60@house.org> <5e374368-81da-58da-04fc-9131a98871fb@maxrnd.com> To: "cygwin@cygwin.com" X-Mailer: Apple Mail (2.1499) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS autolearn=ham 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: Wed, 25 Aug 2021 17:25:16 -0000 It was set to "Programs". Changing it to "Background services" = didn't make a difference. TCPOptimizer can adjust 2 registry entries that I think are related to = that Windows Setting: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows = NT\CurrentVersion\Multimedia\SystemProfile] "NetworkThrottlingIndex"=3Ddword:0000000a "SystemResponsiveness"=3Ddword:00000014 The first rate-limits IP packets; the second reserves a percent = (0-100) of CPU scheduling for background tasks. Changing either of = those values made no difference. I think the CPU scheduling = reservation only applies when there's CPU contention (not on an idle = system) so I wouldn't expect it to make a difference when CPU/core usage = is low. On Tue Aug 24 2021, at 8:20 PM, Mark Geisert wrote: > NightStrike via Cygwin wrote: >> Older versions of windows had a setting to optimize the OS for either >> background services or foreground applications. One of the things = this did >> was throttle network usage. I don't know if windows 10 has the same = setting >> though. >=20 > Yes, it does. Getting to it is a pain. Search the "Settings" thingy = for "Advanced system settings". That will bring up the System = Properties dialog you used to be able to get to from the Control Panel. = Click the Advanced tab. Under Performance, click Settings... . Click = the Advanced tab there. Right in that dialog there's a Processor = Scheduling box where you select for best performance of "Programs" or = "Background services". >=20 > It would be interesting to hear what it's currently set to before you = try changing it. Try to keep all your testcases the same so we're = dealing with apples to apples. >=20 > ..mark >=20 > --=20 > 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