Bug 13625 - Set preferred CPU features and default NT threshold for Zhaoxin
Summary: Set preferred CPU features and default NT threshold for Zhaoxin
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Modules (show other bugs) BaseOS Modules
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-22 15:55 UTC by mayshao
Modified: 2025-01-22 15:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mayshao zhaoxin_group 2025-01-22 15:55:42 UTC
Make it same as glibc 2.40:

https://sourceware.org/git/?p=glibc.git;a=commit;h=44d757eb9f4484dbc3aa32042ab64cdf9374e093
https://sourceware.org/git/?p=glibc.git;a=commit;h=c19457aec67da28a3f78badef53556cd55640a6e
https://sourceware.org/git/?p=glibc.git;a=commit;h=9dc645cb569af8db58dab2a1b296421f29c0cd4f

Currently, the '__x86_shared_non_temporal_threshold' is cpu-specific, and different CPUs will have different values based on the related nt-benchmark results.

However, in memmove-ssse3, the nontemporal threshold uses '__x86_shared_cache_size_half', which sounds unreasonable.