[PATCH v2 10/10] vircaps2xmltest: Introduce HMAT test case

Michal Prívozník mprivozn at redhat.com
Tue Jun 15 09:09:55 UTC 2021


On 6/14/21 8:26 PM, Martin Kletzander wrote:
> On Thu, Jun 10, 2021 at 03:57:19PM +0200, Michal Privoznik wrote:
>> This test was generated on a guest with the following NUMA
>> configuration:
>>
>>    <numa>
>>      <cell id='0' cpus='0-23' memory='4194304' unit='KiB' discard='yes'>
>>        <cache level='1' associativity='direct' policy='writeback'>
>>          <size value='10' unit='KiB'/>
>>          <line value='8' unit='B'/>
>>        </cache>
>>        <cache level='2' associativity='full' policy='writethrough'>
>>          <size value='128' unit='KiB'/>
>>          <line value='16' unit='B'/>
>>        </cache>
>>      </cell>
>>      <cell id='1' memory='2097152' unit='KiB'>
>>        <cache level='1' associativity='direct' policy='writeback'>
>>          <size value='10' unit='KiB'/>
>>          <line value='8' unit='B'/>
>>        </cache>
>>      </cell>
>>      <interconnects>
>>        <latency initiator='0' target='0' type='access' value='5'/>
>>        <latency initiator='0' target='0' type='read' value='6'/>
>>        <latency initiator='0' target='0' type='write' value='7'/>
>>        <latency initiator='0' target='1' type='access' value='10'/>
>>        <latency initiator='0' target='1' type='read' value='11'/>
>>        <latency initiator='0' target='1' type='write' value='12'/>
>>        <bandwidth initiator='0' target='0' type='access'
>> value='204800' unit='KiB'/>
>>        <bandwidth initiator='0' target='0' type='read' value='205824'
>> unit='KiB'/>
>>        <bandwidth initiator='0' target='0' type='write' value='206848'
>> unit='KiB'/>
>>        <bandwidth initiator='0' target='0' cache='1' type='access'
>> value='208896' unit='KiB'/>
>>        <bandwidth initiator='0' target='0' cache='1' type='read'
>> value='209920' unit='KiB'/>
>>        <bandwidth initiator='0' target='0' cache='1' type='write'
>> value='210944' unit='KiB'/>
>>        <bandwidth initiator='0' target='1' type='access'
>> value='102400' unit='KiB'/>
>>        <bandwidth initiator='0' target='1' type='read' value='103424'
>> unit='KiB'/>
>>        <bandwidth initiator='0' target='1' type='write' value='104448'
>> unit='KiB'/>
>>        <bandwidth initiator='0' target='1' cache='1' type='access'
>> value='105472' unit='KiB'/>
>>        <bandwidth initiator='0' target='1' cache='1' type='read'
>> value='106496' unit='KiB'/>
>>        <bandwidth initiator='0' target='1' cache='1' type='write'
>> value='107520' unit='KiB'/>
>>      </interconnects>
>>    </numa>
>>
>> The sysfs content was also copied over from the VM but only those
>> files which are accessed in the test are stored in the repo.
>>
> 
> Just out of curiosity, did you use your access check for that?

I wish. I have patches on my local branch that make access check work
again. I've used strace + grep + RE trickery.

> 
>> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> 
> Reviewed-by: Martin Kletzander <mkletzan at redhat.com>
> 

Thanks.

Michal




More information about the libvir-list mailing list