Flexible I/O Tester development
 help / color / mirror / Atom feed
* fio win affinity broken
@ 2018-10-29 20:03 Jeff Furlong
  2018-10-29 20:12 ` Sitsofe Wheeler
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Furlong @ 2018-10-29 20:03 UTC (permalink / raw)
  To: fio@vger.kernel.org

Hi All,
Back in http://git.kernel.dk/cgit/fio/commit/?id=c479640d6208236744f0562b1e79535eec290e2b several updates were made for Windows CPU affinity.  However, using the cpus_allowed since fio 3.6 and latest git appears to throw error messages.  Consider a job:

fio --name=test --ioengine=windowsaio --direct=1 --rw=write --overwrite=1 --filename=\\.\PHYSICALDRIVE1 --runtime=1s --thread --cpus_allowed=0-1 --cpus_allowed_policy=shared

fio_setaffinity: failed to set thread affinity (pid 2768, group 0, mask 10000, GetLastError=87)
fio_setaffinity: failed to set thread affinity (pid 2372, group 0, mask 20000, GetLastError=87)
clock setaffinity failed: No error

It seems err 87 is ERROR_INVALID_PARAMETER, but any idea why "GROUP_AFFINITY struct's Reserved members are not initialised to 0?"  Might it be related to Windows version?  Seems to fail on 2012 and 2016.  Thanks.

Regards,
Jeff




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-11-02  0:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-29 20:03 fio win affinity broken Jeff Furlong
2018-10-29 20:12 ` Sitsofe Wheeler
2018-10-29 21:22   ` Elliott, Robert (Persistent Memory)
2018-10-30 16:20     ` Jeff Furlong
2018-10-31  2:20       ` Elliott, Robert (Persistent Memory)
2018-10-31  4:06         ` Jeff Furlong
2018-10-31 15:06           ` Sitsofe Wheeler
2018-11-01 15:33           ` eliezer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox