在 2019/11/21 21:04, Barak Sason Rofman 写道:

I see two design / implementation problems with that mechanism:

1.

    The mutex that guards the log file is likely under constant
    contention.

2.

    The fact that each worker thread perform the IO by himself, thus
    slowing his "real" work.


Initial tests, done by *removing logging from the regression testing, shows an improvement of about 20% in run time*. This indicates we’re taking a pretty heavy performance hit just because of the logging activity.


Hi Barak Sason Rofman.  Amazing perf improvement! Could show me the detail test method ?

Thanks

    -Xie

In addition to these problems, the logging module is due for an upgrade:

1.

    There are dozens of APIs in the logger, much of them are
    deprecated - this makes it very hard for new developers to keep
    evolving the project.

2.

    One of the key points for Gluster-X, presented in October at
    Bangalore, is the switch to a structured logging all across gluster.

_______________________________________________
maintainers mailing list
[email protected]
https://lists.gluster.org/mailman/listinfo/maintainers

Reply via email to