201-450 practice question 13 of 25

What is the correct parameter to pass to the kernel at boot time to force it to use only one of the available processors?

Full set: 161 questions
Answer options
A: maxcpus=1 Correct answer
B: usecpus=1
C: smpcpus=1
D: vcpumx=1
Correct Answer:
A. maxcpus=1
Explanation

The maxcpus=N parameter is a standard kernel boot command-line option that limits the total number of CPUs activated by the kernel during boot to N. Any additional CPUs present in the system beyond this limit will be ignored and remain offline. This is commonly used for debugging kernel or application issues related to symmetric multiprocessing (SMP).

Why Incorrect

B. usecpus=1 is not a valid kernel boot parameter for this purpose.
C. smpcpus=1 is not a standard kernel boot parameter. SMP itself is enabled or disabled via kernel configuration options.
D. vcpumx=1 is not a recognized kernel boot parameter.

References

1. The Linux Kernel Documentation. (n.d.). The kernel’s command-line parameters. Retrieved from https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html. The entry for maxcpus states: maxcpus=n [SMP] Maximum number of processors that an SMP kernel should make use of.

2. SUSE Linux Enterprise Server 15 Documentation. (2023). System Analysis and Tuning Guide. Chapter 10, "Kernel Boot Parameter". Lists and describes maxcpus as a valid parameter.

3. Ubuntu Community Help Wiki. (n.d.). Kernel/KernelBootParameters. Lists maxcpus as a parameter to "Tell the kernel the maximum number of CPUs to use."

Scroll to Top