Rate This Document
Findability
Accuracy
Completeness
Readability

Testing the Functionality

Before modifying the VM cache, the cache size displayed on the VM is the default size. After the cache configuration is modified, you can view the configured cache size on the VM.

  1. Start the VM.
    1
    virsh start <VM_name> --console
    
  2. Compile the test tool.
    1
    2
    3
    export LD_LIBRARY_PATH=/usr/local/kaezip/lib:$ LD_LIBRARY_PATH
    cd KAEZlib/test/perftest
    make
    

    KAEZlib/test/perftest is in the KAE 2.0 source package downloaded in Installing KAE.

  3. Optional: Execute the KAE compression task in the VM.
    1
    ./kaezip_perf -m 6 -l 10240 -n 3000
    
  4. Perform VM live migration on the source physical machine.
    1
    virsh migrate --live --unsafe <VM_name> qemu+ssh://<VM_IP_address>/system tcp://<VM_IP_address>
    
  5. After the migration is complete, log in to the target physical machine, and check whether the KAE compression task is complete.