Commit 32bec6b
committed
mm/mempolicy: Add override to force numa policy
Some apps like linpack call numa_setpolicy to disable numa,
but that tends to have a significant performance hit for us.
Add an option to force the default numa mode (and so ignore
policy changes) for now.
Consider making this the default behaviour in the future.
Use mempolicy.force_numa=1 in cmdline.txt or
echo 1 | sudo tee /sys/module/mempolicy/parameters/force_numa
to force the default numa policy.
Signed-off-by: Dom Cobley <[email protected]>1 parent 8d53a07 commit 32bec6b
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
1629 | 1633 | | |
1630 | 1634 | | |
1631 | 1635 | | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
1632 | 1643 | | |
1633 | 1644 | | |
1634 | 1645 | | |
| |||
0 commit comments