pcp
[Top] [All Lists]

Re: [pcp] GSOC 2016 idea for PCP

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, Lukas Berk <lberk@xxxxxxxxxx>
Subject: Re: [pcp] GSOC 2016 idea for PCP
From: Charles Cui <charles.cui1984@xxxxxxxxx>
Date: Fri, 18 Mar 2016 21:29:49 -0700
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=MZwaGEa/0cGO+GUsRV63QwmiceHXss+NryYcxRYM1WE=; b=w48smaCJj94xlbUjLalHWps+vOWPjJRraBaqs/9d+raK/SyQEvBnOp8k4wkSRf0l2+ WsURKKvD4+Jui0VmCfokdh+2Ax8/slT386jQln5gM7AjvlGCyDrdyn0P5iXkJTxOZuU4 SqHDYs3KiAnXtFeUgTb45CuHnwgYSPgYcvYzQhkUENPLDOt5yF2e03cmTExqSzXjBEbd lMa+B88NXmJncagFbfOOxnb1mqm4xkuH0aF/r1IOyCplhpjJXXK3LFtex0uYU/XCkp2W uO2ZjxaUETTz+09Vf1jiyEzrcWmVbxjBYDyDYq0VcAFwVMGlItHee7rud5cXRWhUq+Ow 92zA==
In-reply-to: <CA+SXE9tRWq_8gamgVWpn3geMhCXNRzATEBxB3oUkED7tFrxwzw@xxxxxxxxxxxxxx>
References: <CA+SXE9v2ExnLbnGfQJxeeJA1V6fJdNHcLyyo8-ZYHoaE25MSFQ@xxxxxxxxxxxxxx> <87si089svf.fsf@xxxxxxxxxx> <CA+SXE9tcjaMpz1BL8D_6PEAWte1YTPPBW_W7XUX1RBST=yML4w@xxxxxxxxxxxxxx> <874mcntvhv.fsf@xxxxxxxxxx> <CA+SXE9u6W16mmN9eEkQh=ZXwGFNGkwo-avqW+gNAyEoMvaoxew@xxxxxxxxxxxxxx> <CA+SXE9vODZDqMAnn8MKvxp7QRka+8S0-NYFbLjT1fp4FsndDyw@xxxxxxxxxxxxxx> <874mch8xsf.fsf@xxxxxxxxxx> <CA+SXE9tU==8M2AqthqwsjmrL9DqHh+M8koSSQEEfvoH=NvhWug@xxxxxxxxxxxxxx> <87io0w794p.fsf@xxxxxxxxxx> <CA+SXE9sqGQwHsYTqkJbnH98BOzFrz9KBGVsY1z6tnw3Xx+g5bg@xxxxxxxxxxxxxx> <87io0v8iv2.fsf@xxxxxxxxxx> <CA+SXE9snLePp_89mG+W7_RtGMc3mRZJ_51Mozv7AD18W2zzMjw@xxxxxxxxxxxxxx> <56E5C2BD.8040007@xxxxxxxxxxxxxxxx> <CA+SXE9tRWq_8gamgVWpn3geMhCXNRzATEBxB3oUkED7tFrxwzw@xxxxxxxxxxxxxx>
Hi Guys,

  Just let you know I have uploaded my proposal and shared with the community.
Please feel free to comment.


Thanks, Charles.

2016-03-14 15:36 GMT-07:00 Charles Cui <charles.cui1984@xxxxxxxxx>:
> Got the idea, Thanks.
>
> 2016-03-13 12:42 GMT-07:00 Ken McDonell <kenj@xxxxxxxxxxxxxxxx>:
>> On 13/03/16 15:17, Charles Cui wrote:
>>>
>>> Hi Lukas,
>>>
>>>     Some updates for this project.
>>> I tried to install and use simple and trivial pmda, and they can
>>> report me the expected metrics.
>>> Now, I am thinking of steps of writing the pmds using golang.
>>> Some thoughts are given below, correct me if I am wrong.
>>> Basically, there are 2 ways to go.
>>> 1>  I need to at first to create a wrapper of lib pcp_pmda using golang,
>>> where
>>> provides similar name to functions in lib pcp_pmda but implemented
>>> using golang.
>>> For each function in the wrapper, it calls the lib pcp_pmda to
>>> complete the function.
>>> Then, create an agent (with golang) to talk with my wrapper.
>>> or
>>> 2> rewrite lib pcp_pmda using golang
>>>
>>> which way is preferred by the community?
>>
>>
>> G'day Charles.
>>
>> Wrappers are definitely the way for any language other than C.  There are
>> existing examples for Perl and Python in the code base.
>>
>> You can use dbpmda(1) to debug this in a way that allows you to build up the
>> wrapper layer in incremental stages, rather than requiring a complete
>> implementation before debugging with the PMDA being called from pmcd.
>>
>> _______________________________________________
>> pcp mailing list
>> pcp@xxxxxxxxxxx
>> http://oss.sgi.com/mailman/listinfo/pcp

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