From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m0.truegem.net (m0.truegem.net [69.55.228.47]) by sourceware.org (Postfix) with ESMTPS id 3B1D53858CD1 for ; Sun, 3 Sep 2023 04:13:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3B1D53858CD1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 3834DL0m057358 for ; Sat, 2 Sep 2023 21:13:21 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 50-1-247-226.fiber.dynamic.sonic.net(50.1.247.226), claiming to be "[192.168.4.101]" via SMTP by m0.truegem.net, id smtpd4214XU; Sat Sep 2 21:13:13 2023 Subject: Re: posix thread scaling issue To: cygwin@cygwin.com References: <550e8950-8f7a-4765-b23e-57d0e710fde0@jeffunit.com> <2cfbcf8d-911f-a64b-8916-12b005c9f6f6@Shaw.ca> <07386659-68b3-a35d-1402-22684f8e5755@Shaw.ca> <1a894e01-0dee-7a14-d94a-40034b88275f@maxrnd.com> From: Mark Geisert Message-ID: <0dd30adc-9cc1-1440-edb2-c8efa5904fcb@maxrnd.com> Date: Sat, 2 Sep 2023 21:13:13 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: <1a894e01-0dee-7a14-d94a-40034b88275f@maxrnd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,NICE_REPLY_A,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Sorry, I mis-spoke in my previous post... Mark Geisert via Cygwin wrote: >   Briefly, you can't move a thread > outside the processor group it's currently in; you have to move its process to the > new group first. That's backward. You can't add a process to multiple processor groups or move it from one group to another. You can, however, move a process's threads one-by-one to a different processor group. I'm now recalling how hair-pulling it was to get this correct when coding it. Cheers, ..mark