Bug 229816

Summary: Are the kern.ipc.shm* values suggested in the video playback performance tips still relevant?
Product: Documentation Reporter: Mateusz Piotrowski <0mp>
Component: DocumentationAssignee: freebsd-doc mailing list <doc>
Status: New ---    
Severity: Affects Only Me CC: brooks
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

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.