China's x86 chipmaker adopts sophisticated boost tech — Zhaoxin enables preferred core support to target the fastest cores

Zhaoxin
(Image credit: Zhaoxin)

Zhaoxin, a joint venture between Via Technologies and the Shanghai Municipal Government, is adding support for 'preferred cores' in their processors into the Linux kernel, mirroring the approach that Intel and AMD have used for years. The move is designed to improve the single-thread performance of Zhaoxin's CPUs by distinguishing cores that can reach higher frequencies than others, thus pinning latency-sensitive work into the fastest cores. 

General-purpose cores in multi-core processors tend to have different clock rate potentials: some of them can achieve higher operational frequencies, leading to a disparity among the cores and the necessity to bind certain workloads to these cores to get higher overall performance. This is why Zhaoxin has introduced a series of patches to the Linux kernel, as reported by Phoronix.

These patches enable the Linux kernel's scheduler to recognize and prioritize tasks on these high-performing cores by using the ACPI CPUFreq driver that relies on the cppc_get_highest_perf function in the CPPC driver. Once the driver detects the frequency of each core, it recognizes the highest frequency value as a priority indicator for the scheduler to set core priorities and favor these preferred cores.

However, there is a catch about these Zhaoxin patches: they lack specific details about the CPUs they are meant to support. Whether this preferred cores feature is currently available in Zhaoxin processors or is intended for future CPUs, such as the upcoming Kaixian KX-7000 based on the Century Avenue architecture, remains unclear. 

Meanwhile, Phoronix notes that Zhaoxin has recently put a lot of effort into patching the Linux kernel for its Yongfeng (CentaurHauls) microarchitecture, which powers the KaiSheng KH-40000 processors that are aimed primarily at data centers.

Assigning certain workloads to preferred cores makes a lot of sense for data center and consumer applications, so adding support for this feature to Linux is good news for those who plan to use Zhaoxin CPUs. It also emphasizes that Zhaoxin is gaining functionality akin to CPUs from AMD and Intel.

Anton Shilov
Freelance News Writer

Anton Shilov is a Freelance News Writer at Tom’s Hardware US. Over the past couple of decades, he has covered everything from CPUs and GPUs to supercomputers and from modern process technologies and latest fab tools to high-tech industry trends.

  • TCA_ChinChin
    Cool news, but too bad that the actual Zhaoxin CPUs are still like a decade or more behind in real performance.
    Reply
  • toffty
    Breaking news! Chinese chip maker gains abilities Intel and AMD have had for over a decade!
    China will win no doubt!
    /Sarcasm

    Toms has really gone into the gutter. Get some people that actually know hardware and software tech...
    Reply
  • blacknemesist
    toffty said:
    Breaking news! Chinese chip maker gains abilities Intel and AMD have had for over a decade!
    China will win no doubt!
    /Sarcasm

    Toms has really gone into the gutter. Get some people that actually know hardware and software tech...
    China is taking steps towards heavy home production instead of relying on foreign tech, that is all there is on the news but somehow people want to drag this out to a war outside of economics.
    Reply
  • KraakBal
    Win what? What has this to do with you silly notion of human W and Ls
    Reply
  • DSzymborski
    toffty said:
    Breaking news! Chinese chip maker gains abilities Intel and AMD have had for over a decade!
    China will win no doubt!
    /Sarcasm

    Toms has really gone into the gutter. Get some people that actually know hardware and software tech...

    Ah, because news isn't interesting unless the item in question is the best thing ever.
    Reply
  • Ralston18
    Thread trending into GRAPES and otherwise violating Forum rules.

    Closing thread to further posts.
    Reply