pcp
[Top] [All Lists]

Re: [pcp] PMDA Metrics Limit

To: Marko Myllynen <myllynen@xxxxxxxxxx>
Subject: Re: [pcp] PMDA Metrics Limit
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 7 Mar 2016 16:44:17 -0500 (EST)
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <56DD8CE8.9020202@xxxxxxxxxx>
References: <56DD8CE8.9020202@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: /QexT2e65nreNX+VCX0sIYeUXKtA6Q==
Thread-topic: PMDA Metrics Limit
Hi Marko,

----- Original Message -----
> [...]
> It would seem that the limitation still exists for PMDAs, see the below
> test PMDA - it works as expected if the innermost loop is removed from
> generate_metrics() (676 metrics added) but if the innermost loop is in
> place, then only 1024 metrics are added even though there are over 17k
> metrics in the hash:
> [...]
>         $pmda->add_metric(pmda_pmid(0, $i++),

You're not using the cluster space (the 0 above) - only item ($i above),
which is limiting the number of metrics you can have artificially here.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>