Skip to content

Increase KVM sonic memory#7253

Merged
wangxin merged 1 commit intosonic-net:masterfrom
lerry-lee:increase_kvm_sonic_memory
Jan 13, 2023
Merged

Increase KVM sonic memory#7253
wangxin merged 1 commit intosonic-net:masterfrom
lerry-lee:increase_kvm_sonic_memory

Conversation

@lerry-lee
Copy link
Contributor

Description of PR

Increase KVM sonic memory from 3GiB to 4GiB. Because some cases raised error log created by the tool memory_threshold_check, like free memory xx is less than memory threshold xx. And the threshold is based on total memory.

Signed-off-by: Chun'ang Li [email protected]

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

Increase KVM sonic memory from 3GiB to 4GiB. Because some cases raised error log created by the tool memory_threshold_check, like free memory xx is less than memory threshold xx. And the threshold is based on total memory.

How did you do it?

Modify memory set in ansible/roles/vm_set/templates/sonic.xml.j2.

Notes: memory tag is the maximum allocation of memory and currentMemory tag is the actual allocation of memory.

How did you verify/test it?

Run TC and no memory_threshold_check issue.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Because some cases raised error log created by memory_threshold_check, like 'free memory xx is less than memory threshold xx'.

Signed-off-by: Chun'ang Li <[email protected]>
@wangxin wangxin merged commit a8591de into sonic-net:master Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants