- Latency
# CONFIG_FAULT_INJECTION is not set
CONFIG_LATENCYTOP=y
- rwsem
one problem is that parallel unshare/mount causes high latency because CPU is overloaded too much (1000 processes on 1 CPU), and rwsem for namespace_lock() is unfair.
disable CONFIG_RWSEM_SPIN_ON_OWNER
CONFIG_RWSEM_SPIN_ON_OWNER=y
把kernel/Kconfig.locks里的RWSEM_SPIN_ON_OWNER的默认值
“def_bool y” 改为 “bool”,如下所示:
- LOCKDEP_SUPPORT
vim arch/x86/Kconfig
“def_bool y” 改为 “bool”,如下所示:
- LOCKDEP_SUPPORT