Hi Sage,
I did some more test and found this:
I use ceph tell osd.6 heap stats to found
that
osd.6 tcmalloc heap
stats:------------------------------------------------
MALLOC: 404608432 ( 385.9 MiB) Bytes in use by application MALLOC: + 26599424 ( 25.4 MiB) Bytes in page heap freelist MALLOC: + 13442496 ( 12.8 MiB) Bytes in central cache freelist MALLOC: + 21112288 ( 20.1 MiB) Bytes in transfer cache freelist MALLOC: + 21702320 ( 20.7 MiB) Bytes in thread cache freelists MALLOC: + 3021024 ( 2.9 MiB) Bytes in malloc metadata MALLOC: ------------ MALLOC: = 490485984 ( 467.8 MiB) Actual memory used (physical + swap) MALLOC: + 162922496 ( 155.4 MiB) Bytes released to OS (aka unmapped) MALLOC: ------------ MALLOC: = 653408480 ( 623.1 MiB) Virtual address space used MALLOC: MALLOC: 12958 Spans in use MALLOC: 32 Thread heaps in use MALLOC: 8192 Tcmalloc page size and the page heap won't release by osd itself and keep increasing,but if i use "ceph tell osd.6 heap release" to manual release it then the page heap freelist is released. osd.6 tcmalloc heap
stats:------------------------------------------------
MALLOC: 404608432 ( 385.9 MiB) Bytes in use by application MALLOC: + 26599424 ( 25.4 MiB) Bytes in page heap freelist MALLOC: + 13442496 ( 12.8 MiB) Bytes in central cache freelist MALLOC: + 21112288 ( 20.1 MiB) Bytes in transfer cache freelist MALLOC: + 21702320 ( 20.7 MiB) Bytes in thread cache freelists MALLOC: + 3021024 ( 2.9 MiB) Bytes in malloc metadata MALLOC: ------------ MALLOC: = 490485984 ( 467.8 MiB) Actual memory used (physical + swap) MALLOC: + 162922496 ( 155.4 MiB) Bytes released to OS (aka unmapped) MALLOC: ------------ MALLOC: = 653408480 ( 623.1 MiB) Virtual address space used MALLOC: MALLOC: 12958 Spans in use MALLOC: 32 Thread heaps in use MALLOC: 8192 Tcmalloc page si i found this problem was discussed before at http://tracker.ceph.com/issues/12681,
is it a tcmalloc problem?
2017-11-02
lin.yunfan
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com