Bug 229816 - Are the kern.ipc.shm* values suggested in the video playback performance tips still relevant?
Summary: Are the kern.ipc.shm* values suggested in the video playback performance tips...
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 00:34 UTC by Mateusz Piotrowski
Modified: 2018-07-17 08:02 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer 2018-07-17 00:34:19 UTC
The Video Playback article [1] suggests to increase kern.ipc.shmmax kern.ipc.shmall to the following values:

    kern.ipc.shmmax=67108864 
    kern.ipc.shmall=32768

Are those values still relevant? I mean, those values probably vary from machine to machine. 

Maybe instead of suggesting some arbitrary values we should encourage to increase those values and point to further documentation describing how to choose a good value. 

[1]: https://www.freebsd.org/doc/handbook/video-playback.html
Comment 1 Brooks Davis freebsd_committer 2018-07-17 08:02:23 UTC
Checking a VM with 1GB of RAM and a system with 128GB of ram, both have default values of:

kern.ipc.shmmax: 536870912
kern.ipc.shmall: 131072

As such I doubt this recommendation matters.