China's x86 chipmaker adopts sophisticated boost tech — Zhaoxin enables preferred core support to target the fastest cores
Linux will soon be able to pick the 'preferred core' of Zhaoxin CPUs.
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.
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Anton Shilov is a contributing writer at Tom’s Hardware. 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!Reply
China will win no doubt!
/Sarcasm
Toms has really gone into the gutter. Get some people that actually know hardware and software tech... -
blacknemesist
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.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... -
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. -
Ralston18 Thread trending into GRAPES and otherwise violating Forum rules.Reply
Closing thread to further posts.