[Gluster-devel] Modifying gluster's logging mechanism

Xie Changlong zgrep at 139.com
Fri Nov 22 05:26:50 UTC 2019


在 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20191122/328448f3/attachment.html>


More information about the Gluster-devel mailing list