From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by sourceware.org (Postfix) with ESMTPS id DFF0B3858D20 for ; Mon, 30 Oct 2023 07:43:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DFF0B3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DFF0B3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::233 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698651812; cv=none; b=cXu3/QRCK6x6YZyVO6FEaHJlNyc3D5TU59TbUvSauTnnd9Oc4XXL35ozb53Tdir5YKr2rWPt5vgMQv8bzOxQNJBQ/Y8kXZWPZb5fmyaFmaF0tnvKPOUkre2iQznT7YT+vTOEf+MznFsw9n01k/ucTuyWdh40OllAHof/PEiftnY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698651812; c=relaxed/simple; bh=7mxMgIZYzhcUVLaOPH9YC2x5yZBF4lXi2nCVQUU5HSs=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=m8HXdRHGj04+4ZUtakfsEHl7Wt3i2pk9FFfBRZg1N86gqW+PLBt9Mo70D4rkBTSz/j91TMaKdNHgv1Z3rnsWwoJ06Q3a22Pw5if4OIUn7caWRm/qQSJSpI5Xsw8XNzMs1fvTQUsL4K/V1WnPYGSq+3LkIuc9w/slUrLBraxjYWQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2c50cd16f3bso57070371fa.2 for ; Mon, 30 Oct 2023 00:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698651809; x=1699256609; darn=cygwin.com; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nPxTVu97PC9AfPceiNnF4j6DU+OD6Zm40LKJqA1p80Q=; b=GDgrFxvMU/7dx4AJYTqlaIh3ZnDwZfIF3++zFFfRpkdfua35Ioe8FZboFksJj0Hmga UVBcXXip30XuWB80zk6hXzAwFC/B1kk0DoQveUPYe2BzuhaKUfgJViuHZMGs9pXxgye7 HvxgzM6ObEmnvmZJA1ysItXM8U2r6PM7KFTUtAJiwB59Hn8KTw+6DNwljgY8bI39TEdZ iUccasWEvBP/G+j545BAsOfBMcrLeL5OHyVWsJHO45f7HKA/JCa0U6kLY4MJebH4sSmI LJVvgYTXndUFx+cNZbmofmemfqPtADFi7COvLCBdxvguV+8ROBNa0pEd6sdNb7bj625i Bd3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698651809; x=1699256609; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nPxTVu97PC9AfPceiNnF4j6DU+OD6Zm40LKJqA1p80Q=; b=Q6aLzjzNKI7FUm0Ewz9ob6xVPgB0sJKFlL3K8D3SnQhX8sPOMjIb9i5EjwZCbRdFpY shEeNeaY+WmFJMs/tQaM8+R2gWRgWQw2nLM8rsyQkC7IFKufSsXkVYlby/nLXuA964lm V+3WZFacdHewNue4UYS79CvOk0JKxBS+QP2x3JdKhwMGGDTEXdgSaaT1UfdVb8+Xq/NS XGu1YeoYsRQgRmS3FAg6FUOKz03w8EE4Dkxypaq/Ia8QOyAp3gHFd0Rmq+pVrqKZkkaY 6da2HhuHNuzfHur8he+GgG2xqc6hNPnENp5j9bNTYDhpSZ59JuAIubwpzWQt+noV+bI9 AYcw== X-Gm-Message-State: AOJu0Yxq5VXKZwHHOcHJ0WlpOAWfc9F2WvNPmRa6s2qU/DrRjOY5+dew HqcayEYQ+JusOZ1kfZL+dJXzTxkwBvZwW45WEyjQIK9fIyMO7A== X-Google-Smtp-Source: AGHT+IGhomZHuXbmgtveWdimRubsxBg7aP3ONxnppW3ACFyb8uiifU3tV8Ky0SNUVkFDZw8HYWhS5VaDfmJ46IQbRpA= X-Received: by 2002:a05:651c:11d3:b0:2bc:b75e:b88 with SMTP id z19-20020a05651c11d300b002bcb75e0b88mr7237170ljo.18.1698651808749; Mon, 30 Oct 2023 00:43:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Backwoods BC Date: Mon, 30 Oct 2023 00:43:17 -0700 Message-ID: Subject: Re: Run a Cygwin process with "higher" scheduler priority To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 List-Id: On Sat, Oct 14, 2023 at 4:41=E2=80=AFAM Cedric Blancher via Cygwin wrote: > Is there anything in /proc which can tell me the current *Windows* > scheduler priority level? Or a command line tool? 'pslist' from Sysinternals (owned by MS) will tell you the Windows priority= . As for mapping Cygwin priorities to Windows, I ran a test using 'renice' to change the priority of a job and found the follosing non-linear mapping: Cygwin priority 1-3 is Windows priority 8 Cygwin priority 4-11 is Windows priority 6 Cygwin priority 12-19 is Windows priority 4 I only tested priorities 1 to 19.