X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; q=dns; s=default; b=hQEp31oyy2XQ3YiqZz50TOXqt/Np33xhoSzjLckP7yP jRQmCtn5ofkCu02RzAYAjRYG7TcW9Rfse5CNBk8nqaePTPI/HbxJRdJNsO53Ojxh s4npifJzN08ZqExlBaf0iw9XARyvxdklTgyEE077P0epakb3/vemzeSbOI6cmL+E = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; s=default; bh=wiZK9ryyeKxTN9uCgLHUnHrIcto=; b=wAIegtshJQ37xo+0i qsKeZ2D7NiTKrncxonHlZFSPrVAtSGA5oFEFDSBZIQD5kLdHzrhmA8N3q2zysrw7 NOcTNQ7WPQdwR+zGLzlu7RXoP4DdGbfP/WABw2C0BCI0wR5ZB0tQpezzyTFNhi8x IRFUVmveQY9U2UqDQ/MKFXWEhw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Message-ID: <8e1254b03d51e13e9f92cbaa7a4039c205181f6d.camel@cygwin.com> Subject: Re: taskset in util-linux? From: Yaakov Selkowitz To: cygwin Date: Sun, 07 Apr 2019 22:15:35 -0400 In-Reply-To: <9948a394-19ab-d838-16fb-9adb9feae3d2@cs.umass.edu> References: <9948a394-19ab-d838-16fb-9adb9feae3d2 AT cs DOT umass DOT 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 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