<div dir="ltr">Hi<div><br></div><div>Please don't add rapidly changing data to VDSDynamic - it has major performance implications.</div><div>So, choose option B. Actually, try to expose relevant data in VDSDynamic and VDSStatistics, and VDS should call VDSDynamic and VDSStatistics and merge the data from both entities.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 11:31 AM, Liao, Chuan (Jason Liao, HPservers-Core-OE-PSC) <span dir="ltr"><<a href="mailto:chuan.liao@hp.com" target="_blank">chuan.liao@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="ZH-CN" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">Hi All,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">I am Jason Liao from HP who are in charge of NUMA and Virtual NUMA feature.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">Now I have some concept about the host NUMA topology data structure on engine core<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">We have VDS, VDSDynamic, VDSStatic, VdsStatistics object on engine core.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">And we have NUMA topology information:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">List<NumaNode> numaNodeList<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""> NumaNode<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""> String ID # update from GetCapabilitiesVDSCommand<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""> List<String> cpuList # update from GetCapabilitiesVDSCommand<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt;text-indent:21.0pt"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">Int totalMem # update from GetCapabilitiesVDSCommand<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""> Int freeMem # update from GetStatsVDSCommand<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">
<u></u><u></u></span></p>
<p style="margin-left:18.0pt">
<u></u><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""><span>A.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">Add this data structure into VDSDynamic<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:39.0pt;text-indent:3.0pt"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">We should change the GetStatsVDSCommand update the VDSDynamic data.<u></u><u></u></span></p>
<p style="margin-left:18.0pt">
<u></u><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""><span>B.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">Add this data structure into VDS, and build the data structure from VDSDynamic, VdsStatistics<u></u><u></u></span></p>
<p style="text-indent:0cm"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""><u></u> <u></u></span></p>
<p style="text-indent:0cm"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif"">I prefer B. does anybody have some comments?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"HP Simplified","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:9.0pt;font-family:"HP Simplified","sans-serif"">Best Regards,<br>
</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:#717172">Jason Liao</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
<br>_______________________________________________<br>
Engine-devel mailing list<br>
<a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
<br></blockquote></div><br></div>