Thanks Greg!
Yeah, I will double check..But, I built the code without tcmalloc (with glibc) 
and it was also showing the similar behavior.

Thanks & Regards
Somnath

-----Original Message-----
From: Gregory Farnum [mailto:g...@gregs42.com]
Sent: Wednesday, July 01, 2015 9:07 AM
To: Somnath Roy
Cc: ceph-devel@vger.kernel.org
Subject: Re: Probable memory leak in Hammer write path ?

On Mon, Jun 29, 2015 at 4:39 PM, Somnath Roy <somnath....@sandisk.com> wrote:
> Greg,
> Updating to the new kernel updating the gcc version too. Recent kernel is 
> changing tcmalloc version too, but, 3.16 has old tcmalloc but still 
> exhibiting the issue.
> Yes, the behavior is very confusing and compiler is main variable I could 
> think of from application perspective.
> If you have a 3.16/3.19 kernel, you could reproduce this following these 
> steps.
>
> 1. Build ceph-hammer code base
>
> 2. Run with single OSD.
>
> 3. Create an image and run a fio-bed workload from client (say 16K bs,
> 8 num_jobs)
>
> 4. run 'dstat -m' and observe the memory usage.
>
> What I am thinking of doing is to install ceph from ceph.com and see the 
> behavior.

In addition to that, I'd look for if there are any known bugs in the tcmalloc 
version you're using on the leaky systems, and check the tcmalloc stats to see 
if they have a bunch of free memory which hasn't been released to the OS yet.
-Greg

________________________________

PLEASE NOTE: The information contained in this electronic mail message is 
intended only for the use of the designated recipient(s) named above. If the 
reader of this message is not the intended recipient, you are hereby notified 
that you have received this message in error and that any review, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this communication in error, please notify the sender by 
telephone or e-mail (as shown above) immediately and destroy any and all copies 
of this message in your possession (whether hard copies or electronically 
stored copies).

N�����r��y����b�X��ǧv�^�)޺{.n�+���z�]z���{ay�ʇڙ�,j��f���h���z��w���
���j:+v���w�j�m��������zZ+�����ݢj"��!�i

Reply via email to