Web lists-archives.com

Re: taskset in util-linux?




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