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: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: brooks, carlavilla
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mateusz Piotrowski freebsd_committer freebsd_triage 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 freebsd_triage 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.
Comment 2 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-04-10 13:16:02 UTC
Section removed from the multimedia chapter, as 0mp pointed, the values given by the documentation were arbitrary