<div class="__aliyun_email_body_block"><div style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div style="clear:both;"><span style="color:#24292e;font-size:16.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline;">go-agent: about 11M </span></div><div style="clear:both;"><span style="color:#24292e;font-size:16.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline;">rust-agent: about 1.1M</span></div><div style="clear:both;"><span style="color:#24292e;font-size:16.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline;"><br ></span></div><div style="clear:both;"><span style="color:#24292e;font-size:16.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline;">It is also in README.md at here: <a href="https://github.com/alipay/kata-rust-agent/blob/master/README.md">https://github.com/alipay/kata-rust-agent/blob/master/README.md</a></span></div><div style="clear:both;"><br ></div><div style="clear:both;"><br ></div><div style="clear:both;"><br ></div><div style="clear:both;"><br ></div><blockquote _quote="1" style="margin-right:.0px;margin-top:.0px;margin-bottom:.0px;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div style="clear:both;">------------------------------------------------------------------</div><div style="clear:both;">发件人:Boeuf, Sebastien <sebastien.boeuf@intel.com></div><div style="clear:both;">发送时间:2019年9月19日(星期四) 05:28</div><div style="clear:both;">收件人:杨波(兵卫) <yb203166@antfin.com>; Samuel Ortiz <sameo@linux.intel.com></div><div style="clear:both;">抄 送:kata-dev <kata-dev@lists.katacontainers.io></div><div style="clear:both;">主 题:RE: [kata-dev] 回复: rust kata-agent status update</div><div style="clear:both;"><br ></div><div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:13.0px;"><div >Hi,</div><div ><br ></div><div >I love the footprint drop due to using Rust :)</div><div >Instead of giving only the numbers from the Rust agent, could you show the difference between the Golang agent and Rust agent?</div><div ><br ></div><div >Thanks,</div><div >Sebastien<br ></div><div style="font-family:Times New Roman;color:#000000;font-size:16.0px;"><hr ><div id="divRpF241497" style="direction:ltr;"><span style="color:#000000;font-family:Tahoma;font-size:13.0px;"><b >From:</b> 杨波 via kata-dev [kata-dev@lists.katacontainers.io]<br ><b >Sent:</b> Sunday, September 15, 2019 6:52 PM<br ><b >To:</b> Samuel Ortiz<br ><b >Cc:</b> kata-dev<br ><b >Subject:</b> [kata-dev] 回复: rust kata-agent status update<br ></span><br ></div><div ></div><div style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div style="clear:both;">footprint:</div><div style="clear:both;"><span style="color:#191f25;font-size:14.0px;font-style:normal;font-weight:400;text-align:left;text-indent:.0px;text-transform:none;background-color:#ffffff;float:none;display:inline;">RssAnon: 1700 kB</span></div><div style="clear:both;"><span style="color:#191f25;font-size:14.0px;font-style:normal;font-weight:400;text-align:left;text-indent:.0px;text-transform:none;background-color:#ffffff;float:none;display:inline;">RssFile: 1632 kB</span></div><div style="clear:both;"><br ></div><div style="clear:both;">We choose grpc-rs because it is verified in product environment, grpcio is not.</div><div style="clear:both;"><br ></div><div style="clear:both;"><br ></div><div style="clear:both;"><br ></div><div style="clear:both;">------------------------------------------------------------------</div><div style="clear:both;">发件人:Samuel Ortiz <sameo@linux.intel.com></div><div style="clear:both;">发送时间:2019年9月12日(星期四) 20:44</div><div style="clear:both;">收件人:杨波(兵卫) <yb203166@antfin.com></div><div style="clear:both;">抄 送:kata-dev <kata-dev@lists.katacontainers.io>; 王旭(循环) <gnawux@alibaba-inc.com></div><div style="clear:both;">主 题:Re: [kata-dev] rust kata-agent status update</div><div style="clear:both;"><br ></div>
Hi,<br ><br >
A couple of questions:<br ><br >
1) Do we know what the grps-rs memory footprint is?<br >
2) What was the rationale behind picking grps-rs over e.g. grpcio?<br ><br >
Cheers,<br >
Samuel.<br ><br >
On Thu, Sep 12, 2019 at 04:53:29PM +0800, 杨波 via kata-dev wrote:<br >
> Hi, folks:<br >
> Let me update some progress of the rust agent.<br >
> First of all, thanks for James' kindly help on the project.<br >
> The functions of rust agent are almost finished. we have fixed several bugs to stablize it. Ci and osbuilder are still missing. We have to run end-to-end tests manually right now.<br >
> <br >
> - Refactor rust agent API. Remove overused matches, clean up code<br >
> - Refactor communication between parent/child/grandchild, use raw bytes instead of serde_json to simplify communication<br >
> - Refactor Process struct, remove duplicate/unused fields<br >
> - Add Makefile to simplify building --- by jodh-intel<br >
> - Fix up unit test for netlink<br >
> - Fix up test run against musl and release<br >
> - Implement debug console support<br >
> - Implement command line parse partly<br >
> - Implement Spec valaidator<br >
> - Implement Hook infrastructure<br >
> <br >
> We are targeting to land the rust agent to Kata org by October, and you may check out the current WIP repo here: <a href="https://github.com/alipay/kata-rust-agent" target="_blank">https://github.com/alipay/kata-rust-agent</a><br >
> <br >
> Cheers!<br >
> <br ><br >
> _______________________________________________<br >
> kata-dev mailing list<br >
> kata-dev@lists.katacontainers.io<br >
> <a href="http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev" target="_blank">http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev</a><div style="line-height:20.0px;clear:both;"><br ></div></div></div></div></blockquote><div style="line-height:20.0px;clear:both;"><br ></div></div></div>