Quantcast

process memory and performance

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

process memory and performance

Dmitriy Kargapolov-3
Hi all,
I have some process (gen_sever) performing multiple mnesia queries, so
complex lookup takes about 840 mks (pretty old h/w, non-smp, R11B-5). When
internal in-memory storage added to this process, so its memory increased up
to ~ 60MB, same lookup slow down to 2200 mks. Note that in this test lookup
did not use big memory. This big memory organized as complex recursive data
structure.
Why memory allocated by process indirectly affects its performance? Is it
related to how GC works?
Thanks.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: process memory and performance

Dmitriy Kargapolov-3
On Fri, Feb 11, 2011 at 2:46 PM, Dmitriy Kargapolov <
[hidden email]> wrote:

> Hi all,
> I have some process (gen_sever) performing multiple mnesia queries, so
> complex lookup takes about 840 mks (pretty old h/w, non-smp, R11B-5). When
> internal in-memory storage added to this process, so its memory increased up
> to ~ 60MB, same lookup slow down to 2200 mks. Note that in this test lookup
> did not use big memory. This big memory organized as complex recursive data
> structure.
> Why memory allocated by process indirectly affects its performance? Is it
> related to how GC works?
> Thanks.
>

Revisiting this issue I found that previous developers of the project did
set 'fullsweep_after' gc parameter to 15, probably trying to reduce memory
consumption... Setting it back to default value (65535) I have "solved" the
problem.
Loading...