I'm trying to add better dfly support for fio (which was originally written for linux kernel) since he accepts these non-linux stuff that I've sent so far. https://github.com/axboe/fio/commits/master?author=kusumi
CPU affinity is one of the things that the fio has no support on dfly, while it does support on freebsd (and obviously linux), however it seems usched_set(2) may need some enhancement to fully support fio. I'll ask Matt and Sephe and others if I ever try to make any change to this syscall's feature and/or interface, but providing similar interface as linux or freebsd may provide better support for some userspace programs that require cpu affinity control like fio. 2015-05-19 23:40 GMT+09:00 Sepherosa Ziehau <[email protected]>: > On Tue, May 19, 2015 at 9:48 PM, Tomohiro Kusumi > <[email protected]> wrote: > > > > commit e6242c1aeaa1aebf9488d08395ef4e00d8210e76 > > Author: Tomohiro Kusumi <[email protected]> > > Date: Sun May 17 23:25:07 2015 +0900 > > > > sbin/usched: Use uint64_t for cpu# > > > > - Use uint64_t for 64 cpus(mask) instead of unsigned long. > > I think freebsd's way of specifying cpusets is more extensible: > -c a-b -c x-y ... > > Maybe we should change usched to accept cpusets. > > Thanks, > sephe >
