X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D07EC3858005
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1698646213;
	bh=N76jPtepEHA0agb9vGCWeV3ivi0Lh8hbPt5Cm1cWdHM=;
	h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=vYrcM4ouCV3eTM5MG9JW754lLr6XNH4HZqNYhA8vYGfS6kx0Snyk8P2XFZqGDS+Kb
	 qoYglP1WYxhZmJV+unbUlQaqvCMn5tQdGjbjxT1ENRKAb05fFlyhvGL3czYfl8KLAp
	 gsJEmw0EkRtoMgeKLqskLuVEOAQtPrPH3roz18og=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 07ABA3858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 07ABA3858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698646198; cv=none;
 b=t2+fay2PPHnvGqX3kOYxfwxYj1XjUMLT3uqI4pGVL5x1EVfN+ZAET7YWCRaa+h78P95sAGdNvJPTQQFIccNva96i60VRCyGgeZnTdGw9rIFG4kdVjinukkq/Md/MXp+0V6ZyzjQHTHfYV5t/CESeUkSg0NS91dauv1hYVUMotIs=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1698646198; c=relaxed/simple;
 bh=/q5nUktk55yap4HrOWpogI5zO95ZbQlgpJTD3UsEK5w=;
 h=DKIM-Signature:MIME-Version:Date:From:To:Subject:Message-ID;
 b=Xx2xfC0tGi2kiuIHkIofEWGaVP/IqZoK8zmYfFxLnrUZYPUvhFJazSMw4JYwykliAAAO8DE3QZ3t2UhbnGnvKaa/BMck06G6ZowjQ4o4lNGEg4JzskRvNn4VnVywQRMTKZYtj/FNB2j4MPQJ4nMzmPMfKjqAGw16adv1CXex26s=
ARC-Authentication-Results: i=1; server2.sourceware.org
MIME-Version: 1.0
Date: Mon, 30 Oct 2023 02:09:55 -0400
To: Cedric Blancher <cedric.blancher@gmail.com>
Cc: cygwin@cygwin.com
Subject: Re: Run a Cygwin process with "higher" scheduler priority
In-Reply-To: <CALXu0Ufnz-uHKJfjDj3xShJR=w_Mwx8Xiw2qbRvJbxo=yqV_Uw@mail.gmail.com>
References: <CALXu0UeiEH3gOYzwVjOqTgQ1OC8z=ZBOd4y4ky_-B0t5SrS9Pg@mail.gmail.com>
 <cfbece04-40d6-566d-a4b8-f5334b1d453a@Shaw.ca>
 <CALXu0Ufnz-uHKJfjDj3xShJR=w_Mwx8Xiw2qbRvJbxo=yqV_Uw@mail.gmail.com>
User-Agent: Roundcube Webmail/1.6.0
Message-ID: <ece9ecb797413ed4ea207a21b5e6c7cd@plebeian.com>
X-Sender: wagnerc@plebeian.com
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - www16.qth.com
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - plebeian.com
X-Get-Message-Sender-Via: www16.qth.com: authenticated_id: wagnerc@plebeian.com
X-Authenticated-Sender: www16.qth.com: wagnerc@plebeian.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,
 SPF_PASS, 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@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Chris Wagner via Cygwin <cygwin@cygwin.com>
Reply-To: Chris Wagner <wagnerc@plebeian.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 2023-10-14 7:39 am, Cedric Blancher via Cygwin wrote:
> 
> I know about nice and renice, but I don't see whether it is working or 
> not.
> 

> Is there anything in /proc which can tell me the current *Windows*
> scheduler priority level? Or a command line tool?
> 
> Ced

Iarn's TaskInfo will show you the real Windows priority (and let you 
change it and even suspend processes) along with a boatload of other 
highly useful stats.  That will let you validate anything Cygwin claims 
it did.

https://www.iarsn.com/taskinfo.html

It's old but it still works and I run it continuously.


-- 
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
