Page MenuHomeFreeBSD

vmm(4): document maxcpu tunable
ClosedPublic

Authored by yuripv on May 11 2023, 9:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 11:50 PM
Unknown Object (File)
Mon, Nov 4, 11:50 PM
Unknown Object (File)
Mon, Nov 4, 11:50 PM
Unknown Object (File)
Sun, Nov 3, 7:15 AM
Unknown Object (File)
Sat, Nov 2, 11:22 PM
Unknown Object (File)
Sep 28 2024, 1:39 PM
Unknown Object (File)
Sep 24 2024, 10:28 PM
Unknown Object (File)
Sep 24 2024, 8:32 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

corvink added a subscriber: corvink.
corvink added inline comments.
share/man/man4/vmm.4
25
This revision is now accepted and ready to land.May 12 2023, 5:34 AM
grahamperrin added a subscriber: grahamperrin.
grahamperrin added inline comments.
share/man/man4/vmm.4
85
89
90
usr.sbin/bhyve/bhyve.8
146–148
149–150
This revision now requires changes to proceed.May 12 2023, 6:46 AM
yuripv added inline comments.
share/man/man4/vmm.4
85

I'm not a grammar expert for sure, but should we then fix all other ones? :)

$ grep -FIr 'before booting the kernel or stored' share/man | wc -l
      36
$ grep -FIr 'before booting the kernel, or stored' share/man | wc -l
       5
90

Saying "physical" sounds wrong to me somehow -- we are talking about the result of sockets/cores/threads here, and "physical" makes me think about just "sockets".

usr.sbin/bhyve/bhyve.8
146–148

"can be changed with vmm(4)" sounds like broken sentence to me

Thanks for catching this.

share/man/man4/vmm.4
85

I think you don't need the comma. It's not a conjunction between two sentences, but a compound predicate (subject is "Tunables" predicate is "set ... or stored ...").

89

Maybe "Maximum number of virtual CPUs for each virtual machine."

The limit is per-VM, not global across all VMs.

90

The goal is to communicate real CPUs on the host, and physical is the normal antonym for virtual. In the commit adding this tunable I did use this sentence:

The default is now the number of physical CPUs in the system rather
than 16.

I think you can drop "active" from the suggestion.

usr.sbin/bhyve/bhyve.8
146–148

Yes, I would drop the ", and can be changed with" and use the original "See" for the last part here. I would keep most of the suggestion from Graham though, but perhaps drop "active" as I suggested for the same phrase above.

This revision was not accepted when it landed; it landed in state Needs Revision.Oct 12 2023, 7:52 PM
This revision was automatically updated to reflect the committed changes.