[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Property '.hmat' not found
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: Property '.hmat' not found |
Date: |
Mon, 16 Nov 2020 13:51:37 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
Cc'ing Igor & Eduardo.
On 11/13/20 10:17 AM, Jack wrote:
> Hi all,
>
> As I follow the document[1] to enable hmat, it fails and shows the message:
> qemu-system-x86_64: Property '.hmat' not found
>
> My QEMU version is 5.1.90
>
> Does anyone know why?
>
> Here is my command:
>
> ```
> $ sudo qemu-system-x86_64 \
> -machine hmat=on \
> -m 2G \
> -object memory-backend-ram,size=1G,id=m0 \
> -object memory-backend-ram,size=1G,id=m1 \
> -smp 2 \
> -numa node,nodeid=0,memdev=m0 \
> -numa node,nodeid=1,memdev=m1,initiator=0 \
> -numa cpu,node-id=0,socket-id=0 \
> -numa cpu,node-id=0,socket-id=1 \
> -numa
> hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-latency,latency=5
> \
> -numa
> hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-bandwidth,bandwidth=200M
> \
> -numa
> hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-latency,latency=10
> \
> -numa
> hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-bandwidth,bandwidth=100M
> \
> -numa
> hmat-cache,node-id=0,size=10K,level=1,associativity=direct,policy=write-back,line=8
> \
> -numa
> hmat-cache,node-id=1,size=10K,level=1,associativity=direct,policy=write-back,line=8
> \
> -cpu host \
> -m 4g -vga virtio -hda ubuntu20.04.qcow2 \
> -nic user,model=virtio \
> -nic tap,model=e1000 \
> -nic tap,model=e1000 \
> -accel kvm
> ```
>
> Thanks.
>
> [1]
> https://www.qemu.org/docs/master/system/qemu-manpage.html?highlight=numa
>
>
> Sincerely,
> Jack
>
- Re: Property '.hmat' not found,
Philippe Mathieu-Daudé <=