microsoft / lis-test

Contains test infrastructure for testing Linux virtual machines on Windows Azure and Hyper-V.
32 stars 72 forks source link

Add new balloon case about checking top load average value #1149

Closed lixuemin2016 closed 5 years ago

lixuemin2016 commented 5 years ago

This case covers bug https://bugzilla.redhat.com/show_bug.cgi?id=1065107, verify that load average value of top command is smaller than 1 when dynamic memory is enabled.

Test steps:

  1. Enable dynamic memory with Hyper-V manager.
  2. Start the guest, check the top metrics after waiting for several minutes.

    top

    top - 14:31:23 up 6 min, 2 users, load average: 0.00, 0.07, 0.05 Tasks: 267 total, 2 running, 265 sleeping, 0 stopped, 0 zombie %Cpu0 : 0.0 us, 0.3 sy, 0.0 ni, 98.3 id, 0.0 wa, 0.0 hi, 1.3 si, 0.0 st KiB Mem: 1406544 total, 468852 used, 937692 free, 1240 buffers KiB Swap: 2129916 total, 0 used, 2129916 free. 176240 cached Mem

  3. Check load average value of past minutes.

Verify results: The load average value is smaller than 1.

Thank you so much.