<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks for sending this out Victor! Overall I think this is a great place to start. :)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 4, 2019 at 3:25 PM Victor Rodriguez <<a href="mailto:vm.rod25@gmail.com">vm.rod25@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi STX team </div><div><br></div><div>This is the follow-up mail to share with the community the test case presented yesterday on the community call meeting. This test case responds to phase 0 on our goal to have a test framework (using existing tools ) to measure performance metrics on StarlingX project. </div><div><br></div><div>This very basic script only has the scope o measure the footprint of STX host system ( users can decide if it is a controller or a node )</div><div><br></div><div>This test case was presented yesterday, here are the slides: </div><div><br></div><div><a href="https://drive.google.com/open?id=1Nr12zDRXf34kpjiA0LsFLU8GIpMY8Y-H2zmiC96CD4A" target="_blank">https://drive.google.com/open?id=1Nr12zDRXf34kpjiA0LsFLU8GIpMY8Y-H2zmiC96CD4A</a></div><div><br></div><div>The source code of the test has been updated in tools-contrib repository: <br></div><div><br></div><div><a href="https://github.com/starlingx-staging/tools-contrib" target="_blank"><span class="gmail_default" style="font-size:small"></span>https://github.com/starlingx-staging/tools-contrib</a></div><div><br></div></div></div></blockquote><div><br></div><div><div style="font-size:small" class="gmail_default">It's great to see that repo already in use. There are some things in there that I can already use from the autodeploy work. Very helpful.<br></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div></div><div>The list of TODO things for this test case ( and framework ) is here: </div><div><br></div><div>Please feel free to add as many requests as we have as a community.</div><div><a href="https://etherpad.openstack.org/p/stx_performance_feedback" target="_blank">https://etherpad.openstack.org/p/stx_performance_feedback</a></div></div></div></blockquote><div><br></div><div><div style="font-size:small" class="gmail_default">I added a couple comments to that etherpad.</div></div><div><div style="font-size:small" class="gmail_default"></div><div style="font-size:small" class="gmail_default">Thanks,</div><div style="font-size:small" class="gmail_default">Curtis<br></div><div style="font-size:small" class="gmail_default"><br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div><div>This test case also add the tools to save the data recorded on an InfluxDB database</div><div><br></div><div>The way to run this script as described on the README is: </div><div><br></div><div>python metrics.py</div><div><br></div><div>Details of elapsed time and sampling time are described in README as well</div><div><br></div><div>By default the script does not send any data, only print on the console the values:</div><div><br></div><div>Example Output: <a href="https://gist.github.com/VictorRodriguez/b9260ad223b176c323363ac06d0afdde" target="_blank">https://gist.github.com/VictorRodriguez/b9260ad223b176c323363ac06d0afdde</a></div><div><br></div><div>If we want to send the data to an influxDB: </div><div><br></div><div>python metrics.py --send_data</div><div><br></div><div>Will send data to the InlfuxDB server configured in the file: </div><div><br></div><div>$ server.conf</div><div>INFLUX_SERVER=<yoruservername or localhost if is the same as the system under test></div><div>INFLUX_PORT=PORT</div><div>INFLUX_PASS=PASS</div><div>INFLUX_USER=USER</div><div>DB_NAME=starlingx</div><div><br></div><div><br></div><div>Since yesterday meeting I left the script running on my ubuntu machine and here are the metrics of DB size: </div><div><br></div><div>Size in data points per table:</div><div><br></div><div>name: boottime</div><div>time<span style="white-space:pre-wrap"> </span>count<span style="white-space:pre-wrap"> </span>count_1<span style="white-space:pre-wrap"> </span>count_2</div><div>----<span style="white-space:pre-wrap"> </span>-----<span style="white-space:pre-wrap"> </span>-------<span style="white-space:pre-wrap"> </span>-------</div><div>0<span style="white-space:pre-wrap"> </span>1571</div><div><br></div><div>name: cpu_footprint</div><div>time<span style="white-space:pre-wrap"> </span>count<span style="white-space:pre-wrap"> </span>count_1<span style="white-space:pre-wrap"> </span>count_2</div><div>----<span style="white-space:pre-wrap"> </span>-----<span style="white-space:pre-wrap"> </span>-------<span style="white-space:pre-wrap"> </span>-------</div><div>0<span style="white-space:pre-wrap"> </span>1562</div><div><br></div><div>name: hd_footprint</div><div>time<span style="white-space:pre-wrap"> </span>count<span style="white-space:pre-wrap"> </span>count_1<span style="white-space:pre-wrap"> </span>count_2</div><div>----<span style="white-space:pre-wrap"> </span>-----<span style="white-space:pre-wrap"> </span>-------<span style="white-space:pre-wrap"> </span>-------</div><div>0<span style="white-space:pre-wrap"> </span>3132</div><div><br></div><div>name: memory_footprint</div><div>time<span style="white-space:pre-wrap"> </span>count<span style="white-space:pre-wrap"> </span>count_1<span style="white-space:pre-wrap"> </span>count_2</div><div>----<span style="white-space:pre-wrap"> </span>-----<span style="white-space:pre-wrap"> </span>-------<span style="white-space:pre-wrap"> </span>-------</div><div>0<span style="white-space:pre-wrap"> </span>3132</div><div><br></div><div><br></div><div>Size in HD:</div><div>du -sh /var/lib/influxdb/data/starlingx/</div><div>28K<span style="white-space:pre-wrap"> </span>/var/lib/influxdb/data/starlingx/</div><div><br></div><div>As we can see in a total of 7827 data points we are only using 28K of the HD ( not much )</div><div><br></div><div>Curtis and will be working on the set up of this infrastructure on packet infra, as soon as we have information we will let you know.</div><div><br></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div></div><div>This perf framework is designed with the idea that anyone can use it to track their version of STX that you prefer. If you have any question how to set up on your infra please let me know </div><div><br></div><div>Regards</div><div><br></div><div>Victor Rodriguez</div><div><br></div></div></div>
_______________________________________________<br>
Starlingx-discuss mailing list<br>
<a href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank">Starlingx-discuss@lists.starlingx.io</a><br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" rel="noreferrer" target="_blank">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Blog: <a href="http://serverascode.com" target="_blank">serverascode.com</a></div></div>