Re: [SR-Users] MTREE reload question

2012-09-11 Thread Uri Shacked
Hi, The number of shmem:fragments reduced by half and the real_used_size is lower as well. Thanks On Tue, Sep 11, 2012 at 11:12 AM, Uri Shacked wrote: > Thanks. > Will it ork on pkg as well? > > On 9/11/12, Daniel-Constantin Mierla wrote: > > Hello, > > > > On 9/10/12 2:27 PM, Uri Shacked wrote:

Re: [SR-Users] MTREE reload question

2012-09-11 Thread Uri Shacked
Thanks. Will it ork on pkg as well? On 9/11/12, Daniel-Constantin Mierla wrote: > Hello, > > On 9/10/12 2:27 PM, Uri Shacked wrote: >> thanks a lot. >> so as i undestand, the real_used_size is the right value to calculate >> size. but, it grows because of fragmentation data. >> in the core, what

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Daniel-Constantin Mierla
Hello, On 9/10/12 2:27 PM, Uri Shacked wrote: thanks a lot. so as i undestand, the real_used_size is the right value to calculate size. but, it grows because of fragmentation data. in the core, what does it mean "It is effective if MEM_JOIN_FREE compile option is defined" is there something el

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Uri Shacked
thanks a lot. so as i undestand, the real_used_size is the right value to calculate size. but, it grows because of fragmentation data. in the core, what does it mean "It is effective if MEM_JOIN_FREE compile option is defined" is there something else i need to do except adding to the cfg the mem_jo

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Daniel-Constantin Mierla
On 9/10/12 1:26 PM, Uri Shacked wrote: where is the defragmentation in 3.3.x? i didn't find it on the core cookbook this one: http://www.kamailio.org/wiki/cookbooks/3.3.x/core#mem_join Set it to 1. Cheers, Daniel On Mon, Sep 10, 2012 at 2:14 PM, Uri Shacked >

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Daniel-Constantin Mierla
Hello, On 9/10/12 1:14 PM, Uri Shacked wrote: Thanks, The stuff i sent is from my test server that has 3.3.1 installed. On my prod servers i use 3.2.x. how would you explain that when kamailio starts (on prod with similar data and same cfg) it take around 20% of the shmem, after reload 30%

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Uri Shacked
where is the defragmentation in 3.3.x? i didn't find it on the core cookbook On Mon, Sep 10, 2012 at 2:14 PM, Uri Shacked wrote: > Thanks, > > The stuff i sent is from my test server that has 3.3.1 installed. > > On my prod servers i use 3.2.x. > > how would you explain that when kamailio st

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Uri Shacked
Thanks, The stuff i sent is from my test server that has 3.3.1 installed. On my prod servers i use 3.2.x. how would you explain that when kamailio starts (on prod with similar data and same cfg) it take around 20% of the shmem, after reload 30% and in time (6-8 weeks) it gets up to 39% ? I star

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Daniel-Constantin Mierla
Hello, the used size is pretty much the same after the reload, so doesn't look as leak. If you do 2-3 reloads is shmem:used_size staying around same value? It is clear boost in the fragments, I would say that after start the number of fragments is quite low, because it should contain the good

Re: [SR-Users] MTREE reload question

2012-09-09 Thread Uri Shacked
> > Hi, > > here is the statistics after kamailio starts: > > shmem:fragments = 28 > shmem:free_size = 3800871312 > shmem:max_used_size = 494132368 > shmem:real_used_size = 494095984 > shmem:total_size = 4294967296 > shmem:used_size = 342642072 > > here it is after reload of the num table: > > shme

Re: [SR-Users] MTREE reload question

2012-09-07 Thread Daniel-Constantin Mierla
Hello, is this taken only after startup? Get one at startup and another one after reload, so it can be compared. Cheers, Daniel On 9/6/12 9:22 AM, Uri Shacked wrote: Hi, here: shmem:fragments = 143898 shmem:freesize = 3446570952 shmem:max_used_size = 861854768 shmem:real_used_size = 84839634

Re: [SR-Users] MTREE reload question

2012-09-06 Thread Uri Shacked
Hi, here: shmem:fragments = 143898 shmem:freesize = 3446570952 shmem:max_used_size = 861854768 shmem:real_used_size = 848396344 shmem:total_size = 4294967296 shmem:used_size = 319676976 On Thu, Sep 6, 2012 at 9:49 AM, Daniel-Constantin Mierla wrote: > Hello, > > > On 9/5/12 3:06 PM, Uri Shack

Re: [SR-Users] MTREE reload question

2012-09-05 Thread Daniel-Constantin Mierla
Hello, On 9/5/12 3:06 PM, Uri Shacked wrote: Hi, I use MTREE to load 5 million rows from the database. it takes about 30 sec to start kamailio and it is running great. Whern I check the shmem usage I see the data take about 0.8G out of 4G i set on shmem. When i reload the data while kamailio i