Bug 29403 - Hygon: Improve concurrent allocation performance for CSV3 virtual machine
Summary: Hygon: Improve concurrent allocation performance for CSV3 virtual machine
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-11 15:04 UTC by wojiaohanliyang
Modified: 2026-01-11 15:04 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wojiaohanliyang hygon_group 2026-01-11 15:04:36 UTC
Description of problem:

Currently, when starting a csv3 virtual machine, the function csv_alloc_from_contiguous() is called to allocate memory, starting from csv_cma[0], then csv_cma[1], and so on in sequence. When multiple csv3 virtual machines are started concurrently, this easily causes contention on the same csv_cma, which affects performance. 

It is necessary to adjust the logic so that each time the csv_alloc_from_contiguous() function is called for memory allocation, it allocates from the csv_cma that follows the one used in the previous allocation. This adjustment can significantly improve performance.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: