From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45274 invoked by alias); 8 Apr 2019 02:15:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 43783 invoked by uid 89); 8 Apr 2019 02:15:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=PTC, H*M:cygwin, imagine, H*F:D*cygwin.com X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Apr 2019 02:15:39 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E880D30832E8 for ; Mon, 8 Apr 2019 02:15:37 +0000 (UTC) Received: from ovpn-120-149.rdu2.redhat.com (ovpn-120-149.rdu2.redhat.com [10.10.120.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 82BE95D70A for ; Mon, 8 Apr 2019 02:15:37 +0000 (UTC) Message-ID: <8e1254b03d51e13e9f92cbaa7a4039c205181f6d.camel@cygwin.com> Subject: Re: taskset in util-linux? From: Yaakov Selkowitz To: cygwin Date: Mon, 08 Apr 2019 02:15:00 -0000 In-Reply-To: <9948a394-19ab-d838-16fb-9adb9feae3d2@cs.umass.edu> References: <9948a394-19ab-d838-16fb-9adb9feae3d2@cs.umass.edu> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-04/txt/msg00066.txt.bz2 On Fri, 2019-04-05 at 20:37 -0400, Eliot Moss wrote: > I am wondering about the absence of tasket from Cygwin's > util-linux package. While I can imagine that the Linux > version of that program might no port directly, Windows > does seem to support similar functionality -- cmd.exe > accepts a /affinity switch. It is ugly, perhaps comparatively > slow, etc., to have to run a Cygwin task with affinity > going through cmd (and I found no way to make that work > without popping up a cmd window, that then goes away when > the task completes). > > Any possibility of getting this supported under Cygwin? > I have no idea what underlying calls, etc., might need > support ... Cygwin does not have the requisite sched_[gs]etaffinity functions; PTC. > Likewise, it would be nice to be able to control the > performance settings (clock speed) via the /sys method > supported under (some) Linux versions: > > /sys/devices/system/cpu/intel_pstate/{no_turbo,{min,max}_perf_pct} > > One might link these to something (probably new) in /proc. Cygwin does not support /sys at all. -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple