News: 0001611676

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

"DHEI" Proposed For Linux To Help Cloud-Native Orchestrators & High Frequency Traders

([Linux Kernel] 6 Hours Ago Dynamic Housekeeping Enhanced Isolation)


Sent out today as a request for comments is a new patch series for Dynamic Housekeeping and Enhanced Isolation (DHEI). DHEI aims to provide run-time adjustments to kernel behavior around CPU isolation for helping with latency-sensitive tasks. The expressed goal is for helping cloud-native orchestrators and high frequency trading platforms dynamically re-partition CPU resources without downtime.

Qiliang Yuan of China Telecom sent out the patches today for Dynamic Housekeeping & Enhanced Isolation. Ultimately it's about features like isolcpus and nohz_full of the kernel being only configurable at boot time via parameters. Thus making changes require a reboot and the associated downtime. With DHEI, the hope is to be able to dynamically re-partition CPU resources for running Linux servers without that reboot/downtime.

The patches sent out today are under a request for comments "RFC" flag with no upstream Linux stakeholders yet commenting on the approach. With the proposed DHEI code, the kernel's housekeeping boundaries can be manipulated at runtime via /sys/kernel/housekeeping/ .

"Key Features:

- Fine-grained control: Separate sysfs nodes for timer, rcu, tick, workqueue, kthread, etc.

- Dynamic NOHZ_FULL: Supports enabling/disabling full dynticks mode on-the-fly by re-kicking CPUs to evaluate tick dependencies.

- SMT Awareness: An optional 'smt_aware_mode' ensures that all SMT siblings of a physical core stay in the same isolation state.

- Safety Guard: Prevents the isolation of all CPUs, ensuring at least one online CPU is always available for housekeeping tasks.

This series provides the necessary infrastructure for cloud-native orchestrators and high-frequency trading platforms to dynamically re-partition CPU resources without incurring the downtime of a reboot."

Those wishing to learn more about this DHEI proposal can do so via [1]the RFC patch series .



[1] https://lore.kernel.org/lkml/20260206-feature-dynamic_isolcpus_dhei-v1-0-00a711eb0c74@gmail.com/



A woman went into a hospital one day to give birth. Afterwards, the doctor
came to her and said, "I have some... odd news for you."
"Is my baby all right?" the woman anxiously asked.
"Yes, he is," the doctor replied, "but we don't know how. Your son
(we assume) was born with no body. He only has a head."
Well, the doctor was correct. The Head was alive and well, though no
one knew how. The Head turned out to be fairly normal, ignoring his lack of
a body, and lived for some time as typical a life as could be expected under
the circumstances.
One day, about twenty years after the fateful birth, the woman got a
phone call from another doctor. The doctor said, "I have recently perfected
an operation. Your son can live a normal life now: we can graft a body onto
his head!"
The woman, practically weeping with joy, thanked the doctor and hung
up. She ran up the stairs saying, "Johnny, Johnny, I have a *wonderful*
surprise for you!"
"Oh no," cried The Head, "not another HAT!"