[Feature] Support binding swap device to a node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intel |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description
NSG found binding a swap device to a node could improve swap related performance on multi-node system so they would like such feature upstreamed.
NSG used to use a previous patch from me that did automatic swap device binding, but that patch requires the swap device has physical node information and works best when swap devices are attached to different node. Systems like EP doesn't have multiple IO hub so multiple swap devices are actually on the same physical node. For this reason, I've then developed a entirely new patch that enables binding swap device to a node, even when 2 swap devices are on the same physical node, they can still be individually bound to 2 different nodes.
Target Kernel: 4.14
Target Release: 18.04
Merged in kernel v4.14-rc1. 39f59ca896671e5 819ff5f94a
Commit id:
a2468cc9bfdff61