X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29A1A385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1693714418; bh=fPbGtH+V9nhlSW5/JX98glmSRcvQp/aPN81za8EPUrk=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=yCSvpfWojC+Hw8F4kBdc9EWNcE2rGNKqzbteD47lth0HlE6rW7DQQizhg8u3tpPxL ttEaVRcmELw7JhoqZkkJ0W8cfCuy2NLr0Ugze2vijxJbM+BlBI5jm7UBGSkMyJ8GSl +CAD4fV8XKGM+Y0fCZR5LZs9fo975lVo2OAr5tYw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3B1D53858CD1 Subject: Re: posix thread scaling issue To: cygwin AT cygwin DOT com References: <550e8950-8f7a-4765-b23e-57d0e710fde0 AT jeffunit DOT com> <2cfbcf8d-911f-a64b-8916-12b005c9f6f6 AT Shaw DOT ca> <07386659-68b3-a35d-1402-22684f8e5755 AT Shaw DOT ca> <1a894e01-0dee-7a14-d94a-40034b88275f AT maxrnd DOT com> 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> 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mark Geisert via Cygwin Reply-To: Mark Geisert Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3834DcFE024870 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 -- 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