[Gluster-users] [Gluster-devel] What's the impact of enabling the profiler?

Joe Julian joe at julianfamily.org
Tue Jul 22 06:20:35 UTC 2014

On Tue, Jul 22, 2014 at 11:39 AM, Joe Julian <joe at julianfamily.org> wrote:
>> On 07/17/2014 07:30 PM, Pranith Kumar Karampuri wrote:
>>> On 07/18/2014 03:05 AM, Joe Julian wrote:
>>>> What impact, if any, does starting profiling (gluster volume profile $vol
>>>> start) have on performance?
>>> Joe,
>>>      According to the code the only extra things it does is calling
>>> gettimeofday() call at the beginning and end of the FOP to calculate
>>> latency, increment some variables. So I guess not much?
>> So far so good. Is the only way to clear the stats to restart the brick?

On 07/21/2014 11:13 PM, Kaushal M wrote:
> 'gluster volume profile <VOLNAME> info clear' should clear the stats as well.
>  From 'gluster volume help'
>    volume profile <VOLNAME> {start|info [peek|incremental
> [peek]|cumulative|clear]|stop} [nfs]

So only on 3.5. We're running 3.4.

More information about the Gluster-users mailing list