MIT-SHM
The MIT Shared Memory Extension or MIT-SHM or XShm is an X Window System extension for exchange of image data between client and server using shared memory (usually ).[src] The mechanism only works when both pieces are on the same computer.[src] The basic capability provided is that of shared memory XImages.[src] This is essentially a version of the ximage interface where the actual image data is stored in a SysV shared memory segment, and thus need not be transferred across the socket to the X server.[src] For large images, use of this facility can result in some real performance increases.[src] Additionally, some implementations provide shared memory pixmaps.[src] These are two-dimensional arrays of pixels in a format specified by the X server, where the image data is stored in the shared memory segment.[src] Through use of shared memory pixmaps, it is possible to change the contents of these pixmaps without using any Xlib routines at all.[src] Shared memory pixmaps can only be supported when the X server can use regular virtual memory for pixmap data; if the pixmaps are stored in the on-board memory of graphics hardware, an application will not be able to share them with the server.…[src]
The MIT Shared Memory Extension or MIT-SHM or XShm is an X Window System extension for exchange of image data between client and server using shared memory (usually ).[src] The mechanism only works when both pieces are on the same computer.[src] The basic capability provided is that of shared memory XImages.[src] This is essentially a version of the ximage interface where the actual image data is stored in a SysV shared memory segment, and thus need not be transferred across the socket to the X server.[src] For large images, use of this facility can result in some real performance increases.[src] Additionally, some implementations provide shared memory pixmaps.[src] These are two-dimensional arrays of pixels in a format specified by the X server, where the image data is stored in the shared memory segment.[src] Through use of shared memory pixmaps, it is possible to change the contents of these pixmaps without using any Xlib routines at all.[src] Shared memory pixmaps can only be supported when the X server can use regular virtual memory for pixmap data; if the pixmaps are stored in the on-board memory of graphics hardware, an application will not be able to share them with the server.[src] In the 1.15 release of the X.org server the MIT-SHM extension gains two additional requests: 'X_ShmAttachFd' and 'X_ShmCreateSegment', to be able to pass shared memory through file descriptors from client to server and from server to client, reducing the number of copy operations further.[src]
19 sentences · 19 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"MIT-SHM." encyclopegia.org, 2025, https://encyclopegia.org/wiki/mit-shm. Accessed 06 December 2026.
Chicago
"MIT-SHM." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/mit-shm.
APA
encyclopegia.org. (2025). MIT-SHM. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/mit-shm
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON