Changeset View
Changeset View
Standalone View
Standalone View
share/man/man7/tuning.7
| Show First 20 Lines • Show All 595 Lines • ▼ Show 20 Lines | ||||||||||||
| .Va kern.maxusers | .Va kern.maxusers | |||||||||||
| so you should not need to modify this parameter except under extreme | so you should not need to modify this parameter except under extreme | |||||||||||
| circumstances. | circumstances. | |||||||||||
| See the | See the | |||||||||||
| .Sx TUNING | .Sx TUNING | |||||||||||
| section in the | section in the | |||||||||||
| .Xr sendfile 2 | .Xr sendfile 2 | |||||||||||
| manual page for details. | manual page for details. | |||||||||||
| .Sh SCHEDULERS | ||||||||||||
| .Fx | ||||||||||||
| allows having more than one scheduler specified in the kernel config, | ||||||||||||
emasteUnsubmitted Not Done Inline Actions
emaste: | ||||||||||||
| and the desired scheduler selected from them at boot time. | ||||||||||||
Done Inline Actions
olce: | ||||||||||||
| Right now the options are: | ||||||||||||
| .Bl -tag -width SCHED_4BSD | ||||||||||||
| .It Cd SCHED_ULE | ||||||||||||
| The modern scheduler with O(1) thread selection behavior. | ||||||||||||
Done Inline Actions
olce: | ||||||||||||
| .It Cd SCHED_4BSD | ||||||||||||
| Classic scheduler inherited from 4.x BSD. | ||||||||||||
Done Inline Actions
olce: | ||||||||||||
| .El | ||||||||||||
| .Pp | ||||||||||||
| At least one option must be specified. | ||||||||||||
| .Cd SCHED_ULE | ||||||||||||
| is used by default if compiled in. | ||||||||||||
| .Pp | ||||||||||||
| The | ||||||||||||
| .Va kern.sched.available | ||||||||||||
| sysctl provides the comma-separated list of available (compiled in) | ||||||||||||
| schedulers. | ||||||||||||
| The | ||||||||||||
| .Va kern.sched.name | ||||||||||||
| loader tunable can be set to select the desired scheduler at boot time. | ||||||||||||
| The | ||||||||||||
| .Va kern.sched.name | ||||||||||||
| sysctl reports which scheduler is used. | ||||||||||||
| .Sh KERNEL CONFIG TUNING | .Sh KERNEL CONFIG TUNING | |||||||||||
| There are a number of kernel options that you may have to fiddle with in | There are a number of kernel options that you may have to fiddle with in | |||||||||||
| a large-scale system. | a large-scale system. | |||||||||||
| In order to change these options you need to be | In order to change these options you need to be | |||||||||||
| able to compile a new kernel from source. | able to compile a new kernel from source. | |||||||||||
| The | The | |||||||||||
| .Xr config 8 | .Xr config 8 | |||||||||||
| manual page and the handbook are good starting points for learning how to | manual page and the handbook are good starting points for learning how to | |||||||||||
| ▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines | ||||||||||||