pcp
[Top] [All Lists]

Re: [pcp] pcp updates - interp.c is the biggie

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, pcp@xxxxxxxxxxx
Subject: Re: [pcp] pcp updates - interp.c is the biggie
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Thu, 23 Apr 2015 16:10:45 +1000
Cc: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <553882B3.7080101@xxxxxxxxxxxxxxxx>
References: <55382F13.8080906@xxxxxxxxxxxxxxxx> <553849A3.9060002@xxxxxxxxxx> <553882B3.7080101@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
On 04/23/2015 03:27 PM, Ken McDonell wrote:
...A tarball of the
original archive is on oss.sgi.com:~kenj if you need/want it
(~kenj/super-slow-archive.tar.xz). With this archive unpacked:

$ time pmval -t 60 -a super-SLOW-merged-archive-20140124.225919 pmcd.numagents

should finish in seconds, not minutes!

indeed it does - Before the fix :
real    16m0.272s
user    12m39.956s
sys     3m18.792s

After the fix :
real    0m1.760s
user    0m1.163s
sys     0m0.194s

more than 500x faster on the same archive with identical output :)

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