<div>
                    <br>
                </div>
                <div></div>
                 
                <p style="color: #A0A0A8;">On Thursday, 6 April 2017 at 6:10 PM, Daniel P. Berrange wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>On Thu, Apr 06, 2017 at 12:05:54PM +0200, Martin Kletzander wrote:</div><blockquote type="cite"><div><div>On Thu, Apr 06, 2017 at 10:51:44AM +0100, Daniel P. Berrange wrote:</div><blockquote type="cite"><div><div>On Thu, Apr 06, 2017 at 11:49:14AM +0200, Martin Kletzander wrote:</div><blockquote type="cite"><div><div>On Thu, Apr 06, 2017 at 04:20:06PM +0800, Eli Qiao wrote:</div><blockquote type="cite"><div><div>This patch is based on Martin's cache branch.</div><div><br></div><div>This patch amends the cache bank capability as follow:</div><div><br></div><div><bank id='0' level='3' type='unified' size='15360' unit='KiB' cpus='0-5'/></div><div> <control min='768' unit='KiB' type='unified' nclos='4'/></div><div><bank id='1' level='3' type='unified' size='15360' unit='KiB' cpus='6-11'/></div><div> <control min='768' unit='KiB' type='unified' nclos='4'/></div></div></blockquote></div></blockquote><div><br></div><div>Either the XML is malformed, or the indentation is wrong. The indentation</div><div>suggests you want nested XML elements, but the parent element is an empty</div><div>tag, so you've actually got a flat namespace here.</div><div><br></div><blockquote type="cite"><div><blockquote type="cite"><div></div></blockquote><div><br></div><div>Were we exposing the number of CLoS IDs before?  Was there a discussion</div><div>about it?  Do we want to expose them?  Probably yes, I'm just wondering.</div></div></blockquote><div><br></div><div>What are CLoS IDs and what are they used for ?</div></div></blockquote><div><br></div><div>Effectively an ID for the allocation.  The hardware has a limited number</div><div>of them, in this case 4.  I can't remember whether that number is</div><div>per-bank, but it would not make much sense otherwise.</div></div></blockquote><div><br></div><div>So, if guests are requesting a private cache allocation, and cos id == 4,</div><div>then we can only run 4 guests ?</div></div></div></span></blockquote><div><br></div><div>I think yes, but it’s per bank resource (the bank here is equal to cache id), if you have 2 banks , you can create 8 guests (each has 1 bank allocation)</div><div><br></div><div>As far as I know, the number of clos id is 16 on most of Intel xeon CPUs</div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span><div><div><div><br></div><div>Regards,</div><div>Daniel</div><div>-- </div><div>|: <a href="http://berrange.com">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/">http://www.flickr.com/photos/dberrange/</a> :|</div><div>|: <a href="http://libvirt.org">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org">http://virt-manager.org</a> :|</div><div>|: <a href="http://entangle-photo.org">http://entangle-photo.org</a>       -o-    <a href="http://search.cpan.org/~danberr/">http://search.cpan.org/~danberr/</a> :|</div><div><br></div><div>--</div><div>libvir-list mailing list</div><div><a href="mailto:libvir-list@redhat.com">libvir-list@redhat.com</a></div><div><a href="https://www.redhat.com/mailman/listinfo/libvir-list">https://www.redhat.com/mailman/listinfo/libvir-list</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>