-
Notifications
You must be signed in to change notification settings - Fork 0
/
kernel_options
74 lines (60 loc) · 3.81 KB
/
kernel_options
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
To enable File Based MM:
CONFIG_FILE_BASED_MM
To Disable Meltdown Mitigation:
CONFIG_PAGE_TABLE_ISOLATION=n
CONFIG_RETPOLINE=n
Stuff for debugging:
CONFIG_GDB_SCRIPTS=y
CONFIG_FRAME_POINTER=y
Seems to be needed for BCC:
CONFIG_IKHEADERS=y
Seems to be needed for generating fragmentation:
CONFIG_SLAB_FREELIST_RANDOM=y
CONFIG_SHUFFLE_PAGE_ALLOCATOR=y
To enable direct access memory:
CONFIG_FS_DAX=y
CONFIG_DAX=y
To enable THP:
CONFIG_TRANSPARENT_HUGEPAGE=y
To have ramdisks in /dev:
CONFIG_BLK_DEV_RAM=y
To have PMEM:
CONFIG_BLK_DEV_PMEM
CONFIG_ND_BLK
CONFIG_BTT
CONFIG_NVDIMM_PFN
CONFIG_NVDIMM_DAX
CONFIG_X86_PMEM_LEGACY
For QEMU:
CONFIG_BLK_DEV_INITRD=y
CONFIG_PCI=y
CONFIG_BINFMT_ELF=y
CONFIG_SERIAL_8250=y
CONFIG_EXT2_FS=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_WIRELESS=n
CONFIG_ATA=y
CONFIG_NETDEVICES=y
CONFIG_NET_VENDOR_REALTEK=y
CONFIG_8139TOO=y
CONFIG_WLAN=n
CONFIG_DEVTMPFS=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_BLK=y
CONFIG_VIRTIO_NET=y
CONFIG_ISO9660_FS=m
CONFIG_EXT4_FS=y
For Sysctl:
CONFIG_SYSCTL=y
CONFIG_NUMA_BALANCING=y
For FBMM:
"setup_wkspc {MACHINE} {USER} --clone_wkspc --git_user BijanT --host_bmks --host_dep --jemalloc --unstable_device_names --resize_root --secret {TOKEN} --spec_2017 /p/multifacet/infrastructure/spec2017.iso" "setup_kernel {MACHINE} {USER} --branch dev --repo github.com/BijanT/linux-file-only-mem --git_user BijanT --secret {TOKEN} --install_perf --build_mmfs +CONFIG_TRANSPARENT_HUGEPAGE -CONFIG_PAGE_TABLE_ISOLATION -CONFIG_RETPOLINE +CONFIG_GDB_SCRIPTS +CONFIG_FRAME_POINTERS +CONFIG_IKHEADERS +CONFIG_SLAB_FREELIST_RANDOM +CONFIG_SHUFFLE_PAGE_ALLOCATOR +CONFIG_FS_DAX +CONFIG_DAX +CONFIG_BLK_DEV_RAM +CONFIG_FILE_BASED_MM +CONFIG_BLK_DEV_PMEM +CONFIG_ND_BLK +CONFIG_BTT +CONFIG_NVDIMM_PFN +CONFIG_NVDIMM_DAX +CONFIG_X86_PMEM_LEGACY -CONFIG_INIT_ON_ALLOC_DEFAULT_ON"
For TPP:
"setup_wkspc {MACHINE} {USER} --clone_wkspc --git_user BijanT --host_bmks --host_dep --unstable_device_names --resize_root --secret {TOKEN} --spec_2017 /p/multifacet/infrastructure/spec2017.iso" "setup_kernel {MACHINE} {USER} --branch tpp --repo github.com/BijanT/linux-file-only-mem --git_user BijanT --secret {TOKEN} --install_perf +CONFIG_TRANSPARENT_HUGEPAGE -CONFIG_PAGE_TABLE_ISOLATION -CONFIG_RETPOLINE +CONFIG_GDB_SCRIPTS +CONFIG_FRAME_POINTERS +CONFIG_IKHEADERS +CONFIG_SLAB_FREELIST_RANDOM +CONFIG_SHUFFLE_PAGE_ALLOCATOR +CONFIG_FS_DAX +CONFIG_DAX +CONFIG_BLK_DEV_RAM +CONFIG_BLK_DEV_PMEM +CONFIG_ND_BLK +CONFIG_BTT +CONFIG_NVDIMM_PFN +CONFIG_NVDIMM_DAX +CONFIG_X86_PMEM_LEGACY +CONFIG_SYSCTL +CONFIG_NUMA_BALANCING -CONFIG_INIT_ON_ALLOC_DEFAULT_ON"
For HMSDKv1.1:
"setup_wkspc {MACHINE} {USER} --clone_wkspc --git_user BijanT --host_bmks --host_dep --jemalloc --unstable_device_names --resize_root --secret {TOKEN} --spec_2017 /p/multifacet/infrastructure/spec2017.iso --hmsdk" "setup_kernel {MACHINE} {USER} --branch v6.1-hmsdk --repo github.com/skhynix/linux/ --git_user BijanT --secret {TOKEN} --install_perf +CONFIG_TRANSPARENT_HUGEPAGE -CONFIG_PAGE_TABLE_ISOLATION -CONFIG_RETPOLINE +CONFIG_GDB_SCRIPTS +CONFIG_FRAME_POINTERS +CONFIG_IKHEADERS +CONFIG_SLAB_FREELIST_RANDOM +CONFIG_SHUFFLE_PAGE_ALLOCATOR +CONFIG_INTERLEAVE_WEIGHT -CONFIG_INIT_ON_ALLOC_DEFAULT_ON"
For HMSDKv2:
"setup_wkspc {MACHINE} {USER} --clone_wkspc --git_user BijanT --host_bmks --host_dep --jemalloc --unstable_device_names --resize_root --secret {TOKEN} --spec_2017 /p/multifacet/infrastructure/spec2017.iso --hmsdk" "setup_kernel {MACHINE} {USER} --branch v6.6-hmsdk2.0 --repo github.com/skhynix/linux/ --git_user BijanT --secret {TOKEN} --install_perf +CONFIG_TRANSPARENT_HUGEPAGE -CONFIG_PAGE_TABLE_ISOLATION -CONFIG_RETPOLINE +CONFIG_GDB_SCRIPTS +CONFIG_FRAME_POINTERS +CONFIG_IKHEADERS +CONFIG_SLAB_FREELIST_RANDOM +CONFIG_SHUFFLE_PAGE_ALLOCATOR +CONFIG_DAMON +CONFIG_DAMON_VADDR +CONFIG_DAMON_PADDR +CONFIG_DAMON_SYSFS -CONFIG_INIT_ON_ALLOC_DEFAULT_ON"