[ovs-dev] [PATCH] unixctl: Avoid 100% CPU for slowly processed requests with another queued.
Justin Pettit
jpettit at ovn.org
Sat Dec 1 21:26:33 UTC 2018
> On Nov 29, 2018, at 10:45 AM, Ben Pfaff <blp at ovn.org> wrote:
>
> If another request came in on a particular connection while the previous
> request was still being processed, unixctl_server_wait() would wake up the
> main loop but unixctl_server_run() wouldn't read the request, resulting in
> 100% CPU use.
>
> I doubt whether this is a real problem because it's unusual for a client
> to attempt to make requests in parallel. I found it while pursuing a 100%
> CPU issue but it turned out not to be a bug (the 100% CPU was caused by
> a client making requests as fast as possible).
>
> Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>
--Justin
More information about the dev
mailing list