Boost logo

Boost Users :

From: Dmitry (dbnikiforov_at_[hidden])
Date: 2023-06-30 14:31:09


Thanks! We already have a similar metric. The problem is that measured
latency grows only after io_context becomes overloaded: when the queue
grows because all threads are busy.

I would like to measure io_context load before it became overloaded to
estimate capacity.

Thanks,
Dmitry

On Fri, Jun 30, 2023 at 17:00, Vinnie Falco via Boost-users <
boost-users_at_[hidden]>:

> On Fri, Jun 30, 2023 at 6:58 AM Dmitry via Boost-users
> <boost-users_at_[hidden]> wrote:
> > I would like to have a metric that measures time spent for
> > work (executing completion handlers) vs time spent waiting
> > for work in thread pool executing io_context::run().
>
> Maybe there are some ideas here?
>
>
> https://github.com/XRPLF/rippled/blob/f18c6dfea7870132490124e1942901a6a0cddc7e/src/ripple/beast/asio/io_latency_probe.h#L34
>
> Thanks
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net