git: sbin/usched: Use uint64_t for cpu#
Tomohiro Kusumi
kusumi.tomohiro at gmail.com
Tue May 19 08:51:42 PDT 2015
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 <sepherosa at gmail.com>:
> On Tue, May 19, 2015 at 9:48 PM, Tomohiro Kusumi
> <tkusumi at crater.dragonflybsd.org> wrote:
> >
> > commit e6242c1aeaa1aebf9488d08395ef4e00d8210e76
> > Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20150520/baf5d735/attachment-0003.htm>
More information about the Commits
mailing list