gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Client memory footprint


From: Pavan T C
Subject: Re: [Gluster-devel] Client memory footprint
Date: Wed, 24 Aug 2011 14:50:00 +0530
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

On Wednesday 24 August 2011 02:38 PM, Gordan Bobic wrote:
On Wed, 24 Aug 2011 11:48:04 +0530, Pavan T C <address@hidden> wrote:
On Wednesday 24 August 2011 09:02 AM, Emmanuel Dreyfus wrote:
Emmanuel Dreyfus<address@hidden> wrote:

Another issue: glusterfs client eats a lot of memory. It grows up as
big
as 222 Mo in a few minutes. Here is top(1) output:
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
19913 root 83 0 222M 122M RUN 6:52 42.97% 42.97% glusterfsd

I do not think there is a leak, since that remain fairly stable.
That is
still big. Is it a number considered reasonable? Is there a way to tune
memory usage for smaller systems (cache size?)

No answer to that one. Are the numbers I have something common, or is
there a problem to fix?

This is normal.

Perhaps a more appropriate question would be: "How can this be improved?"


The glusterfs server process uses iomem pools. Initially, it starts with one pool. Under memory pressure, it allocates more, but does not give back the pool when the pressure decreases. It can be debated whether this is a bug, but one can come up with heuristics to free the pool.

Pavan

Gordan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]