From debbugs@buxtehude.debian.org Sat Feb 1 14:36:10 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 398237FB9
for ; Sat, 1 Feb 2014 14:36:10 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 1C111304039
for ; Sat, 1 Feb 2014 12:36:09 -0800 (PST)
X-ASG-Debug-ID: 1391286967-04cb6c6de387d00001-S8gJnT
Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) by cuda.sgi.com with ESMTP id BTkIUBuV404WMKq2 (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 01 Feb 2014 12:36:08 -0800 (PST)
X-Barracuda-Envelope-From: debbugs@buxtehude.debian.org
X-Barracuda-Apparent-Source-IP: 140.211.166.26
Received: from debbugs by buxtehude.debian.org with local (Exim 4.80)
(envelope-from )
id 1W9hIN-0006z6-5K; Sat, 01 Feb 2014 20:36:07 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#737340: pcp: use autotools-dev to update config.{sub,guess} for new arches
Reply-To: Logan Rosen , 737340@bugs.debian.org
X-ASG-Orig-Subj: Bug#737340: pcp: use autotools-dev to update config.{sub,guess} for new arches
Resent-From: Logan Rosen
Original-Sender: Logan Rosen
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: PCP Development Team
X-Loop: owner@bugs.debian.org
Resent-Date: Sat, 01 Feb 2014 20:36:02 +0000
Resent-Message-ID:
X-Debian-PR-Message: report 737340
X-Debian-PR-Package: pcp
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: pcp
Received: via spool by submit@bugs.debian.org id=B.139128677325204
(code B); Sat, 01 Feb 2014 20:36:02 +0000
Received: (at submit) by bugs.debian.org; 1 Feb 2014 20:32:53 +0000
Received: from mail-qc0-f182.google.com ([209.85.216.182])
by buxtehude.debian.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1W9hFF-0006YA-2f
for submit@bugs.debian.org; Sat, 01 Feb 2014 20:32:53 +0000
Received: by mail-qc0-f182.google.com with SMTP id c9so9132418qcz.13
for ; Sat, 01 Feb 2014 12:32:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=sender:content-type:mime-version:from:to:subject:message-id:date;
bh=CDgjXJWavcl0OX8FG1BSC6TjoDqgRPGgnWXvsojbK/E=;
b=JdXVeL9vsxc4odml3+jLxP5utMUb2NAaK4dlXbAnt3Lqg1vnSqhGOwJx/mF7VnFkZ4
Wd/p/jzVdh/PaqboXWP0Sr8H9MRZStlEQxsET041iQs1XZd+P+ofqu96pITHo2/1OBp9
fdvlfGMwWKXJptmJgt0JY4hDL7GpuNrzzgGIXqhvHJ3ER77QZseUM9aTyEpiDDITc6Jm
yoOzgp5mjrUW1ggAmhcceN6SCg2qSAHVH45nkRgKloETGpkTb5fnmBmlzjqaG4DRkHTP
g4wg1MND1hZYVodOdJdgF+MV5P+jhB39ANIJrRxtNyHTgJmRo84YTYX3wx4xhV1l1C0A
oH1g==
X-Received: by 10.140.42.51 with SMTP id b48mr41057392qga.23.1391286766938;
Sat, 01 Feb 2014 12:32:46 -0800 (PST)
Received: from [127.0.1.1] (nat-128-84-124-0-627.cit.cornell.edu. [128.84.126.115])
by mx.google.com with ESMTPSA id o68sm19424847qge.8.2014.02.01.12.32.46
for
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sat, 01 Feb 2014 12:32:46 -0800 (PST)
Sender: Logan Rosen
Content-Type: multipart/mixed; boundary="===============2182504735896600445=="
MIME-Version: 1.0
From: Logan Rosen
To: Debian Bug Tracking System
Message-ID: <20140201203247.3705.32398.reportbug@logan-VirtualBox>
X-Mailer: reportbug 6.5.0ubuntu1
Date: Sat, 01 Feb 2014 15:32:47 -0500
Delivered-To: submit@bugs.debian.org
Resent-Sender: Debian BTS
X-Barracuda-Connect: buxtehude.debian.org[140.211.166.26]
X-Barracuda-Start-Time: 1391286968
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=DKIM_SIGNED
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144727
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
This is a multi-part MIME message sent by reportbug.
--===============2182504735896600445==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: pcp
Version: 3.8.12
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer,
Please use autotools-dev to update config.{sub,guess} for new architectures.
For example, we needed these updates in Ubuntu for the new arm64 and ppc64el
architectures.
In Ubuntu, the attached patch was applied to achieve the following:
* Use autotools-dev to update config.{sub,guess} for new arches.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-6-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--===============2182504735896600445==
Content-Type: text/x-diff; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="pcp_3.8.12ubuntu1.debdiff"
=== modified file 'debian/control'
--- debian/control 2013-11-03 07:25:23 +0000
+++ debian/control 2014-02-01 20:31:34 +0000
@@ -2,9 +2,9 @@
Section: utils
Priority: extra
Homepage: http://oss.sgi.com/projects/pcp
Maintainer: PCP Development Team
Uploaders: Nathan Scott , Anibal Monsalve Salazar
-Build-Depends: bison, flex, gawk, procps, pkg-config, debhelper (>= 5), perl (>= 5.6), libreadline-dev | libreadline5-dev | libreadline-gplv2-dev, chrpath, libbsd-dev [kfreebsd-any], libkvm-dev [kfreebsd-any], python-all, python-all-dev, libnspr4-dev, libnss3-dev, libsasl2-dev, libmicrohttpd-dev, libavahi-common-dev
+Build-Depends: bison, flex, gawk, procps, pkg-config, debhelper (>= 5), perl (>= 5.6), libreadline-dev | libreadline5-dev | libreadline-gplv2-dev, chrpath, libbsd-dev [kfreebsd-any], libkvm-dev [kfreebsd-any], python-all, python-all-dev, libnspr4-dev, libnss3-dev, libsasl2-dev, libmicrohttpd-dev, libavahi-common-dev, autotools-dev
#Architecture-dependent -- Build-Depends: libibumad-dev, libibmad-dev
Standards-Version: 3.9.3
X-Python-Version: >= 2.6
=== modified file 'debian/rules'
--- debian/rules 2013-09-09 18:20:08 +0000
+++ debian/rules 2014-01-29 20:32:01 +0000
@@ -109,6 +109,7 @@
.census:
@echo "== dpkg-buildpackage: configure" 1>&2
$(checkdir)
+ dh_autotools-dev_updateconfig
$(configure_tools) ./configure $(configure_paths)
touch .census
@@ -119,6 +120,8 @@
$(MAKE) realclean
-rm -rf $(alldir)
-rm -f debian/*substvars debian/files* debian/*.debhelper
+ dh_autotools-dev_restoreconfig
+ dh_clean
binary-indep:
--===============2182504735896600445==--
From nscott@redhat.com Sun Feb 2 19:56:58 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id AAAB77F5D
for ; Sun, 2 Feb 2014 19:56:58 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 8B3558F8040
for ; Sun, 2 Feb 2014 17:56:55 -0800 (PST)
X-ASG-Debug-ID: 1391392614-04cb6c6de2a7d10001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id Zq3HNphiN8qnwBMt for ; Sun, 02 Feb 2014 17:56:54 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s131urru002010;
Sun, 2 Feb 2014 20:56:53 -0500
Date: Sun, 2 Feb 2014 20:56:53 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Dave Brolley
Cc: pcp@oss.sgi.com
Message-ID: <1513605432.17499414.1391392613778.JavaMail.root@redhat.com>
In-Reply-To: <52EBC1AF.3040107@redhat.com>
References: <52EBC1AF.3040107@redhat.com>
Subject: Re: [pcp] Another Possible Fresh Install Problem
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] Another Possible Fresh Install Problem
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: Another Possible Fresh Install Problem
Thread-Index: HPLXLqsvrZnSen2nrqshBEa207u+Aw==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391392614
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144770
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
----- Original Message -----
> Got this while running qa test 646 as part of the 'sanity' group on my
> new workstation. ANother possible fresh install problem?
>
> > mmv_stats_init failed : No such file or directory
> > mmv_stats_init failed : No such file or directory
> > /var/lib/pcp/tmp/mmv/test21668: No such file or directory
> > /var/lib/pcp/tmp/mmv/notest21668: No such file or directory
>
This is a QA test failure - a few releases back we made a change
to no longer enforce the security policy for the mmv directory.
We now make it opt-in for new installs, so that the user chooses
how they wish to setup the pmdammv <-> client communication, and
can choose a more security-restrictive channel if they desire.
For upgrades, the situation is that the pre-existing situation
(where the pcp package installed a world-writable-sticky-bit-set
directory for instrumented apps) continues on unchanged - hence,
I'd not tripped over this yet. :)
I'll fix up the test - thanks Dave.
--
Nathan
From debbugs@buxtehude.debian.org Sun Feb 2 20:21:14 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id F09EF7FC3
for ; Sun, 2 Feb 2014 20:21:13 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id C27248F8050
for ; Sun, 2 Feb 2014 18:21:10 -0800 (PST)
X-ASG-Debug-ID: 1391394065-04cbb00c2aa3fd0001-S8gJnT
Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) by cuda.sgi.com with ESMTP id 143fYQHGRGtIketC (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 02 Feb 2014 18:21:06 -0800 (PST)
X-Barracuda-Envelope-From: debbugs@buxtehude.debian.org
X-Barracuda-Apparent-Source-IP: 140.211.166.26
Received: from debbugs by buxtehude.debian.org with local (Exim 4.80)
(envelope-from )
id 1WA99k-00011o-Ox; Mon, 03 Feb 2014 02:21:04 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#737340: [pcp] Bug#737340: pcp: use autotools-dev to update config.{sub, guess} for new arches
Reply-To: Nathan Scott , 737340@bugs.debian.org
X-ASG-Orig-Subj: Bug#737340: [pcp] Bug#737340: pcp: use autotools-dev to update config.{sub, guess} for new arches
Resent-From: Nathan Scott
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: PCP Development Team
X-Loop: owner@bugs.debian.org
Resent-Date: Mon, 03 Feb 2014 02:21:02 +0000
Resent-Message-ID:
X-Debian-PR-Message: followup 737340
X-Debian-PR-Package: pcp
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: pcp
Received: via spool by 737340-submit@bugs.debian.org id=B737340.13913939042648
(code B ref 737340); Mon, 03 Feb 2014 02:21:02 +0000
Received: (at 737340) by bugs.debian.org; 3 Feb 2014 02:18:24 +0000
Received: from mx3-phx2.redhat.com ([209.132.183.24])
by buxtehude.debian.org with esmtp (Exim 4.80)
(envelope-from )
id 1WA979-0000gN-Rt
for 737340@bugs.debian.org; Mon, 03 Feb 2014 02:18:24 +0000
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s132ILf9005322;
Sun, 2 Feb 2014 21:18:21 -0500
Date: Sun, 2 Feb 2014 21:18:21 -0500 (EST)
From: Nathan Scott
To: Logan Rosen , 737340@bugs.debian.org
Message-ID: <1253670958.17500659.1391393901539.JavaMail.root@redhat.com>
In-Reply-To: <20140201203247.3705.32398.reportbug@logan-VirtualBox>
References: <20140201203247.3705.32398.reportbug@logan-VirtualBox>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: Bug#737340: pcp: use autotools-dev to update config.{sub, guess} for new arches
Thread-Index: DWqFKZaDKcgpGdJVVg50Sni3H6Nmgg==
Resent-Sender: Debian BTS
X-Barracuda-Connect: buxtehude.debian.org[140.211.166.26]
X-Barracuda-Start-Time: 1391394066
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144770
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
----- Original Message -----
> ...
> Please use autotools-dev to update config.{sub,guess} for new architectures.
> ...
> Thanks for considering the patch.
>
Thanks Logan - merged in. I'll close this bug out when pcp-3.8.13
is released & uploaded (the usual release schedule should put that
in about four weeks time).
cheers.
--
Nathan
From nscott@redhat.com Mon Feb 3 00:27:04 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id F3CBC7F56
for ; Mon, 3 Feb 2014 00:27:03 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id DC4D98F8037
for ; Sun, 2 Feb 2014 22:27:03 -0800 (PST)
X-ASG-Debug-ID: 1391408819-04cb6c6de2ad130001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id cd5sws6RcuOmobCl for ; Sun, 02 Feb 2014 22:26:59 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s136Qw39031907
for ; Mon, 3 Feb 2014 01:26:58 -0500
Date: Mon, 3 Feb 2014 01:26:58 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: PCP
Message-ID: <1907127767.17558257.1391408818816.JavaMail.root@redhat.com>
In-Reply-To: <1428599621.17558136.1391408670540.JavaMail.root@redhat.com>
Subject: pcp updates: python time APIs, ubuntu build tweak
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: python time APIs, ubuntu build tweak
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.12]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pcp updates: python time APIs, ubuntu build tweak
Thread-Index: LFOmYcCSH4u2KZK9a/VjHXav8XERPw==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1391408819
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144776
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://oss.sgi.com/pcp/pcp.git dev
debian/changelog | 1 +
debian/control | 2 +-
debian/rules | 3 +++
qa/737 | 29 +++++++++++++++++++++++++++++
qa/737.out | 5 +++++
qa/group | 1 +
qa/src/GNUlocaldefs | 3 ++-
qa/src/test_pcp_time.python | 32 ++++++++++++++++++++++++++++++++
src/python/pcp/pmapi.py | 41 ++++++++++++++++++++++++++---------------
9 files changed, 100 insertions(+), 17 deletions(-)
commit 004d8a3e46fe4c56b0ea4db27c2c618b86b54f76
Author: Nathan Scott
Date: Mon Feb 3 17:13:12 2014 +1100
Fix and test python wrappers for pmLocaltime and pmCtime
Several problems uncovered in the time-processing wrappers
of the python PMAPI module after attempting to use 'em for
the first time:
- size of 'struct tm' did not match modern reality (missing
the final two fields for Linux and BSD - sigsegv results);
- system time.mktime python method does not take 9 arguments
just one - fix the string-printing method for struct tm;
- system time.mktime takes year field as an actual year, and
not the number of years since 1900 - code didn't cater for
this difference to struct tm form returned from localtime.
- definition of the pmLocaltime return code was not correct;
- definition of first pmCtime parameter was not correct;
- code didn't cope with numeric input being passed in either
float/integer format - pythonic time-in-seconds is float.
- no memory allocated to hold the struct tm that pmLocaltime
returns - pointer passed in pointing off into lala-land;
- need to ensure a pointer to a ctypes c_long is passed into
both of these routines - caller might well pass int (e.g.
from a pmResult timestamp (struct timeval, tv_sec field).
Fixed the above and added qa test (boeing) 737 to verify it.
Some small cleanups as well, in the affected code - fixed a
couple of typos in comments, and removed an unused import
of struct_time from the system time module.
commit 5550ecb6fd843466df5e998ee406d684e6fa5cdd
Author: Nathan Scott
Date: Mon Feb 3 14:00:21 2014 +1100
Make a changelog note about deb bug# fixed in next release
commit efc5d9fb0b1ba80165a57dfdff1faa2036b4c219
Author: Logan Rosen
Date: Mon Feb 3 13:09:50 2014 +1100
Use autotools-dev to update config.{sub,guess} for new architectures
For example, we needed these updates in Ubuntu for the new arm64
and ppc64el architectures.
In Ubuntu, the attached patch was applied to achieve the following:
* Use autotools-dev to update config.{sub,guess} for new arches.
From nscott@redhat.com Mon Feb 3 00:28:46 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 255457F5D
for ; Mon, 3 Feb 2014 00:28:46 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 04AA68F8037
for ; Sun, 2 Feb 2014 22:28:45 -0800 (PST)
X-ASG-Debug-ID: 1391408924-04cbb00c2aa9100001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id UV85cKHr22NvmQtF for ; Sun, 02 Feb 2014 22:28:44 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s136SiJX009426;
Mon, 3 Feb 2014 01:28:44 -0500
Date: Mon, 3 Feb 2014 01:28:44 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Stan Cox
Cc: PCP
Message-ID: <1713917632.17558316.1391408924237.JavaMail.root@redhat.com>
In-Reply-To: <1841151293.16935708.1391165636716.JavaMail.root@redhat.com>
References: <52E83DD8.5020403@redhat.com> <1841151293.16935708.1391165636716.JavaMail.root@redhat.com>
Subject: Re: [pcp] programmer's guide python documentation
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] programmer's guide python documentation
Content-Type: multipart/mixed;
boundary="----=_Part_17558314_369865671.1391408924234"
X-Originating-IP: [10.5.82.12]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: programmer's guide python documentation
Thread-Index: ZmPfsYh/qadynOmo3UOPMKVJjEsUfR4yhZL1
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391408924
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144776
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
------=_Part_17558314_369865671.1391408924234
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi Stan,
----- Original Message -----
> [...] - a python implementation of uptime(1). Attached; for your
> review/perusal/amusement ... somewhere in section 3.9 - "Programming
> Issues and Examples" would suit if you like it, after the C example
> perhaps. Sadly, it does not yet work - its exposing a bug in the py
> wrapper code for pmLocaltime(3) - also affects pmCtime(3) I think.
The current dev branch contains the fixes (turned out to be several
issues lurking here), and the attached uptime.py now works a treat.
$ ./uptime.py && /usr/bin/uptime
17:15:29 up 1:42, 8 users, load average: 0.06, 0.25, 0.17
17:15:29 up 1:42, 8 users, load average: 0.06, 0.25, 0.17
Looking at uptime.py I can't help but wish we'd got around to taking
on pmGetopt as discussed awhile back - with that, we'd have -h/-a/-S
"for free" (well, one more line of python code!). Then, we'd get to
answer questions like "what was the system uptime at 2pm yesterday -
just prior to the outage?", etc - looking forward to that!
cheers.
--
Nathan
------=_Part_17558314_369865671.1391408924234
Content-Type: text/x-python; name=uptime.py
Content-Disposition: attachment; filename=uptime.py
Content-Transfer-Encoding: base64
IyEvdXNyL2Jpbi9weXRob24KIwojIENvcHlyaWdodCAoQykgMjAxNCBSZWQgSGF0LgojCiMgVGhp
cyBwcm9ncmFtIGlzIGZyZWUgc29mdHdhcmU7IHlvdSBjYW4gcmVkaXN0cmlidXRlIGl0IGFuZC9v
ciBtb2RpZnkgaXQKIyB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBM
aWNlbnNlIGFzIHB1Ymxpc2hlZCBieSB0aGUKIyBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb247IGVp
dGhlciB2ZXJzaW9uIDIgb2YgdGhlIExpY2Vuc2UsIG9yIChhdCB5b3VyCiMgb3B0aW9uKSBhbnkg
bGF0ZXIgdmVyc2lvbi4KIyAKIyBUaGlzIHByb2dyYW0gaXMgZGlzdHJpYnV0ZWQgaW4gdGhlIGhv
cGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwgYnV0CiMgV0lUSE9VVCBBTlkgV0FSUkFOVFk7IHdp
dGhvdXQgZXZlbiB0aGUgaW1wbGllZCB3YXJyYW50eSBvZiBNRVJDSEFOVEFCSUxJVFkKIyBvciBG
SVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRS4gIFNlZSB0aGUgR05VIEdlbmVyYWwgUHVi
bGljIExpY2Vuc2UKIyBmb3IgbW9yZSBkZXRhaWxzLgojCgoiIiIgVGVsbCBob3cgbG9uZyB0aGUg
c3lzdGVtIGhhcyBiZWVuIHJ1bm5pbmcKCnVwdGltZS5weSBnaXZlcyBhIG9uZSBsaW5lIGRpc3Bs
YXkgb2YgdGhlIGZvbGxvd2luZyBpbmZvcm1hdGlvbjoKICAgIFRoZSBjdXJyZW50IHRpbWU7CiAg
ICBIb3cgbG9uZyB0aGUgc3lzdGVtIGhhcyBiZWVuIHJ1bm5pbmc7CiAgICBIb3cgbWFueSB1c2Vy
cyBhcmUgY3VycmVudGx5IGxvZ2dlZCBvbjsgYW5kCiAgICBUaGUgc3lzdGVtIGxvYWQgYXZlcmFn
ZXMgZm9yIHRoZSBwYXN0IDEsIDUsIGFuZCAxNSBtaW51dGVzLgoiIiIKCmZyb20gcGNwIGltcG9y
dCBwbWFwaQpmcm9tIGNwbWFwaSBpbXBvcnQgUE1fVFlQRV9VMzIsIFBNX1RZUEVfRkxPQVQKCmRl
ZiBwcmludF90aW1lc3RhbXAoc3RhbXApOgogICAgIiIiIFJlcG9ydCB0aGUgc2FtcGxlIHRpbWUg
KHN0cnVjdCB0bSkgaW4gSEg6TU06U1MgZm9ybSAiIiIKICAgIHByaW50ICIgJTAyZDolMDJkOiUw
MmQiICUgKHN0YW1wLnRtX2hvdXIsIHN0YW1wLnRtX21pbiwgc3RhbXAudG1fc2VjKSwKCmRlZiBw
cmludF91cHRpbWUoc2Vjb25kcyk6CiAgICAiIiIgUmVwb3J0IG9uIHN5c3RlbSB1cC10aW1lIGlu
IGRheXMsIGhvdXJzIGFuZCBtaW51dGVzICIiIgogICAgZGF5cyA9IHNlY29uZHMgLyAoNjAgKiA2
MCAqIDI0KQogICAgbWludXRlcyA9IHNlY29uZHMgLyA2MAogICAgaG91cnMgPSBtaW51dGVzIC8g
NjAKICAgIGhvdXJzID0gaG91cnMgJSAyNAogICAgbWludXRlcyA9IG1pbnV0ZXMgJSA2MAogICAg
cHJpbnQgInVwIiwKICAgIGlmIGRheXMgPiAxOgogICAgICAgIHByaW50ICIlZCBkYXlzLCIgJSBk
YXlzLAogICAgZWxpZiBkYXlzICE9IDA6CiAgICAgICAgcHJpbnQgIjEgZGF5LCIsCiAgICBpZiBo
b3VycyAhPSAwOgogICAgICAgIHByaW50ICclMmQ6JTAyZCwnICUgKGhvdXJzLCBtaW51dGVzKSwK
ICAgIGVsc2U6CiAgICAgICAgcHJpbnQgJyVkIG1pbiwnICUgbWludXRlcywKCmRlZiBwcmludF91
c2VycyhudXNlcnMpOgogICAgIiIiIFJlcG9ydCB0aGUgbnVtYmVyIG9mIGxvZ2dlZCBpbiB1c2Vy
cyBhdCBzYW1wbGUgdGltZSAiIiIKICAgIGlmIG51c2VycyA9PSAxOgogICAgICAgIHByaW50ICcx
IHVzZXIsICcgCiAgICBlbHNlOgogICAgICAgIHByaW50ICclMmQgdXNlcnMsICcgJSBudXNlcnMs
CgpkZWYgcHJpbnRfbG9hZChvbmUsIGZpdmUsIGZpZnRlZW4pOgogICAgIiIiIFJlcG9ydCAxLCA1
LCAxNSBtaW51dGUgbG9hZCBhdmVyYWdlcyBhdCBzYW1wbGUgdGltZSAiIiIKICAgIHByaW50ICds
b2FkIGF2ZXJhZ2U6ICUuMmYsICUuMmYsICUuMmYnICUgKG9uZSwgZml2ZSwgZmlmdGVlbiksCgpk
ZWYgdXB0aW1lKCk6CiAgICAiIiIgQ3JlYXRlIGEgUE1BUEkgY29udGV4dCAoY291bGQgYmUgZWl0
aGVyIGhvc3Qgb3IgYXJjaGl2ZSksCiAgICAgICAgZmV0Y2ggYW5kIHJlcG9ydCBhIGZpeGVkIHNl
dCBvZiB2YWx1ZXMgcmVsYXRlZCB0byB1cHRpbWUuCiAgICAiIiIKICAgIGNvbnRleHQgPSBwbWFw
aS5wbUNvbnRleHQoKQogICAgbWV0cmljcyA9ICgna2VybmVsLmFsbC51cHRpbWUnLCAna2VybmVs
LmFsbC5udXNlcnMnLCAna2VybmVsLmFsbC5sb2FkJykKICAgIHBtaWRzID0gY29udGV4dC5wbUxv
b2t1cE5hbWUobWV0cmljcykKICAgIGRlc2NzID0gY29udGV4dC5wbUxvb2t1cERlc2NzKHBtaWRz
KQogICAgcmVzdWx0ID0gY29udGV4dC5wbUZldGNoKHBtaWRzKQoKICAgIHNhbXBsZV90aW1lID0g
cmVzdWx0LmNvbnRlbnRzLnRpbWVzdGFtcC50dl9zZWMKICAgIHRpbWVfc3RydWN0ID0gY29udGV4
dC5wbUxvY2FsdGltZShzYW1wbGVfdGltZSkKICAgIHByaW50X3RpbWVzdGFtcCh0aW1lX3N0cnVj
dCkKCiAgICBhdG9tID0gY29udGV4dC5wbUV4dHJhY3RWYWx1ZSgKCQlyZXN1bHQuY29udGVudHMu
Z2V0X3ZhbGZtdCgwKSwKCQlyZXN1bHQuY29udGVudHMuZ2V0X3ZsaXN0KDAsIDApLAoJCWRlc2Nz
WzBdLmNvbnRlbnRzLnR5cGUsIFBNX1RZUEVfVTMyKQogICAgcHJpbnRfdXB0aW1lKGF0b20udWwp
CgogICAgYXRvbSA9IGNvbnRleHQucG1FeHRyYWN0VmFsdWUoCgkJcmVzdWx0LmNvbnRlbnRzLmdl
dF92YWxmbXQoMSksCgkJcmVzdWx0LmNvbnRlbnRzLmdldF92bGlzdCgxLCAwKSwKCQlkZXNjc1sx
XS5jb250ZW50cy50eXBlLCBQTV9UWVBFX1UzMikKICAgIHByaW50X3VzZXJzKGF0b20udWwpCgog
ICAgYXZlcmFnZXMgPSBbMSwgNSwgMTVdCiAgICBmb3IgaW5zdGFuY2UgaW4geHJhbmdlKDMpOgog
ICAgICAgIGF2ZXJhZ2VzW2luc3RhbmNlXSA9IGNvbnRleHQucG1FeHRyYWN0VmFsdWUoCgkJCQly
ZXN1bHQuY29udGVudHMuZ2V0X3ZhbGZtdCgyKSwKCQkJCXJlc3VsdC5jb250ZW50cy5nZXRfdmxp
c3QoMiwgaW5zdGFuY2UpLAoJCQkJZGVzY3NbMl0uY29udGVudHMudHlwZSwgUE1fVFlQRV9GTE9B
VCkKICAgIHByaW50X2xvYWQoYXZlcmFnZXNbMF0uZiwgYXZlcmFnZXNbMV0uZiwgYXZlcmFnZXNb
Ml0uZikKCiAgICBjb250ZXh0LnBtRnJlZVJlc3VsdChyZXN1bHQpCgppZiBfX25hbWVfXyA9PSAn
X19tYWluX18nOgogICAgdXB0aW1lKCkK
------=_Part_17558314_369865671.1391408924234--
From nscott@redhat.com Mon Feb 3 02:55:11 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 459F77F5D
for ; Mon, 3 Feb 2014 02:55:11 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id 151D18F8037
for ; Mon, 3 Feb 2014 00:55:07 -0800 (PST)
X-ASG-Debug-ID: 1391417702-04bdf0121ebf6d0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id f6vrFDvUWGBwijtP for ; Mon, 03 Feb 2014 00:55:02 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s138t2qZ000460;
Mon, 3 Feb 2014 03:55:02 -0500
Date: Mon, 3 Feb 2014 03:55:02 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: "Frank Ch. Eigler"
Cc: pcp@oss.sgi.com
Message-ID: <1582655005.17610093.1391417702242.JavaMail.root@redhat.com>
In-Reply-To:
References: <1288830274.15173866.1390972567394.JavaMail.root@redhat.com> <2079478185.15183762.1390974204857.JavaMail.root@redhat.com> <850081097.15891604.1391033712900.JavaMail.root@redhat.com>
Subject: Re: Multi-lib support problem & possible fix
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: Multi-lib support problem & possible fix
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.12]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: Multi-lib support problem & possible fix
Thread-Index: psaUaQnOCjQZO7fRfpZNSS5VtrpLuQ==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391417702
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144779
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hey Frank,
----- Original Message -----
>
> Hi, Nathan -
>
> >> If the pcp sources we ship continue working, and our pmdas continue
> >> installing, that's good enough.
> >
> > No, thats not good enough IMO - we need to take steps to prevent
> > breakage to out of tree PMDAs too. There are very valid reasons
> > for being out-of-tree - like proprietary h/ware monitoring libs,
> > etc [...]
>
> Out-of-tree developers need to stay involved in the community, so we
> can know what their actual needs are, what the actual impact of
> changes would be.
Still no. We have no place putting demands on out-of-tree developers
in terms of what they "need" to do. We provide a mechanism which we've
documented as the Right Way to implement and install PMDAs and the onus
is 100% on us to now maintain that and not break anything in our stable
release series.
Think of the developers of PMDAs which extract instrumentation from an
in-house application, using some custom export (say, predating MMV) -
they have every reason to expect stable PCP upgrades to (continue to)
work. And they have no reason to expect to be involved with upstream
work to keep their existing setup working.
We can choose to redo this whole process (PMDA Install), but that then
becomes major (pcp v4, v5, ...) release material. This level of small
packaging issue is not the sort of thing I'd really want to trigger the
onset of such a major disruption to the installed base - the numbers
are all wrong. Small number of people care, relatively small advances,
but large numbers of people disrupted.
FWIW, the mindset I use is "if I had to do a live upgrade to thousands
of production machines with this new code, do I expect it to continue
to work everywhere? And/or would I be happy to get called at 2am (by
an annoyed, sleepy sysadmin colleague) to start fixing the potentially
catastrophic mess I just caused when it was rolled out?"
Then extend those questions beyond self, to cover every user of pcp on
this (stable) release series, and all of their deployment scenarios.
> If we don't have access to code to test, or other
> information, and no consultation, we can't allow ourselves to stop.
*nod* - definitely no need to stop - we even have one other possible
(and backward-compatible) solution here already, no doubt there are
others - we just need to be creative.
> > [...] those build files are part of the PMDA Install runtime for
> > some PMDAs.
>
> Identical files are permitted to be included in more than one RPM. So
> if some of these build-configuration files are required to just
> install a PMDA (btw does it have to be that way?), we could also
(for this stable release series, yes, it certainly does. for future
release series, wider consultation & discussion would be needed - but
sure, it could be changed)
> include those build-configuration files in the per-arch package that
> contains the PMDAs. Those are not -libs nor -libs-devel, so we don't
> have to worry about multi-lib issues.
Starting to sound a bit like that original plan I'd described ... I'll
experiment with something along those lines shortly, and report back.
> > I also overlooked the *link-only* requirements some PMDAs have had
> > in the past (database PMDAs were the classic case) - which means
> > that a full -devel install is not required to still make use of
> > builddefs and a PMDA makefile after all (as we thought yesterday).
> > -devel is a heavy-weight install too, so not a package I'd want as
> > part of every server install - we should not force that onto folks.
>
> For code that requires linking *or* full compilation, -devel
> requirements are traditional and appropriate. Folks stuck with such
> PMDAs, who cannot accept the 700 kilobytes of pcp-libs-devel but do
> accept 22 megabytes for binutils,
Or ... some other sizes - hey, pmdarpm will know! ;)
$ pminfo -f rpm.size | egrep '"coreutils|"pcp-libs-devel'
inst [863 or "pcp-libs-devel-3.8.13-1.x86_64"] value 1766815
inst [1002 or "coreutils-libs-8.4-19.el6.x86_64"] value 5576
inst [1656 or "coreutils-8.4-19.el6.x86_64"] value 12847030
> ... could perhaps compile on one machine and ship linked binaries
> around.
*nod* - good points indeed. The mentality may have originated in
old-skool Unixen (IRIX) where the linker was always available but
not necessarily an entire cc toolchain (and cc was licensed, as in
"fork out cash to use it"). Anyway, all academic at this stage...
it turns out moving builddefs & co into -libs-devel doesn't help
us after all - we're requested to make -libs-devel multilib also
(which introduces other, different challenges).
Thanks for the input!
cheers.
--
Nathan
From wwwrun@oss.sgi.com Mon Feb 3 03:19:24 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id D68E27FE1; Mon, 3 Feb 2014 03:19:24 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1046] pmlogger heavy duplication in .meta output
Date: Mon, 03 Feb 2014 09:19:23 +0000
X-Bugzilla-Reason: CC AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: nathans@debian.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@oss.sgi.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: cc
Message-ID:
In-Reply-To:
References:
Content-Type: multipart/alternative; boundary="1391419164.FAD662.21203"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1391419164.FAD662.21203
Date: Mon, 3 Feb 2014 03:19:24 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1046
Nathan Scott changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathans@debian.org
--- Comment #3 from Nathan Scott ---
(In reply to comment #2)
> From having dipped into the code, we'd need to do a couple of things:
> [...]
OK, sounds tricky but promising.
> The changing-the-definition part merits thought about how we envision
> handling smallish changes to the archive format. Must we bump
> archive-major-version numbers?
Sounds very likely, based on my understanding of your description.
> Or can we tolerate old version
> tools to slightly misbehave on newer data (as opposed to refusing to
> process them outright)?
Depends on the definition of "slightly misbehave", but it certainly sounds like
a format version bump would be required and a planned transition will be
needed. That's easily doable though, even in a stable series... opt-in
initially (e.g. pmlogger command line arg to enable it, and defaulting to
back-compatible v2 format) until a future major release where it could become
default.
cheers.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
--1391419164.FAD662.21203
Date: Mon, 3 Feb 2014 03:19:24 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Nathan Scott
changed
bug 1046
| What |
Removed |
Added |
| CC |
|
nathans@debian.org
|
Comment # 3
on bug 1046
from Nathan Scott
(In reply to comment #2)
> From having dipped into the code, we'd need to do a couple of things:
> [...]
OK, sounds tricky but promising.
> The changing-the-definition part merits thought about how we envision
> handling smallish changes to the archive format. Must we bump
> archive-major-version numbers?
Sounds very likely, based on my understanding of your description.
> Or can we tolerate old version
> tools to slightly misbehave on newer data (as opposed to refusing to
> process them outright)?
Depends on the definition of "slightly misbehave", but it certainly sounds like
a format version bump would be required and a planned transition will be
needed. That's easily doable though, even in a stable series... opt-in
initially (e.g. pmlogger command line arg to enable it, and defaulting to
back-compatible v2 format) until a future major release where it could become
default.
cheers.
You are receiving this mail because:
- You are on the CC list for the bug.
- You are the assignee for the bug.
--1391419164.FAD662.21203--
From wwwrun@oss.sgi.com Mon Feb 3 14:12:32 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 0D58A7FFA; Mon, 3 Feb 2014 14:12:32 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1046] pmlogger heavy duplication in .meta output
Date: Mon, 03 Feb 2014 20:12:31 +0000
X-Bugzilla-Reason: CC AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: kenj@internode.on.net
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@oss.sgi.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID:
In-Reply-To:
References:
Content-Type: multipart/alternative; boundary="1391458352.768Cda3.2810"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1391458352.768Cda3.2810
Date: Mon, 3 Feb 2014 14:12:32 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1046
--- Comment #4 from Ken McDonell ---
Frank, thanks for the investigation.
Your plan matches what I expected would be involved.
> - change lipcp/src/logmeta.c addindom and/or searchindom to merge
> rather than replace new instlist/namelist entries
Are you suggesting reconstructing the temporal series of indom sets as per the
current format? I have always been concerned that this is a huge VM soak for
any application that opens an archive with a big, dynamic indom. If we're
going to attack this area, perhaps we should consider a more efficient data
structure and processing algorithms ... certainly lazy instantiation is an
option and because this data is often not used at all (the application is
interested in some _other_ metric from the archive) or the common use involves
mapping internal instance ids to external instance names at some point in time.
> - change pmlogger/src/callback.c log_callback to handle the needindom=1
> case's numval^2 search with more finesse, that is to identify missing
> inst#'s individually, and emit a smaller incremental __pmLogPutInDom.
>
> (We are assuming that instance strings never change. That's not quite
> correct: proc.* pid<->name strings should vary as processes exec(),
> but the linux_proc pmda happens not to track that.)
Since you need to identify new instances and dropped instances, I am not sure
this can be done better than a 2*O(numval) algorithm. I don't follow the
reference to strings ... it is the internal instance id's that matter so I
think this should be a search and mark operation over a set of integer keys.
And I'm with Nathan, bump the archive version number to V.3 to accommodate the
migration.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
--1391458352.768Cda3.2810
Date: Mon, 3 Feb 2014 14:12:32 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 4
on bug 1046
from Ken McDonell
Frank, thanks for the investigation.
Your plan matches what I expected would be involved.
> - change lipcp/src/logmeta.c addindom and/or searchindom to merge
> rather than replace new instlist/namelist entries
Are you suggesting reconstructing the temporal series of indom sets as per the
current format? I have always been concerned that this is a huge VM soak for
any application that opens an archive with a big, dynamic indom. If we're
going to attack this area, perhaps we should consider a more efficient data
structure and processing algorithms ... certainly lazy instantiation is an
option and because this data is often not used at all (the application is
interested in some _other_ metric from the archive) or the common use involves
mapping internal instance ids to external instance names at some point in time.
> - change pmlogger/src/callback.c log_callback to handle the needindom=1
> case's numval^2 search with more finesse, that is to identify missing
> inst#'s individually, and emit a smaller incremental __pmLogPutInDom.
>
> (We are assuming that instance strings never change. That's not quite
> correct: proc.* pid<->name strings should vary as processes exec(),
> but the linux_proc pmda happens not to track that.)
Since you need to identify new instances and dropped instances, I am not sure
this can be done better than a 2*O(numval) algorithm. I don't follow the
reference to strings ... it is the internal instance id's that matter so I
think this should be a search and mark operation over a set of integer keys.
And I'm with Nathan, bump the archive version number to V.3 to accommodate the
migration.
You are receiving this mail because:
- You are on the CC list for the bug.
- You are the assignee for the bug.
--1391458352.768Cda3.2810--
From fche@redhat.com Mon Feb 3 15:34:23 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 80E077FF0
for ; Mon, 3 Feb 2014 15:34:23 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 19FA3AC003
for ; Mon, 3 Feb 2014 13:34:22 -0800 (PST)
X-ASG-Debug-ID: 1391463258-04bdf0121ddabe0001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id iVgx9FW5hXzreJhi for ; Mon, 03 Feb 2014 13:34:19 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s13LYEsC022544
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
Mon, 3 Feb 2014 16:34:14 -0500
Received: from fche.csb (vpn-234-16.phx2.redhat.com [10.3.234.16])
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s13LYDuS030111;
Mon, 3 Feb 2014 16:34:13 -0500
Received: by fche.csb (Postfix, from userid 2569)
id BC71858103; Mon, 3 Feb 2014 16:34:12 -0500 (EST)
Date: Mon, 3 Feb 2014 16:34:12 -0500
From: "Frank Ch. Eigler"
To: pcp@oss.sgi.com, kenj@internode.on.net
Subject: archive format history, was Re: [Bug 1046] pmlogger heavy duplication in .meta output
Message-ID: <20140203213412.GB6491@redhat.com>
X-ASG-Orig-Subj: archive format history, was Re: [Bug 1046] pmlogger heavy duplication in .meta output
References:
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To:
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1391463259
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi, Ken -
> > - change lipcp/src/logmeta.c addindom and/or searchindom to merge
> > rather than replace new instlist/namelist entries
> Are you suggesting reconstructing the temporal series of indom sets
> as per the current format?
I was talking more about representation on disk, as opposed to a
particular reading/caching algorithm.
> [...] If we're going to attack this area, perhaps we should
> consider a more efficient data structure and processing algorithms
> ... certainly lazy instantiation is an option and because this data
> is often not used at all [...]
Righto.
Curious about another aspect of the history. Can someone explain how
come we ended up with a .meta file that's separate from the main
volume? The records could be intermingled in one (the pmFetch PDU's
might just need a tag prefix, or maybe not even that). Both sets
accumulate timewise. If the .meta data is a small fraction of the
total, it could be replicated in subsequent volumes without much fuss.
So why a separate file?
If we had the meta+metric data together, we could have instantly a
pipe/streaming format - something we've wanted for special PMDA
purposes, but could come in handy in other ways.
- FChE
From nscott@redhat.com Mon Feb 3 17:19:35 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 697787F9F
for ; Mon, 3 Feb 2014 17:19:35 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 5D350304082
for ; Mon, 3 Feb 2014 15:19:35 -0800 (PST)
X-ASG-Debug-ID: 1391469569-04cbb00c29cadc0001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id tlhpLsRQ3tFVtWln for ; Mon, 03 Feb 2014 15:19:30 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s13NJTpK019294;
Mon, 3 Feb 2014 18:19:29 -0500
Date: Mon, 3 Feb 2014 18:19:29 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Dave Brolley
Cc: PCP
Message-ID: <1816751253.18456831.1391469569087.JavaMail.root@redhat.com>
In-Reply-To: <683908729.18452164.1391468197324.JavaMail.root@redhat.com>
Subject: pmie vs local: - not going the af_unix route by default
MIME-Version: 1.0
X-ASG-Orig-Subj: pmie vs local: - not going the af_unix route by default
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pmie vs local: - not going the af_unix route by default
Thread-Index: Tm3LTX7lEeJoyAxL6GFzPsVvkwu+BQ==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1391469570
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, DOMAIN_4U2, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144803
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 DOMAIN_4U2 URI: Domain name containing a "4u" variant
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hi Dave,
As mentioned on IRC, pmie doesn't appear to use local: connection
by default - looks like a hostname is associated with each metric
at some point, and that is used when it comes to the crunch of
fetching values for a metric (instead of the local: context which
we do also establish earlier on in argument parsing, it seems).
There's a pmie config in the IRC log below that shows the problem
using the proc metrics (which give permission errors when no auth
info available). A gdb breakpoint on pmNewContext shows where we
start wandering off the expected path. So, removing :'local:' in
that config (explicit host) shows the problem - as-is, the config
below *does* do an af_unix connection because of that workaround.
cheers.
i want to count the number of httpd processes in pmie
so I thought of something like this
(count_inst > 5 && match_inst "httpd")
ah, and using the proc.* metrics?
not sure if I am using count_inst corerctly
yes
yeah, i'd be surprised if count_inst does what you want there
hmmm
(thinking, thinking)
so far, the only way i can think of doing (using stock pcp code) it is via a pmie rule with match_inst, then using %i in the rule evaluation, then counting the passed-in arguments in the action (shell script)
a couple of more involved approaches would be to use the cgroups support in current pmdaproc, if you can ensure all httpd processes start in a named cgroup
or, resurrecting pmdahotproc (src/pmdas/hotproc)
(match_inst "httpd" proc.cmd )
-> print "httpd procs %i";
tried that, syntax error - near line 11 of file status.pmie
logical expression expected to follow regular expression
can you show me an example of count_inst ?
yeah, thats not a valid pmie expression
I realise that
see the man page example, i.e. match_inst "^dks[23]d" disk.dev.total > 20;
yes.
just that proc.psinfo.cmd is text
something like this might work...
match_inst "bash" proc.psinfo.pid > 0;
s/bash/httpd
mm, that gives and error in pmie, but works on pminfo
Instance domain for metric proc.psinfo.pid from host hr1.dev.m4u.com.au not (currently) available
pmGetIndom failed: No permission to perform requested operation
yeah, just looking into that atm
ok, some progress ... hang on a tick
I think if I can use proc.psinfo.threads, I will get what I need
ok, this works...
cat /tmp/pmie
some_inst ( match_inst ".*bash" proc.psinfo.pid :'local:' > 0 ) -> print " '%i',pid=%v";
pmie -c /tmp/pmie -t 1 -v -v -e
Tue Feb 4 09:05:43 2014: '010766 bash',pid=10766 '011349 bash',pid=11349 '015594 -bash',pid=15594
expr_1 (Tue Feb 4 09:05:43 2014): true
Tue Feb 4 09:05:44 2014: '010766 bash',pid=10766 '011349 bash',pid=11349 '015594 -bash',pid=15594
expr_1 (Tue Feb 4 09:05:44 2014): true
ah thanks
np - the local: bit there resolves the permissions issue
not really sure why thats not happening by default, i'll need to dig into that
ok, that makes sense
that worked
good stuff
--
Nathan
From kenj@internode.on.net Tue Feb 4 16:37:28 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id D74F37F51
for ; Tue, 4 Feb 2014 16:37:28 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id 9B38B8F8040
for ; Tue, 4 Feb 2014 14:37:28 -0800 (PST)
X-ASG-Debug-ID: 1391553443-04bdf0121d129ad0001-S8gJnT
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id tCi7JWYfZhWpypKF for ; Tue, 04 Feb 2014 14:37:23 -0800 (PST)
X-Barracuda-Envelope-From: kenj@internode.on.net
X-Barracuda-Apparent-Source-IP: 150.101.137.145
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjOVAFJr8VJ20SXkPGdsb2JhbABZgwyDPoUMpBOSSQMCgQ4XAwEBAQE4NYIlAQEEAQgCHhIcHAwIAwIGA0YZIAoUAgQBHQUJAodiB84qF458hDgEjymdEoFSKA
Received: from ppp118-209-37-228.lns20.mel4.internode.on.net (HELO bozohorize) ([118.209.37.228])
by ipmail06.adl6.internode.on.net with ESMTP; 05 Feb 2014 09:07:19 +1030
From: "Ken McDonell"
To: "'Frank Ch. Eigler'" ,
References: <20140203213412.GB6491@redhat.com>
In-Reply-To: <20140203213412.GB6491@redhat.com>
Subject: RE: archive format history, was Re: [Bug 1046] pmlogger heavy duplication in .meta output
Date: Wed, 5 Feb 2014 09:37:17 +1100
X-ASG-Orig-Subj: RE: archive format history, was Re: [Bug 1046] pmlogger heavy duplication in .meta output
Message-ID: <000001cf21f9$a967a8f0$fc36fad0$@internode.on.net>
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQD6XDahYCyu5yw1Yqk+370zR3zIAwEjV14/AcAABeCcOBhdcA==
Content-Language: en-au
X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145]
X-Barracuda-Start-Time: 1391553443
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.01
X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144842
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
G'day Frank.
More History 101 below ... 8^)>
> > > - change lipcp/src/logmeta.c addindom and/or searchindom to merge
> > > rather than replace new instlist/namelist entries
>
> > Are you suggesting reconstructing the temporal series of indom sets as
> > per the current format?
>
> I was talking more about representation on disk, as opposed to a
particular
> reading/caching algorithm.
Hmm ... then I don't understand what "merge" means in the original
suggestion. Can you provide a bit more detail of your thoughts?
> Curious about another aspect of the history. Can someone explain how
> come we ended up with a .meta file that's separate from the main volume?
> The records could be intermingled in one (the pmFetch PDU's might just
> need a tag prefix, or maybe not even that). Both sets accumulate
timewise.
> If the .meta data is a small fraction of the total, it could be replicated
in
> subsequent volumes without much fuss.
> So why a separate file?
Both the .meta and the .N files may grow over the period of pmlogger's life
(remember pmlc can dramatically effect what is being logged, although most
of the recent attention has been devoted to dynamic instance domains and
indom bloat in the .meta files ... something that was not possible in the
early days due to restrictions on the proc pmda, but that is another story).
Now, the only operating system I know (and love) that offers a file system
that supports multiple growing logical segments within the one file
container is the Michigan Terminal System (MTS) that was an OS/360
alternative in the days before Unix escaped from Bell Labs. So with the
file systems we have to work with, the only option would be to have variant
records in the one file and intermix the metadata and pmResult data. But
the metadata includes the PMNS and the metric descriptors and if there was a
single data stream all applications would have to read and process EVERY
record in the archive before they could answer the simplest questions about
the PMNS or the metric descriptors. Given the expected relative size of the
metadata compared to the archive in toto (one, two, three or four orders of
magnitude), it was felt that the cost of reading all of the data to extract
the metadata was excessive.
To expedite random access into the archives we have an index, the .index
file, and this also grows over the life of pmlogger. If the metadata was
combined with the pmResult data then one needs to consider what to do with
the index data ... putting it in the one file is a waste of time unless you
have MTS and the ability to create a third growing segment in the file (if
you need to read the file to extract the index, you don't need the index!),
else put the index in another file, at which point the archive becomes
multi-file and a separate .meta file makes life only a very little more
difficult.
I still think this is the _right_ solution for Unix/Linux style file
systems.
Of course if there was a free, fast, multi-platform, reliable DBMS at the
time we designed the PCP archive format it may not have evolved as files in
the filesystem ... but it is not clear to me that this would have solved
more problems than it would have created (our data does not map well onto
the relational model, so we'd probably ended up with binary blobs for all
the stuff that really mattered and the DB infrastructure would not have
provided much leverage).
> If we had the meta+metric data together, we could have instantly a
> pipe/streaming format - something we've wanted for special PMDA
> purposes, but could come in handy in other ways.
What are the "special PMDA purposes"? The PMDA operates with a pull model,
so the data stream is defined by the client request sequence ... when being
read, not written, PCP archives are subjected to the same operational
semantics in terms of the client request sequence. The "across the API"
behaviour for a client is the same for PMCD (and so PMDA) and archives and
this is an intermixed sequence of data types, but I don't think of this a
streaming or pipe semantics.
I am interested to hear more ....
From nscott@redhat.com Tue Feb 4 21:09:58 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id E792B7F51
for ; Tue, 4 Feb 2014 21:09:58 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id A84EA8F804C
for ; Tue, 4 Feb 2014 19:09:55 -0800 (PST)
X-ASG-Debug-ID: 1391569793-04bdf0121f13c0e0001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id qkSPq7IHwsGHWCGw for ; Tue, 04 Feb 2014 19:09:54 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s1539rmI022092
for ; Tue, 4 Feb 2014 22:09:53 -0500
Date: Tue, 4 Feb 2014 22:09:53 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: pcp@oss.sgi.com
Message-ID: <57528932.19502818.1391569793059.JavaMail.root@redhat.com>
Subject: pcp updates: docs, pmdammv fix
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: docs, pmdammv fix
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.12]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pcp updates: docs, pmdammv fix
Thread-Index: i44c6u5IufaGefXfZe+fksvaC7Y09w==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1391569794
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144850
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://oss.sgi.com/pcp/pcp.git dev
man/man1/pmclient.1 | 13 ++-----------
qa/213 | 23 +++++++++++++++++++++--
qa/646 | 26 +++++++++++++++++++++++---
src/libpcp_pmda/src/tree.c | 3 +++
src/pmclient/GNUmakefile | 8 +++++---
src/pmclient/README | 22 ++++++++++++----------
src/pmclient/pmlogger.config | 16 ++++++++++++++++
src/pmdas/mmv/src/mmv.c | 26 +++++++++++++++++++++-----
8 files changed, 103 insertions(+), 34 deletions(-)
commit 7f7a5ccc11231c4349026b295e321e5d9ad01095
Author: Nathan Scott
Date: Wed Feb 5 14:05:26 2014 +1100
Resolve pmdammv sigsegv when no MMV tempdir present
There were situations where we could call into the PMDA
tree code (dynamic namespaces) with a NULL pmns pointer,
which it would dereference. Add checks to that code (as
other tree API calls have already) and ensure pmdammv no
longer calls it in this anti-social way.
QA tests 213 and 646 updated to function with a missing
MMV temporary directory as well.
commit 9b6d8dc797da00721509ed4036f864a957fff1d5
Author: Nathan Scott
Date: Tue Feb 4 10:41:40 2014 +1100
Update MMV test to work after new install with no MMV tmpdir state
commit 96f8fc9cf03c09ab8e07c2bcae4603f14b87b626
Author: Nathan Scott
Date: Tue Feb 4 10:38:40 2014 +1100
Updates to pmclient after reading the PCP_PG examples section
From fche@redhat.com Tue Feb 4 22:14:33 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id CF9687F51
for ; Tue, 4 Feb 2014 22:14:32 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 60B85AC003
for ; Tue, 4 Feb 2014 20:14:29 -0800 (PST)
X-ASG-Debug-ID: 1391573664-04cbb00c2b12d450001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id qJZweqkKvAFSlR1R for ; Tue, 04 Feb 2014 20:14:25 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s154EKwW010732
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
Tue, 4 Feb 2014 23:14:20 -0500
Received: from fche.csb (vpn-234-16.phx2.redhat.com [10.3.234.16])
by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s154EJRq027877;
Tue, 4 Feb 2014 23:14:20 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 59F0958110; Tue, 4 Feb 2014 23:14:19 -0500 (EST)
Date: Tue, 4 Feb 2014 23:14:19 -0500
From: "Frank Ch. Eigler"
To: Ken McDonell
Cc: pcp@oss.sgi.com
Subject: Re: archive format history, was Re: [Bug 1046] pmlogger heavy duplication in .meta output
Message-ID: <20140205041419.GC6491@redhat.com>
X-ASG-Orig-Subj: Re: archive format history, was Re: [Bug 1046] pmlogger heavy duplication in .meta output
References: <20140203213412.GB6491@redhat.com> <000001cf21f9$a967a8f0$fc36fad0$@internode.on.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <000001cf21f9$a967a8f0$fc36fad0$@internode.on.net>
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1391573665
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi, Ken -
> More History 101 below ... 8^)>
Thanks!
> > I was talking more about representation on disk, as opposed to a
> > particular reading/caching algorithm.
>
> Hmm ... then I don't understand what "merge" means in the original
> suggestion. Can you provide a bit more detail of your thoughts?
(With respect to instance-domain updates, that each record could be
differential to the one in effect at the previous timestamp. I used
"merge" when perhaps I should have used "diff" and "patch" instead.)
> [...]
> > So why a separate [.meta] file?
>
> [...]
> Now, the only operating system I know (and love) that offers a file system
> that supports multiple growing logical segments within the one file
> container is the Michigan Terminal System (MTS) that was an OS/360
> alternative in the days before Unix escaped from Bell Labs.
Careful -- you might start dating yourself!
> So with the file systems we have to work with, the only option would
> be to have variant records in the one file and intermix the metadata
> and pmResult data. But the metadata includes the PMNS and the
> metric descriptors and if there was a single data stream all
> applications would have to read and process EVERY record in the
> archive before they could answer the simplest questions about the
> PMNS or the metric descriptors. [...]
Understood. That scanning EVERY record business could be beaten if
the PMNS/metric/indom data were located in convenient spots. For
example, if they were generally interleaved with pmResult data in time
order but also replicated at predictable places such as the end of the
file, and contained links (file offsets) to earlier metadata records,
then a complete metadata-only search could take
O(number-of-metadata-updates) rather than O(number-of-pmResults).
> To expedite random access into the archives we have an index, the .index
> file, and this also grows over the life of pmlogger. If the metadata was
> combined with the pmResult data then one needs to consider what to do with
> the index data ... putting it in the one file is a waste of time unless you
> have MTS and the ability to create a third growing segment in the file (if
> you need to read the file to extract the index, you don't need the index!),
> [...]
Again, it depends where the index is placed. If it's in predictable
locations, one can eschew the full scan.
> I still think this is the _right_ solution for Unix/Linux style file
> systems.
It's been a fine solution. I'm wondering whether the benefits we'd
get from a streamable format would be worth the moderate complexity.
> Of course if there was a free, fast, multi-platform, reliable DBMS
> at the time we designed the PCP archive format [...] we'd probably
> ended up with binary blobs for all the stuff that really mattered
> and the DB infrastructure would not have provided much leverage).
Right.
> > If we had the meta+metric data together, we could have instantly a
> > pipe/streaming format - something we've wanted for special PMDA
> > purposes, but could come in handy in other ways.
>
> What are the "special PMDA purposes"? [...]
Perhaps "PMDA purposes" was misleading, sorry. Some possibilities
include having tools such as systemtap, or live importers, or
summary/stats engines, generate & consume archive-format streams.
Perhaps it could turn out to feed a more workable version of that
earlier "tail -f archive" effort Max/Greg were talking about.
- FChE
From nscott@redhat.com Tue Feb 4 23:25:05 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 8CF4C7F51
for ; Tue, 4 Feb 2014 23:25:05 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 7034F304053
for ; Tue, 4 Feb 2014 21:25:02 -0800 (PST)
X-ASG-Debug-ID: 1391577900-04cbb00c281309b0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id 1B9tNKSH6mIGTAOI for ; Tue, 04 Feb 2014 21:25:00 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s155OxHG020595
for ; Wed, 5 Feb 2014 00:24:59 -0500
Date: Wed, 5 Feb 2014 00:24:59 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: PCP
Message-ID: <1540000956.19532876.1391577899859.JavaMail.root@redhat.com>
In-Reply-To: <9727779.19530802.1391577571079.JavaMail.root@redhat.com>
Subject: pcp-gui updates: gadgets (WIP)
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp-gui updates: gadgets (WIP)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.12]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pcp-gui updates: gadgets (WIP)
Thread-Index: kjJ1DEb/sKU7Sf6kiH9IBjWLfvc1iQ==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391577900
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144853
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://oss.sgi.com/pcp/pcp-gui.git gadgets
man/man1/pmchart.1 | 2
man/man1/pmgadgets.1 | 703 ++++++++++++
man/man1/pmgcisco.1 | 124 ++
man/man1/pmgcluster.1 | 133 ++
man/man1/pmgshping.1 | 164 +++
man/man1/pmgsys.1 | 196 +++
src/gadgets/pmgadgets-args.sh | 411 +++++++
src/gadgets/pmgcisco.sh | 299 +++++
src/gadgets/pmgcluster.sh | 323 +++++
src/gadgets/pmgshping.sh | 286 ++++-
src/gadgets/pmgsys.c++ | 2296 +++++++++++++++++++++---------------------
src/gadgets/pmgsys.py | 380 ++++++
12 files changed, 4086 insertions(+), 1231 deletions(-)
commit 4cdc5a04f2713cf26c1109f9458a42f6e8857d70
Author: Nathan Scott
Date: Wed Feb 5 16:17:04 2014 +1100
Rewrite the pmgsys application in python
pmgsys was originally written as a C++ program, which made a
number of things painful (esp. tweaking and extending it).
Since we can now use the PMAPI in python tools, rewriting it
was relatively straight forward.
Biggest missing thing from this first iteration is the logic
to group disks by their controllers. This is non-trivial in
Linux (cmp IRIX, where the block device driver helps no end)
as we do not have this mapping readily available.
We may want to generalise this mapping concept too - e.g.
some people may wish to show the partitions/disks mapping,
others may be interested in mapping NUMA nodes to the CPUs
they contain (drawing lines to link 'em). Some interesting
potential anyway, and using python hopefully will encourage
experimentation in this area.
commit 4f991f583338e74b43cb9c0e19fad3a521aefda6
Author: Nathan Scott
Date: Wed Feb 5 16:07:51 2014 +1100
Resolve symlink security vulnerabilities in gadgets scripts
Nest tmp files under mktemp subdirs, as was done a couple of
years ago in all other PCP scripts. Previously these scripts
manipulated predictable files in /tmp allowing for symlink
race vulnerabilities.
commit 038972e5590f7d7c29218ab69aa92ba121ffff5e
Author: Nathan Scott
Date: Wed Feb 5 15:53:08 2014 +1100
Import pmgadgets frontend code as open sourced by SGI in Feb 2009.
commit 887b5549708d95b89c7ac37e32df743a9949ff2f
Author: Nathan Scott
Date: Wed Feb 5 15:08:48 2014 +1100
Fix a teensy man page typo in pmchart.1
From bounce@bbsbusiness.com Wed Feb 5 18:39:10 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: *
X-Spam-Status: No, score=1.7 required=5.0 tests=DATE_IN_PAST_06_12,
HTML_MESSAGE autolearn=no version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 1B2EF7F54
for ; Wed, 5 Feb 2014 18:39:10 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 9EBCBAC003
for ; Wed, 5 Feb 2014 16:39:09 -0800 (PST)
X-ASG-Debug-ID: 1391647142-04bdf0121e16ba10001-S8gJnT
Received: from www.planinnova.com (mail2.planinnova.com [188.94.13.45]) by cuda.sgi.com with ESMTP id Q3E4z3G5BreOL0yb for ; Wed, 05 Feb 2014 16:39:02 -0800 (PST)
X-Barracuda-Envelope-From: bounce@bbsbusiness.com
X-Barracuda-Apparent-Source-IP: 188.94.13.45
Received: from www.portalaican.com ([192.168.1.44]) by www.planinnova.com with Microsoft SMTPSVC(7.0.6002.18264);
Thu, 6 Feb 2014 01:38:30 +0100
To: pcp@oss.sgi.com
Subject: =?UTF-8?B?Q29uc3VsdG9yIGRlIEVtcHJlc2EgQ2VydGlmaWNhZG8gU0dFIDkwMCB8IENvbXBldGVuY2lhLCBDYXBhY2lkYWQsIExlZ2l0aW1pZGFkIFByb2Zlc2lvbmFsIHkgUmVjb25vY2ltaWVudG8gfCBQcm9ncmFtYSBkZSBDZXJ0aWZpY2FjacOzbiBPZmljaWFs?=
Message-ID:
X-ASG-Orig-Subj: =?UTF-8?B?Q29uc3VsdG9yIGRlIEVtcHJlc2EgQ2VydGlmaWNhZG8gU0dFIDkwMCB8IENvbXBldGVuY2lhLCBDYXBhY2lkYWQsIExlZ2l0aW1pZGFkIFByb2Zlc2lvbmFsIHkgUmVjb25vY2ltaWVudG8gfCBQcm9ncmFtYSBkZSBDZXJ0aWZpY2FjacOzbiBPZmljaWFs?=
Date: Wed, 05 Feb 2014 14:56:11 +0100
From: "Plan Innova"
Reply-To: informacion@planinnova.com
MIME-Version: 1.0
X-Mailer-LID: 115
List-Unsubscribe:
X-Mailer-RecptId: 11235106
X-Mailer-SID: 314
x-job: www_portalaican_com-12581
X-Mailer-Sent-By: 3
Content-Type: multipart/alternative; charset="UTF-8"; boundary="b1_3d0108be3fd637da74962b0a461d7e8e"
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 06 Feb 2014 00:38:30.0027 (UTC) FILETIME=[C1B3E5B0:01CF22D3]
X-Barracuda-Connect: mail2.planinnova.com[188.94.13.45]
X-Barracuda-Start-Time: 1391647142
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 1.11
X-Barracuda-Spam-Status: No, SCORE=1.11 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=DATE_IN_PAST_06_12, DATE_IN_PAST_06_12_2, HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144878
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date
0.00 HTML_MESSAGE BODY: HTML included in message
1.10 DATE_IN_PAST_06_12_2 DATE_IN_PAST_06_12_2
--b1_3d0108be3fd637da74962b0a461d7e8e
Content-Type: text/plain; format=flowed; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Esta información contiene imágenes, si no puedes verlas pulsa
aquÃ
[http://www.portalaican.com/mmd/display.php?M=11235106&C=b95409fc5f5593c179ab83c2faffc7ad&S=314&L=115&N=221]
Programa de Certificación Oficial por la Norma Referencial
Internacional SGE 900
Consultor de Empresa Certificado SGE 900
El mayor reconocimiento en el mercado a nivel internacional
SGE 900, mucho más que un sello o un tÃtulo.
Un instrumento de Trabajo de Alto Valor Añadido para obtener
mayor reconocimiento y retribución profesional.
Dirigido a todos aquellos profesionales dedicados a la
consultorÃa y a nuevos profesionales que deseen dedicarse a este
área de actividad, aportándoles las competencias, criterios de
realización, instrumentos y destrezas necesarios para desarrollar
su actividad.
El Consultor de Empresa Certificado SGE 900 es un profesional
cualificado y acreditado que ofrece servicios contrastados de
asesoramiento profesional a gerentes, empresas y profesionales
ayudándoles a alcanzar sus objetivos, realizando actividades de
planificación, organización, gestión, control y mejora que
optimizan e incrementan la Calidad de los procesos crÃticos de
negocio en los diferentes niveles. Con el objetivo de contribuir
significativamente a la Excelencia en los Resultados
determinantes para la consolidación y Crecimiento de las empresas
Un programa que te aporta:
- Competencia
Disponer de Conocimientos, Criterios de Realización y Destrezas
sobre los requerimientos reconocidos internacionalmente en el
ejercicio profesional
- Capacidad
Disponer de los recursos y medios tecnológicos, materiales e
inmateriales para aplicar las competencias
- Legitimidad Profesional
Obtenida gracias a la transparencia, seguridad, Imparcialidad y
objetividad del proceso de Certificación
Evaluación de conocimientos, criterios de realización y destrezas
por auditor competente independiente que evidencia la competencia
para el ejercicio profesional
- Reconocimiento
Mayor reconocimiento internacional a todas las partes implicadas
de la competencia, capacidad y legitimidad profesional
Certificado Expedido por entidad certificadora acreditada con
reconocimiento en 62 paÃses
Quiero información para participar en el Programa
[http://www.portalaican.com/mmd/link.php?M=11235106&N=314&L=483&F=T]
Telefono: 902 11 45 07 - Email: info@planinnova.com
Plan Innova es un Clúster de Innovación promovido por Best
Business Service. De conformidad con lo dispuesto en la Ley
Orgánica 15/1999, de Protección de Datos Personales, le
informamos que su dirección de email forma parte de un fichero
informático propiedad de Best Business Service, cuya finalidad
es servir como soporte de información a la gestión fiscal,
administrativa, comercial y contable, asà como para acciones de
divulgación, información y promoción; pudiendo ejercer en
cualquier momento sus derechos de acceso, rectificación,
oposición y cancelación dirigiéndose por vÃa e-mail a
info@bbsbusiness.com, manifestando su voluntad al respecto.
Si no desea recibir más este boletÃn de noticias pulse aquÃ
[http://www.portalaican.com/mmd/unsubscribe.php?M=11235106&C=b95409fc5f5593c179ab83c2faffc7ad&L=115&N=314]
--b1_3d0108be3fd637da74962b0a461d7e8e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Esta
información contiene imágenes, si no puedes verlas pulsa aquí
| Programa de Certificación
Oficial por la Norma Referencial Internacional SGE 900 |
 |
Consultor de Empresa Certificado SGE 900
El mayor reconocimiento en el mercado a nivel
internacional
|
|
| |
SGE 900, mucho más que un sello o un
título.
Un instrumento de Trabajo de Alto Valor Añadido
para obtener mayor reconocimiento y retribución
profesional.
Dirigido a
todos aquellos profesionales dedicados a la consultoría y a nuevos
profesionales que deseen dedicarse a este área de actividad,
aportándoles las competencias, criterios de realización,
instrumentos y destrezas necesarios para desarrollar su
actividad.
El
Consultor de Empresa Certificado SGE 900 es un profesional cualificado y
acreditado que ofrece servicios contrastados de asesoramiento
profesional a gerentes, empresas y profesionales ayudándoles a
alcanzar sus objetivos, realizando actividades de planificación,
organización, gestión, control y mejora que optimizan e
incrementan la Calidad de los procesos críticos de negocio en los
diferentes niveles. Con el objetivo de contribuir significativamente a la
Excelencia en los Resultados determinantes para la consolidación y
Crecimiento de las empresas.
|
|
Un programa
que te aporta:
Competencia
Disponer
de Conocimientos, Criterios de Realización y Destrezas sobre los
requerimientos reconocidos internacionalmente en el ejercicio
profesional
Capacidad
Disponer
de los recursos y medios tecnológicos, materiales e inmateriales
para aplicar las competencias
Legitimidad Profesional
Obtenida
gracias a la transparencia, seguridad, Imparcialidad y objetividad del
proceso de Certificación
- Evaluación de conocimientos,
criterios de realización y destrezas por auditor competente
independiente que evidencia la competencia para el ejercicio
profesional
Reconocimiento
Mayor
reconocimiento internacional a todas las partes implicadas de la
competencia, capacidad y legitimidad profesional
- Certificado Expedido por entidad
certificadora acreditada con reconocimiento en 62
países
|
|
|
|
Telefono: 902 11 45 07 - Email:
info@planinnova.com
|
|
| Plan Innova es un Clúster de
Innovación promovido por Best Business Service. De conformidad
con lo dispuesto en la Ley Orgánica 15/1999, de Protección de
Datos Personales, le informamos que su dirección de email forma
parte de un fichero informático propiedad de Best Business Service,
cuya finalidad es servir como soporte de información a la
gestión fiscal, administrativa, comercial y contable, así
como para acciones de divulgación, información y
promoción; pudiendo ejercer en cualquier momento sus derechos de
acceso, rectificación, oposición y cancelación
dirigiéndose por vía e-mail a info@bbsbusiness.com,
manifestando su voluntad al respecto. |
| Si no desea recibir más este boletín de
noticias pulse aquí |
--b1_3d0108be3fd637da74962b0a461d7e8e--
From fche@redhat.com Wed Feb 5 20:00:39 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 9A1967F54
for ; Wed, 5 Feb 2014 20:00:39 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 7E18230406B
for ; Wed, 5 Feb 2014 18:00:39 -0800 (PST)
X-ASG-Debug-ID: 1391652035-04cb6c6de115d2c0001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id TbS6mNE6g2PJIBD4 for ; Wed, 05 Feb 2014 18:00:35 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s1620Y8e008776
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
for ; Wed, 5 Feb 2014 21:00:34 -0500
Received: from fche.csb (vpn-234-16.phx2.redhat.com [10.3.234.16])
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s1620X0g018120
for ; Wed, 5 Feb 2014 21:00:34 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 2A48F58182; Wed, 5 Feb 2014 21:00:33 -0500 (EST)
To: pcp@oss.sgi.com
Subject: Re: pmmgr pmlogger default behaviour
References: <2108905700.15892281.1391033827018.JavaMail.root@redhat.com>
<1583484726.15908616.1391037005341.JavaMail.root@redhat.com>
<20140130181134.GA7584@redhat.com>
<1178788786.16735370.1391119719356.JavaMail.root@redhat.com>
X-ASG-Orig-Subj: Re: pmmgr pmlogger default behaviour
From: fche@redhat.com (Frank Ch. Eigler)
Date: Wed, 05 Feb 2014 21:00:32 -0500
In-Reply-To: <1178788786.16735370.1391119719356.JavaMail.root@redhat.com> (Nathan Scott's message of "Thu, 30 Jan 2014 17:08:39 -0500 (EST)")
Message-ID:
User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1391652035
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi -
>> What kinds of file corruption can one expect to deal with on modern
>> systems, that would affect these files so badly? Do we want to be in
>> the storage-safety department just on their account?
>
> Oh all manner of corruption - and using a wide umbrella there for
> "corruption", covering accidentally overwriting the start of a file
> (which, bizarrely, happens more than I'd expect); fat-fingers on
> sysadmins - accidental file removal;
Considering that the pcp log/archive files are world-readable, there
is little reason for a privileged user to be poking around in the
directories. Fat-fingered sysadmins are in a class of risk that is
better served with backups or limited accounts, not inconveniencing
ordinary users.
> system crash with no data flush - tail of the file corruption, etc,
> etc. The last one is the most common, I think. [...]
The inputs to merging are cleaned up by pmmgr only after the merging
processes successfully complete. If that completion is premature in
your sense, then we must add an fsync()-equivalent into the various
archive-generating tools at their exit/close time. This is
independent of pmmgr.
>> [...] I know of no modern file processing tool that deliberately
>> slices up its own data, just to protect it from unspecified
>> hypothetical breakage.
> For example all modern filesystems do this sort of thing - putting
> multiple copies of critical data structures all over the place, and
> going to great lengths to keep them at arms length from each other
> for recovery purposes
We weren't talking about replicating or checksumming, which we don't
do ourselves. We were talking about artificially slicing up data,
hoping to isolate damage to individual chunks. Not many filesystems
do this, to my knowledge; in fact many deliberately put related data
(inodes+blocks/directory-entries) as close to each other as practical
for speed. Databases don't do this either AFAIK - they assume
reliable storage. I'm also unaware of analogous system-log-type data
being cut up this way specifically against fat-fingered sysadmins.
> There is a huge difference between losing one days worth of data vs
> two weeks+. The + is because current pmmgr scheme loses more and
> more data as the collection period is increased, whereas thats not
> the case for pmlogger_daily.
No, the pmmgr scheme "loses" (present tense?!) no data: pmmgr instead
preserves data in its original form in case of errors. What can lose
data are hypothetical manual administrative interference or
hardware/OS failures, both of which are non-pcp-specific and thus have
traditional procedures to deal with.
> [...] Something else that just occurred to me is that the pmmgr
> model of changing *every single archive* involved, *every single
> day* further increases the loss risk. [...]
No, pmmgr does not "change" archives in the sense of rewriting or
modifying them. pmmgr's "pmlogmerge" option creates *new ones*. The
extra disk I/O does represent additional I/O but not casual corruption
risk. (If one cannot trust one's kernel to write new files of a
hundred megabytes once a day, without losing parts, one needs to
switch to linux. :-)
This thread hardly acknowledged the fact that there is a trade-off
being discussed here. The positive side is that merging makes it easy
for a PCP user to use the data. She doesn't have to remember how to
splice it together; to play with multiple -a options or
comma-separated -a suboptions; or clumsy gui dialog boxes; or manual
pmlogextract steps. It's already in one convenient chunk for instant
gratification. It's as close to "grand-unified" as we can get to today.
I believe there is value in making convenient defaults new PCP users.
It's the defaults of a new tool we're talking about, not changing the
behaviors of the ones that established installations have gotten
accustomed to (and are quite capable of overriding defaults). In that
context, let's not be afraid to experiment with more sophisticated
defaults in the future too, as long as they maximize new-user utility.
- FChE
From nscott@redhat.com Thu Feb 6 03:59:22 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 7F1DE7F53
for ; Thu, 6 Feb 2014 03:59:22 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id 2887A8F804B
for ; Thu, 6 Feb 2014 01:59:19 -0800 (PST)
X-ASG-Debug-ID: 1391680757-04bdf0121f17b7e0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id jVLKptU66m9VRLjn for ; Thu, 06 Feb 2014 01:59:17 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s169xG47031580;
Thu, 6 Feb 2014 04:59:16 -0500
Date: Thu, 6 Feb 2014 04:59:16 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: "Frank Ch. Eigler"
Cc: pcp@oss.sgi.com
Message-ID: <1557539857.20737008.1391680756568.JavaMail.root@redhat.com>
In-Reply-To:
References: <2108905700.15892281.1391033827018.JavaMail.root@redhat.com> <1583484726.15908616.1391037005341.JavaMail.root@redhat.com> <20140130181134.GA7584@redhat.com> <1178788786.16735370.1391119719356.JavaMail.root@redhat.com>
Subject: Re: [pcp] pmmgr pmlogger default behaviour
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] pmmgr pmlogger default behaviour
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.12]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pmmgr pmlogger default behaviour
Thread-Index: QE5AfEkyT7VS8o6v0MFCmRLuTm5UvA==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391680757
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144887
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hi Frank,
Phew, this one is going on and on too. Onward...
----- Original Message -----
> ...
> No, pmmgr does not "change" archives in the sense of rewriting or
> modifying them. pmmgr's "pmlogmerge" option creates *new ones*. The
*nod* I understand what its doing, my choice of words in "change" was
poor, sorry. What I meant was at the end of that pmlogmerge every
single byte in the (new) wun beeg log is different to what was in the
file of the same name on the day before.
Same data at different offsets == different data to backup tools, cp,
whatever is reading it. This is very important - in fact, I can't
think of any example of a log-file-tool that behaves this way (chops
off the start and adds to the end of a data stream, then writes out the
entire data stream, every day for all of recorded history)? Always, in
the ones I can think of, they use rotation to a new file and only the
most recently written data is ever in-flight.
[ sar, argus, syslog, log4j, pcp ... examples of the more regular style
of log rotation from the production environments I know - none ever
write the entire contents of the file since recording begins, each and
every day ]
> This thread hardly acknowledged the fact that there is a trade-off
> being discussed here. The positive side is that merging makes it easy
Well, in my defence, that's not really true - my exact words were:
"There are advantages & disadvantages to this. The advantage is we
get a single archive (well, except for todays data) which means the
tools can directly operate on more than a single days worth of data.
And that is great!!!"
Count 'em - that's three exclamation marks! It really is great!!!
So, I understand full well this advantage and did acknowledge it,
honest! Conversely, there's been no acknowledgement that there
are zero advantages to wun-beeg-log should libpcp be extended to
support transparent multi-archives, as is planned. Zero. None.
Nada. Zip.
Anyway - I was convinced then, and am increasingly convinced, that
the disadvantages far, far outweigh that one advantage. Don't get
me wrong - initially I thought this was a great feature too! But
then the subtle issues started to dawn.
I must not have explained my concerns well. Let me try a different
tack using a real (really real, not some hypothetical) production
example from a real system serving a small-medium-size web presence.
Within one data centre we'd typically use the centralised logging
setup as laid out in the book. A logger server with roughly 20-30
hosts being logged close by it (same rack, or pair of racks), all
closely co-operating hosts so often need to be analysed together.
Each host would have a daily log size in the order of 100-200MB
depending on its function (well instrumented applications, so much
bigger logs there). Its critical performance data, losing it is bad,
bad news (KPI reports that customers see are driven by this, not to
mention regular problem analysis and fire-fighting) but at the same
time we cannot be putting more than a minimal load on all systems
under observation (including the logger host: resources are tight!).
So, at least twenty hosts * 100MB per day, often alot more. Merging
logs for 1 day of that size is not a problem, any host can do it (i.e.
no special memory/storage configuration needed). And the length of
time we retain data for has no impact on this, the default PCP setup.
Now, lets imagine the logger host begins using a wun beeeeg log model.
>100MB * 14 days == >1GB per host in steady state (so after the first
14 days, we need to manage merging this amount of data every day for
every host). The log merging for all 20 hosts happens around the same
time (it needs to, out of business hours), so while we're merging the
>20GB worth of data (i.e. read(2) >20GB into the page cache, write(2)
it out to a new file with todays data appended, but the earliest day
removed) - 20GB clean data, another 20GB dirty to the new file;
=> significant page cache pressure, significant read and write I/O;
=> significant impact on this system.
Now we have >20GB of dirty data to writeout. That data is all dirty
and it covers everything we have logged to date, if we lose it we are
toast. As an aside - yet another subtle problem - note here that our
merging efforts require *twice* as much ondisk space to hold all the
data for the temporary merge file (which becomes the new file in the
end) alongside the existing data - temporarily, but still need that
space.
Anyway, there's a big window in there where all of our data (and the
metadata about our data) is in-flux. We are at hugely increased risk
no matter how you slice and dice this (yes, can reduce the risk with
fsyncs, but its not entirely removed). TBH, its hard to conjure up
a worse I/O pattern than we have created for ourselves here. OTOH,
the other scheme is near-optimal - no merging at all if there's just
the one log, which is the typical case (ie no pmcd/pmlogger restarts
on that day), otherwise only small amounts of I/O of the latest data.
Now, extend - consider those folks who think "hey, a 2 weeks default is
not for me, I want to keep 2 months worth of data here". Extend again,
20 hosts? Bah, I need 120 hosts for this upcoming launch of a product.
So, the behaviour of the wun-beeg-log scheme gets worse and worse - in
every way I can think of. Storage, memory, potential data loss - we
even manage to burn more CPU time merging, every day, than we used to.
> for a PCP user to use the data. She doesn't have to remember how to
> splice it together; to play with multiple -a options or
> comma-separated -a suboptions; or clumsy gui dialog boxes; or manual
> pmlogextract steps. It's already in one convenient chunk for instant
> gratification. It's as close to "grand-unified" as we can get to today.
That's not the case - one could set up a daily task that creates a
summary-style archive, taking the most important metrics from the daily
logs each day, and producing one merged archive from them to summarise
the last week or month. Using existing tools - people do this sort of
thing. But, we have better plans for the future, lets keep attacking
those.
> I believe there is value in making convenient defaults new PCP users.
*nod*, certainly.
> It's the defaults of a new tool we're talking about, not changing the
> behaviors of the ones that established installations have gotten
> accustomed to (and are quite capable of overriding defaults). In that
> context, let's not be afraid to experiment with more sophisticated
> defaults in the future too, as long as they maximize new-user utility.
My main fear here is for the data loss this scheme will induce. But
there are many other fears too - both Ken and I listed several more.
So there's no fear of experimentation - its welcome and a wonderful
thing. But with that experimentation we need to reflect after each
experiment, and see what has worked well and what hasn't ... in this
case we need to change the defaults to provide an acceptable level
of data safety (amongst other things), and move on to addressing the
remaining challenges in novel and exciting ways.
Both Ken and I have now independently advised this is not a good default
setting, I think the case has been well made and is compelling - please
can you look into changing it for the next release? (I'm happy to have
the option still there, personally, though perhaps others are not? Good
for running experiments and for folks who understand the risks and trade
offs involved - but not switched on by default). Thanks!!
cheers.
--
Nathan
From fche@redhat.com Thu Feb 6 07:32:27 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 78A6E7F54
for ; Thu, 6 Feb 2014 07:32:27 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 0D374AC005
for ; Thu, 6 Feb 2014 05:32:26 -0800 (PST)
X-ASG-Debug-ID: 1391693542-04bdf012201841e0001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 1byce28vZr4THB3l for ; Thu, 06 Feb 2014 05:32:22 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s16DWL8n019567
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
for ; Thu, 6 Feb 2014 08:32:22 -0500
Received: from fche.csb (vpn-234-16.phx2.redhat.com [10.3.234.16])
by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s16DWLsM008403;
Thu, 6 Feb 2014 08:32:21 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 57266580FA; Thu, 6 Feb 2014 08:32:20 -0500 (EST)
Date: Thu, 6 Feb 2014 08:32:20 -0500
From: "Frank Ch. Eigler"
To: Nathan Scott
Cc: pcp@oss.sgi.com
Subject: Re: [pcp] pmmgr pmlogger default behaviour
Message-ID: <20140206133220.GC5017@redhat.com>
X-ASG-Orig-Subj: Re: [pcp] pmmgr pmlogger default behaviour
References: <2108905700.15892281.1391033827018.JavaMail.root@redhat.com> <1583484726.15908616.1391037005341.JavaMail.root@redhat.com> <20140130181134.GA7584@redhat.com> <1178788786.16735370.1391119719356.JavaMail.root@redhat.com> <1557539857.20737008.1391680756568.JavaMail.root@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1557539857.20737008.1391680756568.JavaMail.root@redhat.com>
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1391693542
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi -
> [ sar, argus, syslog, log4j, pcp ... examples of the more regular
> style of log rotation from the production environments I know - none
> ever write the entire contents of the file since recording begins,
> each and every day ]
What some of those have in common is that they include no suite of
processing tools for analyzing the rich data again. Sysadmins are
stuck with manual identification of the slices and/or plain
per-file/line text search tools. Contrast to fancier analysis tools
like splunk/chainsaw/journald, that integrate. We should grasp toward
the latter.
> [...] Conversely, there's been no acknowledgement that there are
> zero advantages to wun-beeg-log should libpcp be extended to support
> transparent multi-archives, as is planned. [...]
The defaults today are only for the state of the software today.
> [...]
> I must not have explained my concerns well. Let me try a different
> tack using a real (really real, not some hypothetical) production
> example from a real system serving a small-medium-size web presence.
>
> Within one data centre we'd typically use the centralised logging
> setup as laid out in the book. A logger server with roughly 20-30
> hosts being logged [...]
The scaling stories are interesting and compelling. But our pmmgr
defaults log exactly one host, local:. (pmmgr, like the other pcp
daemons, probably aren't even enabled by default!) The moment you're
talking about 20-30 hosts being logged, you've left the realm of
the defaults entirely.
No one has asserted that all defaults are appropriate for much larger
scales. On the contrary, I have been emphasizing the tautology that
people who run non-default setups will need to use non-default settings.
> > [...] She doesn't have to remember how to splice it together; to
> > play with multiple -a options or comma-separated -a suboptions; or
> > clumsy gui dialog boxes; or manual pmlogextract steps. It's
> > already in one convenient chunk for instant gratification. It's
> > as close to "grand-unified" as we can get to today.
> That's not the case - one could set up a daily task that creates a
> summary-style archive, taking the most important metrics from the
> daily logs each day, and producing one merged archive from them to
> summarise the last week or month. [...]
Yes, and this is not a counterexample! We don't provide such a daily
task, so you're in effect asking the new-to-PCP person to invent one.
> [...] My main fear here is for the data loss this scheme will
> induce. [...]
I hope I have cleared up tangible data-loss related worries in detail.
If there is data loss risk today, one'd be caused by the lack of
fsync()'s, which affects the whole suite. I'll work on that
immediately. And I'll work on adding more pmmgr log-management
options with different performance/utility tradeoffs (but all safe
from data loss).
- FChE
From minnus@buffalo.edu Thu Feb 6 09:08:28 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 85CB47F54
for ; Thu, 6 Feb 2014 09:08:28 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 0A568AC001
for ; Thu, 6 Feb 2014 07:08:24 -0800 (PST)
X-ASG-Debug-ID: 1391699300-04cbb00c2b171750001-S8gJnT
Received: from mtareserve1.acsu.buffalo.edu (mtareserve5.acsu.buffalo.edu [128.205.6.3]) by cuda.sgi.com with ESMTP id xExC5rxSETIvl73z for ; Thu, 06 Feb 2014 07:08:20 -0800 (PST)
X-Barracuda-Envelope-From: minnus@buffalo.edu
X-Barracuda-Apparent-Source-IP: 128.205.6.3
Received: from localmailA.acsu.buffalo.edu (localmaila.acsu.buffalo.edu [128.205.5.196])
by mtareserve1.acsu.buffalo.edu (Postfix) with ESMTP id 46FEC108D
for ; Thu, 6 Feb 2014 10:08:20 -0500 (EST)
Received: from localmailA.acsu.buffalo.edu (localhost [127.0.0.1])
by localhost (Postfix) with SMTP id 43342107D2
for ; Thu, 6 Feb 2014 10:08:20 -0500 (EST)
Received: from localmailA.acsu.buffalo.edu (localhost [127.0.0.1])
by localmailA.acsu.buffalo.edu (Postfix) with ESMTP id E2BA5107C9
for ; Thu, 6 Feb 2014 10:08:19 -0500 (EST)
Received: from smtp.buffalo.edu (smtp3.acsu.buffalo.edu [128.205.5.226])
by localmailA.acsu.buffalo.edu (Prefixe) with ESMTP id DE209107C8
for ; Thu, 6 Feb 2014 10:08:19 -0500 (EST)
Received: from [128.205.28.209] (slash.eng.buffalo.edu [128.205.28.209])
(Authenticated sender: minnus@buffalo.edu)
by smtp.buffalo.edu (Postfix) with ESMTPSA id D31C89C5A
for ; Thu, 6 Feb 2014 10:08:19 -0500 (EST)
Message-ID: <52F3A564.4060007@buffalo.edu>
Date: Thu, 06 Feb 2014 10:08:20 -0500
From: Martins Innus
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: pcp@oss.sgi.com
Subject: nfsclient pmda
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-ASG-Orig-Subj: nfsclient pmda
Content-Transfer-Encoding: 7bit
X-PM-EL-Spam-Prob: : 8%
X-Barracuda-Connect: mtareserve5.acsu.buffalo.edu[128.205.6.3]
X-Barracuda-Start-Time: 1391699300
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA717
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144892
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_SA717 Custom Rule BSF_SC0_SA717
Hello,
Was the nfsclient pmda referenced here:
http://oss.sgi.com/archives/pcp/2011-10/msg00029.html
ever integrated? If not, does anyone have a pointer to get the most
recent version if its available?
Thanks
Martins
From nscott@redhat.com Thu Feb 6 17:19:41 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 8B40C7F51
for ; Thu, 6 Feb 2014 17:19:41 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id 53E3C8F8052
for ; Thu, 6 Feb 2014 15:19:38 -0800 (PST)
X-ASG-Debug-ID: 1391728773-04bdf0122019d3f0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id OkcNyWLxVjnW4fin for ; Thu, 06 Feb 2014 15:19:33 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s16NJV3Q019919;
Thu, 6 Feb 2014 18:19:32 -0500
Date: Thu, 6 Feb 2014 18:19:31 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Martins Innus
Cc: pcp@oss.sgi.com
Message-ID: <1469416634.21700255.1391728771761.JavaMail.root@redhat.com>
In-Reply-To: <52F3A564.4060007@buffalo.edu>
References: <52F3A564.4060007@buffalo.edu>
Subject: Re: [pcp] nfsclient pmda
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] nfsclient pmda
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: nfsclient pmda
Thread-Index: N3FFuRV2BD8wlcbvCSZCSHb0ClPSvQ==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391728773
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144901
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Hi Martins,
----- Original Message -----
> Hello,
> Was the nfsclient pmda referenced here:
>
> http://oss.sgi.com/archives/pcp/2011-10/msg00029.html
>
> ever integrated? If not, does anyone have a pointer to get the most
> recent version if its available?
It was not merged. IIRC, Max had some review comments and questions
that I don't think were tackled - now that I re-read he did suggest
"could be useful to get this pmda into the official tree but not
include it into the packages just yet."
which I failed to follow up on, I got distracted by the rest of the
thread most likely.
There have been several advances since that post too - the perl API
grew support for the pmdaCache routines that Max talks about there.
Also, python became an option for PMDAs in the interim - if someone
is keen to pick up those review comments and hack on this further,
might be worth considering that aspect too (python, too, can use the
pmdaCache APIs). An automated test to exercise the logic would be
a welcome addition as well (e.g. qa/553 "Exercise the gluster PMDA"
would make a good reference there).
So, you guide me - would it be helpful in the tree and not packaged
as Max suggested?
From nscott@redhat.com Thu Feb 6 17:52:30 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 554D97F51
for ; Thu, 6 Feb 2014 17:52:30 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id 298B9304032
for ; Thu, 6 Feb 2014 15:52:29 -0800 (PST)
X-ASG-Debug-ID: 1391730748-04bdf0121e19e140001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id nhhG2dUTkiJLAfOS for ; Thu, 06 Feb 2014 15:52:28 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s16NqQOa025475;
Thu, 6 Feb 2014 18:52:27 -0500
Date: Thu, 6 Feb 2014 18:52:26 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Martins Innus
Cc: pcp@oss.sgi.com
Message-ID: <415441515.21704894.1391730746823.JavaMail.root@redhat.com>
In-Reply-To: <1469416634.21700255.1391728771761.JavaMail.root@redhat.com>
References: <52F3A564.4060007@buffalo.edu> <1469416634.21700255.1391728771761.JavaMail.root@redhat.com>
Subject: Re: [pcp] nfsclient pmda
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] nfsclient pmda
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: nfsclient pmda
Thread-Index: N3FFuRV2BD8wlcbvCSZCSHb0ClPSvV7dF9RT
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391730748
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144902
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Hi Martinns,
Forgot to mention - I chatted briefly to Ben on IRC today - he
believes that is the most recent version of the code (the series
posted back then), so that'd be the best spot to start I guess.
cheers.
--
Nathan
From minnus@buffalo.edu Thu Feb 6 20:17:09 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=MIME_QP_LONG_LINE
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id C7E077F51
for ; Thu, 6 Feb 2014 20:17:09 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 645F9AC002
for ; Thu, 6 Feb 2014 18:17:06 -0800 (PST)
X-ASG-Debug-ID: 1391739421-04bdf012201a1d60001-S8gJnT
Received: from mtareserve1.acsu.buffalo.edu (mtareserve5.acsu.buffalo.edu [128.205.6.3]) by cuda.sgi.com with ESMTP id WUXuW2Kdh38Gx7kG for ; Thu, 06 Feb 2014 18:17:01 -0800 (PST)
X-Barracuda-Envelope-From: minnus@buffalo.edu
X-Barracuda-Apparent-Source-IP: 128.205.6.3
Received: from localmailD.acsu.buffalo.edu (localmaild.acsu.buffalo.edu [128.205.5.208])
by mtareserve1.acsu.buffalo.edu (Postfix) with ESMTP id 3B3FC10A4;
Thu, 6 Feb 2014 21:17:01 -0500 (EST)
Received: from localmailD.acsu.buffalo.edu (localhost [127.0.0.1])
by localhost (Postfix) with SMTP id 327C9C48B;
Thu, 6 Feb 2014 21:17:01 -0500 (EST)
Received: from localmailD.acsu.buffalo.edu (localhost [127.0.0.1])
by localmailD.acsu.buffalo.edu (Postfix) with ESMTP id 722A5C483;
Thu, 6 Feb 2014 21:17:00 -0500 (EST)
Received: from smtp.buffalo.edu (smtp4.acsu.buffalo.edu [128.205.5.229])
by localmailD.acsu.buffalo.edu (Prefixe) with ESMTP id 5CF25C482;
Thu, 6 Feb 2014 21:17:00 -0500 (EST)
Received: from [10.0.1.3] (cpe-69-204-8-250.buffalo.res.rr.com [69.204.8.250])
(Authenticated sender: minnus@buffalo.edu)
by smtp.buffalo.edu (Postfix) with ESMTPSA id 36A31A59F;
Thu, 6 Feb 2014 21:17:00 -0500 (EST)
References: <52F3A564.4060007@buffalo.edu> <1469416634.21700255.1391728771761.JavaMail.root@redhat.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <1469416634.21700255.1391728771761.JavaMail.root@redhat.com>
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id:
Cc: "pcp@oss.sgi.com"
X-Mailer: iPhone Mail (11B554a)
From: Martins Innus
Subject: Re: [pcp] nfsclient pmda
Date: Thu, 6 Feb 2014 21:16:58 -0500
X-ASG-Orig-Subj: Re: [pcp] nfsclient pmda
To: Nathan Scott
X-PM-EL-Spam-Prob: XX: 28%
X-Barracuda-Connect: mtareserve5.acsu.buffalo.edu[128.205.6.3]
X-Barracuda-Start-Time: 1391739421
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.82
X-Barracuda-Spam-Status: No, SCORE=0.82 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=MIME_QP_LONG_LINE, MIME_QP_LONG_LINE_2
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144905
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars
0.82 MIME_QP_LONG_LINE_2 RAW: Quoted-printable line longer than 76 chars
Nathan,
Yes that would be great to get it in the tree. We are very interested in t=
hese metrics and would look at getting it up and running.
Thanks!
Martins=20
> On Feb 6, 2014, at 6:19 PM, Nathan Scott wrote:
>=20
> Hi Martins,
>=20
> ----- Original Message -----
>> Hello,
>> Was the nfsclient pmda referenced here:
>>=20
>> http://oss.sgi.com/archives/pcp/2011-10/msg00029.html
>>=20
>> ever integrated? If not, does anyone have a pointer to get the most
>> recent version if its available?
>=20
> It was not merged. IIRC, Max had some review comments and questions
> that I don't think were tackled - now that I re-read he did suggest
>=20
> "could be useful to get this pmda into the official tree but not
> include it into the packages just yet."
>=20
> which I failed to follow up on, I got distracted by the rest of the
> thread most likely.
>=20
> There have been several advances since that post too - the perl API
> grew support for the pmdaCache routines that Max talks about there.
>=20
> Also, python became an option for PMDAs in the interim - if someone
> is keen to pick up those review comments and hack on this further,
> might be worth considering that aspect too (python, too, can use the
> pmdaCache APIs). An automated test to exercise the logic would be
> a welcome addition as well (e.g. qa/553 "Exercise the gluster PMDA"
> would make a good reference there).
>=20
> So, you guide me - would it be helpful in the tree and not packaged
> as Max suggested? =20
>=20
>=20
From nscott@redhat.com Fri Feb 7 01:25:44 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 03B817F53
for ; Fri, 7 Feb 2014 01:25:44 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id CF007304071
for ; Thu, 6 Feb 2014 23:25:40 -0800 (PST)
X-ASG-Debug-ID: 1391757935-04bdf0121d1a94d0001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id 9DczvZEZLSvaOTKY for ; Thu, 06 Feb 2014 23:25:36 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s177PZQX022972;
Fri, 7 Feb 2014 02:25:35 -0500
Date: Fri, 7 Feb 2014 02:25:35 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: "Frank Ch. Eigler"
Cc: PCP
Message-ID: <633105491.21839148.1391757935531.JavaMail.root@redhat.com>
In-Reply-To: <20140206133220.GC5017@redhat.com>
References: <2108905700.15892281.1391033827018.JavaMail.root@redhat.com> <1583484726.15908616.1391037005341.JavaMail.root@redhat.com> <20140130181134.GA7584@redhat.com> <1178788786.16735370.1391119719356.JavaMail.root@redhat.com> <1557539857.20737008.1391680756568.JavaMail.root@redhat.com> <20140206133220.GC5017@redhat.com>
Subject: Re: [pcp] pmmgr pmlogger default behaviour
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] pmmgr pmlogger default behaviour
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pmmgr pmlogger default behaviour
Thread-Index: 4zUJYw7lY83fKCtq6pmffEzheIDKog==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1391757936
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144910
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hi Frank,
Wow. I'm almost at a loss for words at this point, I was sure with
so many overwhelming reasons not to do this, that the discussion
would be over and we'd be laughing about it over a drink by now!
----- Original Message -----
>
> > [ sar, argus, syslog, log4j, pcp ... examples of the more regular
> > style of log rotation from the production environments I know - none
> > ever write the entire contents of the file since recording begins,
> > each and every day ]
>
> What some of those have in common is that they include no suite of
> processing tools for analyzing the rich data again. Sysadmins are
> stuck with manual identification of the slices and/or plain
> per-file/line text search tools. Contrast to fancier analysis tools
> like splunk/chainsaw/journald, that integrate. We should grasp toward
> the latter.
>
Again, wow. You're not really trying to convince me that any of
these read their entire history of collected data, every day, change
the data and then write it all out ... and that this is something we
should strive toward? They do not, of course - its a terrible I/O
model, in hind-sight. Yes, we want good querying mechanisms, even
better than we have, but the costs down this particular path are
prohibitive, and there are more promising paths to explore.
I'll stew on this over the weekend, and attempt to come up with some
possible directions forward for us here, seeking compromise. It feels
a bit like we're going in circles by email here now, and we need a new
tack as we're stale-mated on each others needs/concerns.
> The defaults today are only for the state of the software today.
> ...[snip fsync discussion, attempting to address one problem]...
> I'll work on that immediately.
Right - my point exactly. :)
Providing data integrity is not as simple as you're thinking, also.
fsync(2) alone is not enough to provide the guarantee you seek.
If you want to tackle this problem, lets discuss that separately -
its a great goal IMO. It is not fixable via a sprinkling of fsync
calls through code, and I would not expect it to be fixable and
tested before the next release. Trust me on this one... my spidey
sense is acute when it comes to I/O, and its in overdrive here.
> I hope I have cleared up tangible data-loss related worries in detail.
I'm not 100% certain you're following all of the subtleties
(they are subtle! so, hard to tell by email), nor the size
of the disparity between daily vs one-big-log in terms of risk.
Comments like the "affects the whole suite" and "caused by a
lack of fsync" ... it actually only affects a couple of tools
(logmerge/logextract tools, pmmgr/pmlogger_daily interaction).
This is not the "whole suite" of tools by any stretch of the
imagination.
So sadly the worries remain.
> If there is data loss risk today, one'd be caused by the lack of
> fsync()'s, which affects the whole suite.
Maybe also focussing too much on that one issue; probably because
it does concern me so much. There were many, many issues listed.
Many that I listed, and many that Ken listed. They are not things
that can be fixed quickly, if at all - reading and writing all of
the history ... requiring 2x the disk space for merging ... those
are simply not fixable problems. And there are so many of them.
> And I'll work on adding more pmmgr log-management
> options with different performance/utility tradeoffs (but all safe
> from data loss).
OK sounds good. That will certainly help - in fact, if we could list a
series of possible configurations and how to achieve each (perhaps in a
table/spreadsheet - or even go straight into a new pmmgr(1) section?),
and explicitly state the pros and cons of each ... we may all be in a
better position to choose a default we're all comfortable with then?
Everything is a bit mixed up all through the emails now, and new issues
were thought of as we worked it through - so, yeah, a central point to
focus us would be a good next step I think.
I need to set this discussion aside for a bit - eating alot of my time,
and the buglist is ever growing. Maybe we could tee up a call and talk
it all through?
cheers.
--
Nathan
From nscott@redhat.com Fri Feb 7 04:42:10 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id C13CB7F62
for ; Fri, 7 Feb 2014 04:42:10 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 3B5C5AC002
for ; Fri, 7 Feb 2014 02:42:07 -0800 (PST)
X-ASG-Debug-ID: 1391769722-04cbb00c2a1954f0001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id 9kd4dE66i0SG9ZW4; Fri, 07 Feb 2014 02:42:02 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s17AfuBK024220;
Fri, 7 Feb 2014 05:41:56 -0500
Date: Fri, 7 Feb 2014 05:41:56 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Martins Innus
Cc: pcp@oss.sgi.com, Ben Myers , Max Matveev
Message-ID: <742242243.21951337.1391769716120.JavaMail.root@redhat.com>
In-Reply-To:
References: <52F3A564.4060007@buffalo.edu> <1469416634.21700255.1391728771761.JavaMail.root@redhat.com>
Subject: Re: [pcp] nfsclient pmda
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] nfsclient pmda
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: nfsclient pmda
Thread-Index: ZCCuadqzcze4K+KYuV5zr7m2rzAzPg==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1391769722
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144913
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Hi Martins,
----- Original Message -----
> Nathan,
> Yes that would be great to get it in the tree. We are very interested in
> these metrics and would look at getting it up and running.
>
OK, its merged now and disabled from packaging pending your review,
updating, testing & so on. Good luck, and have fun!
> > There have been several advances since that post too - the perl API
> > grew support for the pmdaCache routines that Max talks about there.
> >
> > Also, python became an option for PMDAs in the interim - if someone
> > is keen to pick up those review comments and hack on this further,
> > might be worth considering that aspect too (python, too, can use the
> > pmdaCache APIs). An automated test to exercise the logic would be
> > a welcome addition as well (e.g. qa/553 "Exercise the gluster PMDA"
> > would make a good reference there).
> >
> > So, you guide me - would it be helpful in the tree and not packaged
> > as Max suggested?
> >
cheers.
--
Nathan
From nscott@redhat.com Fri Feb 7 04:48:07 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id CE9E77F56
for ; Fri, 7 Feb 2014 04:48:07 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id 9199E304084
for ; Fri, 7 Feb 2014 02:48:07 -0800 (PST)
X-ASG-Debug-ID: 1391770082-04bdf0121e1ae8a0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id ciXDHINJI3b0iodo for ; Fri, 07 Feb 2014 02:48:02 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s17Am2YX002880
for ; Fri, 7 Feb 2014 05:48:02 -0500
Date: Fri, 7 Feb 2014 05:48:02 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: PCP
Message-ID: <108188970.21953131.1391770082150.JavaMail.root@redhat.com>
In-Reply-To: <288474744.21952790.1391769999316.JavaMail.root@redhat.com>
Subject: pcp updates: bpm & fche merges
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: bpm & fche merges
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pcp updates: bpm & fche merges
Thread-Index: jWECyqn7c2QsCf2yPmHSiabu0XDZ/A==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391770082
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144913
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://oss.sgi.com/pcp/pcp.git dev
man/man1/pcpintro.1 | 3
man/man1/pmmgr.1 | 5
man/man5/pcp-archive.5 | 375 ++++++++++++++++++++++-
src/pmdas/GNUmakefile | 4
src/pmdas/nfsclient/GNUmakefile | 44 ++
src/pmdas/nfsclient/Install | 27 +
src/pmdas/nfsclient/Remove | 23 +
src/pmdas/nfsclient/pmdanfsclient.pl | 560 ++++++++++++++++++++++++++++++++++-
src/pmmgr/TODO | 4
src/pmmgr/pmmgr.cxx | 16 -
src/pmns/stdpmid.pcp | 1
11 files changed, 1025 insertions(+), 37 deletions(-)
commit 6710c9ae6ebce1d1958ff9bed55611b6d76e0059
Author: Frank Ch. Eigler
Date: Tue Feb 4 15:12:12 2014 -0500
pmmgr: note possibilities for tie-breaking between alternate pmcd paths
commit 5881ddf67d6d0d2a5c2e23d81f66ce53072f58ba
Author: Frank Ch. Eigler
Date: Mon Feb 3 11:19:53 2014 -0500
man5/pcp-archive.5: clarify archive-label magic values for .meta/.index
commit 02c1a63e038d5b531988c0aad1cb021bedd3d607
Author: Frank Ch. Eigler
Date: Fri Jan 31 15:43:33 2014 -0500
man5/pcp-archive.5: note treatment of instance-domain updates in .meta files
This is relevant to http://oss.sgi.com/bugzilla/show_bug.cgi?id=1046
commit 29754eabe7f881805d1f8727fe8737184f405e5f
Author: Frank Ch. Eigler
Date: Fri Jan 31 14:59:34 2014 -0500
man5/pm-archive.5: insignificant microtweakage
commit de85afe6582addf581d9441a6337b4010e09f12e
Author: Frank Ch. Eigler
Date: Thu Jan 30 21:50:22 2014 -0500
man5/pcp-archive.5: add some meat
commit e04fa98fc7af173e03462c71607f7ad7320f3574
Author: Frank Ch. Eigler
Date: Wed Jan 29 16:38:14 2014 -0500
man5/pcp-archive.5: the beginning
commit 1d17919107f803f90506837778126a940ae7fe61
Author: Frank Ch. Eigler
Date: Mon Jan 27 21:36:24 2014 -0500
pmmgr: new TODO
commit 15b0d90b60b95d7cf0c967702b597d628f390ebb
Author: Frank Ch. Eigler
Date: Mon Jan 27 21:34:30 2014 -0500
pmmgr: use pmSortInstances() instead of same thing open-coded locally
commit 0da976370605a9f04f3eb712dff6035eb1bc8cf1
Author: Nathan Scott
Date: Fri Feb 7 20:32:27 2014 +1100
Insert nfsclient PMDA into the build (not yet packaged)
As discussed on-list, Martinns is interested in continuing on
with Max's initial review on pmda nfsclient. Pending review,
tweaks and a QA test or two, also as discussed and originally
suggested by Max, this is built but not packaged yet.
Have fun, and a belated thank-you for the contribution Ben!
commit 447a5dba581ad1f96a9062abedc1d4f8442aecfa
Author: Ben Myers
Date: Fri Feb 7 20:28:50 2014 +1100
Add rpc operation metrics to the nfsclient pmda
The nfs client keeps per rpc operation stats. Add these to the
nfsclient pmda. Here we have only gathered the nfs v3 operations.
v2 and v4 still need to be done.
commit 72404f90b7bb2ea4b120ef23eb699daa23028b06
Author: Ben Myers
Date: Fri Feb 7 20:18:25 2014 +1100
Add transport counter metrics to the nfsclient pmda
The nfs client has some transport specific counters. Add these to the
nfsclient pmda. At this point we only gather tcp transport data.
commit 36baa2cc0e476ea2b3006cd7a6e79f1eb84bc155
Author: Ben Myers
Date: Fri Feb 7 20:17:22 2014 +1100
Add byte counter metrics to the nfsclient pmda
The nfs client has a set of byte counters that are reported via
/proc/self/mountstats. Add them to the nfs client pmda.
commit e56bfffd7d0ea3f1ae4cec7659a831c841e5861a
Author: Ben Myers
Date: Fri Feb 7 20:16:50 2014 +1100
Add event counter metrics to the nfsclient pmda
The nfs client has a set of specific event counters that are reported
via /proc/self/mountstats. Add them to the nfsclient pmda.
commit 131774551dbf194281f6122cb5f4bf50bb408f01
Author: Ben Myers
Date: Fri Feb 7 20:14:33 2014 +1100
Basic nfsclient pmda, a basic makefile, and Install/Remove scripts
From nscott@redhat.com Fri Feb 7 05:29:23 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 161F97F53
for ; Fri, 7 Feb 2014 05:29:23 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id BD04D8F8068
for ; Fri, 7 Feb 2014 03:29:19 -0800 (PST)
X-ASG-Debug-ID: 1391772557-04bdf0121e1afa00001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id kik4rzjTxj7LmAsK for ; Fri, 07 Feb 2014 03:29:17 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s17BTD9t010077;
Fri, 7 Feb 2014 06:29:13 -0500
Date: Fri, 7 Feb 2014 06:29:13 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: "Frank Ch. Eigler" , Ken McDonell
Cc: PCP
Message-ID: <2133757769.21973706.1391772553504.JavaMail.root@redhat.com>
In-Reply-To: <633105491.21839148.1391757935531.JavaMail.root@redhat.com>
References: <2108905700.15892281.1391033827018.JavaMail.root@redhat.com> <1583484726.15908616.1391037005341.JavaMail.root@redhat.com> <20140130181134.GA7584@redhat.com> <1178788786.16735370.1391119719356.JavaMail.root@redhat.com> <1557539857.20737008.1391680756568.JavaMail.root@redhat.com> <20140206133220.GC5017@redhat.com> <633105491.21839148.1391757935531.JavaMail.root@redhat.com>
Subject: Logged data integrity improvement ideas
MIME-Version: 1.0
X-ASG-Orig-Subj: Logged data integrity improvement ideas
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pmmgr pmlogger default behaviour
Thread-Index: 4zUJYw7lY83fKCtq6pmffEzheIDKor97+BeP
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391772557
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144914
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hi guys,
----- Original Message -----
> ...
>
> Providing data integrity is not as simple as you're thinking, also.
> fsync(2) alone is not enough to provide the guarantee you seek.
Have just come across commit 5a3a2494 in fche/dev, and it seems
I was too late sending this mail as the following has already
been attempted. If only the missing QA for pmmgr was tackled so
vigorously! ;) -- I would be so happy.
Anyhow...
[ git://sourceware.org/git/pcpfans.git fche/dev ]
$ git show 5a3a249497cc3e3a93495fa77b41559e8b706ab4 | diffstat
include/pcp/impl.h | 12 ++++++++++++
libpcp/src/logutil.c | 11 ++++++-----
libpcp_import/src/archive.c | 4 ++++
pmlogextract/pmlogextract.c | 5 ++++-
pmlogger/src/pmlogger.c | 12 ++++++++++--
pmloglabel/pmloglabel.c | 8 ++++----
pmlogreduce/logio.c | 2 +-
pmlogreduce/pmlogreduce.c | 4 ++++
pmlogrewrite/pmlogrewrite.c | 8 ++++++--
9 files changed, 51 insertions(+), 15 deletions(-)
["logging durability: add fsync(2) when closing log archives"]
Can you describe the testing done for this change or planned?
Also, thoughts on the impact the newly introduced latency will
have on these code paths and the tools/scripts using them? (I
haven't thought it through, so keen to hear thoughts - or any
observations/measurements so far)
If anyone has not come across it before, I'd highly recommend
an article Valerie Aurora wrote discussing fsync/rename here:
http://lwn.net/Articles/351422/
Note also the mentions she makes of performance implications,
important for us folks attempting to minimise our impact on
the observed system. There's also other subtleties discussed
on the fsync(1) man page, its well worth a careful read too -
the directory paragraph is relevant to our needs.
OK, enough for this week - will chat later.
cheers.
--
Nathan
From pevans@redhat.com Fri Feb 7 05:49:08 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id C63727F51
for ; Fri, 7 Feb 2014 05:49:08 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 51E52AC005
for ; Fri, 7 Feb 2014 03:49:05 -0800 (PST)
X-ASG-Debug-ID: 1391773744-04bdf0121f1b0270001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id DgeU9nq5clADLEue for ; Fri, 07 Feb 2014 03:49:04 -0800 (PST)
X-Barracuda-Envelope-From: pevans@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s17Bn3bD013524
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
for ; Fri, 7 Feb 2014 06:49:04 -0500
Received: from [10.36.6.238] (vpn1-6-238.ams2.redhat.com [10.36.6.238])
by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s17Bn2Lj010713;
Fri, 7 Feb 2014 06:49:03 -0500
Message-ID: <52F4C82E.1050007@redhat.com>
Date: Fri, 07 Feb 2014 11:49:02 +0000
From: Paul Evans
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
MIME-Version: 1.0
To: Nathan Scott
CC: PCP Mailing List
Subject: pmdagfs2: Updates to documentation and install script
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-ASG-Orig-Subj: pmdagfs2: Updates to documentation and install script
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1391773744
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Changes committed to git://github.com/pauljevans/pcp.git dev
man/man1/pmdagfs2.1 | 4 ++++
src/pmdas/gfs2/Install | 26 +++++++++++++++++---------
src/pmdas/gfs2/README | 7 +++++++
3 files changed, 28 insertions(+), 9 deletions(-)
commit afe3cd4ff009baebe4b011b340614ab436bd4393
Author: Paul Evans
Date: Fri Feb 7 11:32:26 2014 +0000
pmdagfs2: Update install script to check for pmcd before install
Additional checking logic in the Install script to check to see if
pmcd is running on the system before attempting to install.
commit 1152b0a6303524e84f9392c21e71fd7cdab20d9d
Author: Paul Evans
Date: Fri Feb 7 11:24:59 2014 +0000
pmdagfs2: Update documentation to improve install instructions
Updated README and the pmdagfs2.1 man page to reflect the need for pmcd
to be started and running in order to successfully be able to install
the PMDA.
Two quick updates to attend to the issues pointed out in bug 1062443 by
Andy,
Please let me know of any issues and as always feedback is welcome.
Cheers,
Paul
From fche@redhat.com Fri Feb 7 10:40:51 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id CCB0229DF8
for ; Fri, 7 Feb 2014 10:40:51 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id AFEA18F8052
for ; Fri, 7 Feb 2014 08:40:48 -0800 (PST)
X-ASG-Debug-ID: 1391791243-04cb6c6de01a2580001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id WhZkb9siEeiESnIy for ; Fri, 07 Feb 2014 08:40:44 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s17GebU9017455
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
Fri, 7 Feb 2014 11:40:38 -0500
Received: from fche.csb (vpn-234-16.phx2.redhat.com [10.3.234.16])
by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s17Gea0S012709;
Fri, 7 Feb 2014 11:40:36 -0500
Received: by fche.csb (Postfix, from userid 2569)
id ECFC35817F; Fri, 7 Feb 2014 11:40:35 -0500 (EST)
To: Nathan Scott
Cc: Ken McDonell , pcp@oss.sgi.com
Subject: Re: Logged data integrity improvement ideas
References: <2108905700.15892281.1391033827018.JavaMail.root@redhat.com>
<1583484726.15908616.1391037005341.JavaMail.root@redhat.com>
<20140130181134.GA7584@redhat.com>
<1178788786.16735370.1391119719356.JavaMail.root@redhat.com>
<1557539857.20737008.1391680756568.JavaMail.root@redhat.com>
<20140206133220.GC5017@redhat.com>
<633105491.21839148.1391757935531.JavaMail.root@redhat.com>
<2133757769.21973706.1391772553504.JavaMail.root@redhat.com>
X-ASG-Orig-Subj: Re: Logged data integrity improvement ideas
From: fche@redhat.com (Frank Ch. Eigler)
Date: Fri, 07 Feb 2014 11:40:35 -0500
In-Reply-To: <2133757769.21973706.1391772553504.JavaMail.root@redhat.com> (Nathan Scott's message of "Fri, 7 Feb 2014 06:29:13 -0500 (EST)")
Message-ID:
User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1391791244
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi -
> Have just come across commit 5a3a2494 in fche/dev, and it seems
> I was too late sending this mail as the following has already
> been attempted.
Yup.
> If only the missing QA for pmmgr was tackled so vigorously! ;) -- I
> would be so happy.
The anticipation will be worth it. ;-) Sorry it's been taking so long.
> ["logging durability: add fsync(2) when closing log archives"]
>
> Can you describe the testing done for this change or planned?
The pcpqa suite, plus strace examination that the fsync(2)'s are going
out at the right time. There are still some known problems.
> Also, thoughts on the impact the newly introduced latency will have
> on these code paths and the tools/scripts using them? [...] Note
> also the mentions she makes of performance implications, important
> for us folks attempting to minimise our impact on the observed
> system.
This one's tricky to measure well. fsync does not increase I/O
amount, only compresses it along the time axis. The latency suffered
by the archive-producing tool exits vary by the speed/volume of their
output generation: batch pmlog* manipulation tools will be affected
far more than pmlogger. I'll try to measure this by hand.
> There's also other subtleties discussed on the fsync(1) man page,
> its well worth a careful read too - the directory paragraph is
> relevant to our needs.
Yup. We're a long way from the sort of robustness guarantees we might
like to have. This was just "low-hanging fruit" as they say, and
should mostly solve one particular problem you had encountered.
- FChE
From nscott@redhat.com Fri Feb 7 16:57:37 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 299057CBE
for ; Fri, 7 Feb 2014 16:57:37 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id AFE25AC009
for ; Fri, 7 Feb 2014 14:57:33 -0800 (PST)
X-ASG-Debug-ID: 1391813850-04cb6c6de31aae30001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id K5NYzzW3LO7pePSi for ; Fri, 07 Feb 2014 14:57:31 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s17MvUSS026677;
Fri, 7 Feb 2014 17:57:30 -0500
Date: Fri, 7 Feb 2014 17:57:30 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Paul Evans
Cc: PCP Mailing List
Message-ID: <540859557.22515469.1391813850484.JavaMail.root@redhat.com>
In-Reply-To: <52F4C82E.1050007@redhat.com>
References: <52F4C82E.1050007@redhat.com>
Subject: Re: pmdagfs2: Updates to documentation and install script
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: pmdagfs2: Updates to documentation and install script
Content-Type: multipart/mixed;
boundary="----=_Part_22515467_917755133.1391813850483"
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF17 (Linux)/8.0.3_GA_5664)
Thread-Topic: pmdagfs2: Updates to documentation and install script
Thread-Index: g3ACF2f2QvNwsPoKJiFM1BKEzDl/lg==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1391813851
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144926
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
------=_Part_22515467_917755133.1391813850483
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi Paul,
Thanks for looking into this!
----- Original Message -----
> Changes committed to git://github.com/pauljevans/pcp.git dev
>
> man/man1/pmdagfs2.1 | 4 ++++
> src/pmdas/gfs2/Install | 26 +++++++++++++++++---------
> src/pmdas/gfs2/README | 7 +++++++
> 3 files changed, 28 insertions(+), 9 deletions(-)
>
> commit afe3cd4ff009baebe4b011b340614ab436bd4393
> Author: Paul Evans
> Date: Fri Feb 7 11:32:26 2014 +0000
>
> pmdagfs2: Update install script to check for pmcd before install
>
I'm not sure this is the best spot to tackle the problem as this
issue affects all PMDA install scripts (gfs2 was just an unlucky
victim here). I'd begun to look into this yesterday, but got
distracted before finishing up - sorry 'bout that!
The attached patch is where I was at - it looks to see if the
root namespace file exists before attempting to add the new sub
tree, and if not, Rebuilds it and flags pmcd to be started later
on. I've not tested it though, and its something that needs a
few more eyes on it (affects every PMDA install). If you could
look over it and give it a whirl, that'd be much appreciated.
cheers.
--
Nathan
------=_Part_22515467_917755133.1391813850483
Content-Type: text/x-patch; name=pmdaproc.patch
Content-Disposition: attachment; filename=pmdaproc.patch
Content-Transfer-Encoding: base64
ZGlmZiAtLWdpdCBhL3NyYy9wbWNkL3BtZGFwcm9jLnNoIGIvc3JjL3BtY2QvcG1kYXByb2Muc2gK
aW5kZXggNDNjZmZhNy4uYmFiMDE2MSAxMDA2NDQKLS0tIGEvc3JjL3BtY2QvcG1kYXByb2Muc2gK
KysrIGIvc3JjL3BtY2QvcG1kYXByb2Muc2gKQEAgLTExNjMsNiArMTE2MywyMiBAQCBfaW5zdGFs
bCgpCiAgICAgIyBJbnN0YWxsIHRoZSBuYW1lc3BhY2UKICAgICAjCiAKKyAgICBpZiBbICEgLWYg
JE5BTUVTUEFDRSBdCisgICAgdGhlbgorCSMgV2UgbWF5IGJlIGluc3RhbGxpbmcgYW4gYWdlbnQg
cmlnaHQgYWZ0ZXIgYW4gaW5zdGFsbCAtCisJIyBiZWZvcmUgcG1jZCBzdGFydHVwLCB3aGljaCBo
YXMgYSBwcmUtZXhlY3V0aW9uIHN0ZXAgb2YKKwkjIHJlYnVpbGRpbmcgdGhlIG5hbWVzcGFjZSBy
b290LiAgRG8gc28gbm93LgorCWlmIFsgLXggJFBNTlNESVIvUmVidWlsZCBdCisJdGhlbgorCSAg
ICBlY2hvICIkcHJvZzogY2Fubm90IFJlYnVpbGQgdGhlIFBNTlMgZm9yIFwiJE5BTUVTUEFDRVwi
IgorCSAgICBleGl0IDEKKwlmaQorCWNkICRQTU5TRElSCisJLi9SZWJ1aWxkIC1kdXMKKwljZCAk
X19oZXJlCisJZm9yY2VkX3Jlc3RhcnQ9dHJ1ZQorICAgIGZpCisKICAgICBmb3IgX19uIGluICRw
bW5zX25hbWUKICAgICBkbwogCWlmIHBtaW5mbyAkX19uc19vcHQgJF9fbiA+L2Rldi9udWxsIDI+
JjEK
------=_Part_22515467_917755133.1391813850483--
From noreply@release.debian.org Sat Feb 8 10:39:32 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id CDF967F3F
for ; Sat, 8 Feb 2014 10:39:32 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id B1707304067
for ; Sat, 8 Feb 2014 08:39:29 -0800 (PST)
X-ASG-Debug-ID: 1391877564-04cb6c6de11c7ba0001-S8gJnT
Received: from picconi.debian.org (picconi.debian.org [5.153.231.3]) by cuda.sgi.com with ESMTP id 2VgmmmmBITcxL8IO (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 08 Feb 2014 08:39:25 -0800 (PST)
X-Barracuda-Envelope-From: noreply@release.debian.org
X-Barracuda-Apparent-Source-IP: 5.153.231.3
Received: from franck.debian.org ([138.16.160.12])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=franck.debian.org,EMAIL=hostmaster@franck.debian.org (verified)
by picconi.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1WCAw6-00015d-O0
for pcp@packages.debian.org; Sat, 08 Feb 2014 16:39:22 +0000
Received: from release by franck.debian.org with local (Exim 4.80)
(envelope-from )
id 1WCAw0-0006Kp-MH; Sat, 08 Feb 2014 16:39:16 +0000
From: Debian testing watch
Precedence: bulk
X-Trille: 0.120315.1711
Subject: pcp 3.8.12 MIGRATED to testing
X-Testing-Watch-Package: pcp
X-ASG-Orig-Subj: pcp 3.8.12 MIGRATED to testing
X-Testing-Watch-Version: 3.8.12
To: pcp@packages.debian.org
Message-Id:
Sender: Release Managers
Date: Sat, 08 Feb 2014 16:39:16 +0000
Delivered-To: pcp@packages.debian.org
X-Barracuda-Connect: picconi.debian.org[5.153.231.3]
X-Barracuda-Start-Time: 1391877564
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.144944
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
FYI: The status of the pcp source package
in Debian's testing distribution has changed.
Previous version: 3.8.10
Current version: 3.8.12
--
This email is automatically generated once a day. As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See http://release.debian.org/testing-watch/ for more information.
From pevans@redhat.com Sun Feb 9 17:41:15 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id AAC697F4E
for ; Sun, 9 Feb 2014 17:41:15 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 8C3AC8F8035
for ; Sun, 9 Feb 2014 15:41:15 -0800 (PST)
X-ASG-Debug-ID: 1391989271-04cb6c6de322a800001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id Tb15o3B383IoYXcG for ; Sun, 09 Feb 2014 15:41:11 -0800 (PST)
X-Barracuda-Envelope-From: pevans@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s19NfB73021121
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
for ; Sun, 9 Feb 2014 18:41:11 -0500
Received: from [10.36.4.110] (vpn1-4-110.ams2.redhat.com [10.36.4.110])
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s19Nf9YF006342;
Sun, 9 Feb 2014 18:41:10 -0500
Message-ID: <52F81215.3090300@redhat.com>
Date: Sun, 09 Feb 2014 23:41:09 +0000
From: Paul Evans
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
MIME-Version: 1.0
To: Nathan Scott
CC: PCP Mailing List