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: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 00:34 UTC by Mateusz Piotrowski
Modified: 2023-04-10 13:16 UTC (History)
2 users (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 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