pcp
[Top] [All Lists]

Re: Reduce pmdaproc.sh runtime for pmdaInstall

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: Reduce pmdaproc.sh runtime for pmdaInstall
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 11 Feb 2015 00:13:01 -0500 (EST)
Cc: "pcp@xxxxxxxxxxx >> PCP" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <54D9343F.1070703@xxxxxxxxxxxxxxxx>
References: <724742467.926637.1423458271929.JavaMail.zimbra@xxxxxxxxxx> <54D9343F.1070703@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: P6TT4W1X5iGJXp0ZypiWmTDSgdOVVg==
Thread-topic: Reduce pmdaproc.sh runtime for pmdaInstall

----- Original Message -----
> On 09/02/15 16:04, Nathan Scott wrote:
> > Hi Ken,
> >
> > When the dust settles on the current crop of failures we're
> > triaging, could you toss the attached patch into the QA farm
> > and see how it fares?
> 
> No regressions on the first host I tried this on with a full QA run.
> 
> I've committed it to my git tree (but not sent git push email yet), as
> that is the best way for me to get it used across all the hosts in my QA
> farm.

I'm finding pmdarpm Install to have become unreliable - the patch
below resolves it for me (simply reinstates the original delay in
that one PMDA)...

diff --git a/src/pmdas/rpm/Install b/src/pmdas/rpm/Install
index 8f11751..4213033 100644
--- a/src/pmdas/rpm/Install
+++ b/src/pmdas/rpm/Install
@@ -19,6 +19,7 @@
 . $PCP_SHARE_DIR/lib/pmdaproc.sh
 
 iam=rpm
+check_delay=3
 pmda_interface=5
 forced_restart=false


(even with this, qa/750 runtime has gone from 15 to 7-8 seconds,
so we're still ahead here)

cheers.

--
Nathan

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