On Thu, Apr 9, 2020 at 2:18 AM Özkan KIRIK <ozkan.ki...@gmail.com> wrote:
>
> Hello,
>
> I wonder if it is possible to update dummynet code multi-threading capable
> practically?
> My idea is below:
> - A new sysctl tunable will be defined as
> "net.inet.ip.dummynet.thread_count" (default 1)
> - To distribute tasks along threads, each sched instance can be assigned to
> different thread.
> ...

What are you trying to achieve ? In general, the scheduler needs to
know the state of all flows to perform correct scheduling of traffic.
You could in principle split the load on multiple threads under specific,
very restrictive conditions (each thread runs a different scheduler, they
cannot share the excess bandwidth, and the total bw does not exceed the
link's capacity, each scheduler has a different queue on the NIC).

cheers
luigi
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to