Patch e lebetsoeng e fumanoe ka har'a kernel ea Linux e amang ts'ebetso ea li-CPU tsa AMD

Linux 6.0 kernel, e lebelletsoeng ho lokolloa Mantaha o tlang, e kenyelletsa phetoho e sebetsanang le litaba tsa ts'ebetso ka litsamaiso tse sebetsang ho li-processor tsa AMD Zen. Mohloli oa ho theoha ha ts'ebetso o fumanoe e le khoutu e kentsoeng lilemo tse 20 tse fetileng ho sebetsana le bothata ba lisebelisoa ho li-chipsets tse ling. Bothata ba hardware ke khale bo lokisitsoe 'me ha bo hlahe ho li-chipsets tsa morao-rao, empa mosebetsi oa khale oa bothata o lebetsoe' me o fetohile mohloli oa ho senyeha ha ts'ebetso ho litsamaiso tse thehiloeng ho li-CPU tsa morao-rao tsa AMD. Lits'ebetso tse ncha ho Intel CPUs ha li amehe ke mokhoa oa khale oa ho sebetsa, kaha li fihlella ACPI li sebelisa mokhanni ea ikemetseng oa intel_idle, eseng mokhanni o akaretsang oa processor_idle.

Workaround e ile ea eketsoa kernel ka Hlakubele 2002 ho thibela ponahalo ea kokoanyana ho li-chipsets tse amanang le ho se behe hantle boemo bo sa sebetseng ka lebaka la tieho ea ho sebetsa lets'oao la STPCLK #. Ho rarolla bothata, ts'ebetsong ea ACPI e kentse taelo e eketsehileng ea WAIT, e liehisang processor e le hore chipset e be le nako ea ho ea boemong bo sa sebetseng. Ha u etsa profil ka ho sebelisa litaelo tsa IBS (Instruction-based Sampling) ho li-processor tsa AMD Zen3, ho ile ha fumanoa hore processor e qeta nako e ngata e etsa li-stubs, e lebisang tlhalosong e fosahetseng ea boemo ba processor le ho beha mekhoa e tebileng ea boroko (C- State) ka processor cpuidle.

Boitšoaro bona bo bonahala ka ts'ebetso e fokotsehileng tlas'a mesebetsi e mengata e atisang ho fapanyetsana pakeng tsa libaka tse sa sebetseng le tse phathahaneng. Ka mohlala, ha u sebelisa patch e thibelang mokhoa oa ho pota-pota, litekanyetso tsa teko ea tbench li eketseha ho tloha ho 32191 MB/s ho ea ho 33805 MB/s.

Source: opennet.ru

Eketsa ka tlhaloso