Using the mach communication primitives in X11

  • Authors:
  • Michael Ginsberg;Robert V. Baron;Brain N. Bershad

  • Affiliations:
  • School of Computer Science, Carnegie Mellon University, Pittsburgh, PA;School of Computer Science, Carnegie Mellon University, Pittsburgh, PA;School of Computer Science, Carnegie Mellon University, Pittsburgh, PA

  • Venue:
  • MSYM'93 Proceedings of the 3rd conference on USENIX MACH III Symposium - Volume 1
  • Year:
  • 1993

Quantified Score

Hi-index 0.00

Visualization

Abstract

We have modified the X11 windowing system to use the native communication facilities of the ach 3.0 microkernel. Our new implementation can rely on ach's low-overhead IPC facility as a direct replacement for sockets, or it can use shared memory as a transport between X11 clients and the server. On conventional BSD Unix systems. X11 communication is done through sockets. Because a user-level process implements Unix functionality on top of ach 3.0, a socket-based version of X11 performs substantially worse than when running on a monolithic Unix kernel. Using ach IPC as the transport between X11 clients and the server. X11 performance is slightly better than that of a monolithic system in which sockets are implemented inside the kernel as opposed to within a user level process. Using ach's shared memory facilities as the transport, we have measured performance improvements of over 40%.