Bus mastering
In computing, bus mastering is a feature supported by many bus architectures that enables a device connected to the bus to initiate direct memory access (DMA) transactions.[src] It is also referred to as first-party DMA, in contrast with third-party DMA where a system DMA controller actually does the transfer.[src] Some types of buses allow only one device (typically the CPU, or its proxy) to initiate transactions.[src] Most modern bus architectures, such as PCI, allow multiple devices to bus master because it significantly improves performance for general-purpose operating systems.[src] Some real-time operating systems prohibit peripherals from becoming bus masters, because the scheduler can no longer arbitrate for the bus and hence cannot provide deterministic latency.[src] While bus mastering theoretically allows one peripheral device to directly communicate with another, in practice almost all peripherals master the bus exclusively to perform DMA to main memory.[src] If multiple devices are able to master the bus, there needs to be a bus arbitration scheme to prevent multiple devices attempting to drive the bus simultaneously.[src] A number of different schemes are used for this; for example SCSI has a fixed priority for each SCSI ID.[src] PCI does not specify the algorithm to use, leaving it up to the implementation to set priorities.[src]
In computing, bus mastering is a feature supported by many bus architectures that enables a device connected to the bus to initiate direct memory access (DMA) transactions.[src] It is also referred to as first-party DMA, in contrast with third-party DMA where a system DMA controller actually does the transfer.[src] Some types of buses allow only one device (typically the CPU, or its proxy) to initiate transactions.[src] Most modern bus architectures, such as PCI, allow multiple devices to bus master because it significantly improves performance for general-purpose operating systems.[src] Some real-time operating systems prohibit peripherals from becoming bus masters, because the scheduler can no longer arbitrate for the bus and hence cannot provide deterministic latency.[src] While bus mastering theoretically allows one peripheral device to directly communicate with another, in practice almost all peripherals master the bus exclusively to perform DMA to main memory.[src] If multiple devices are able to master the bus, there needs to be a bus arbitration scheme to prevent multiple devices attempting to drive the bus simultaneously.[src] A number of different schemes are used for this; for example SCSI has a fixed priority for each SCSI ID.[src] PCI does not specify the algorithm to use, leaving it up to the implementation to set priorities.[src] ==See also== Master/slave (technology) SCSI initiator and target ==References== How Bus Mastering Works - Tweak3D What is bus mastering?- Brevard User's Group[src]
19 sentences · 19 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Bus mastering." encyclopegia.org, 2026, https://encyclopegia.org/wiki/bus-mastering. Accessed 29 November 2026.
Chicago
"Bus mastering." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/bus-mastering.
APA
encyclopegia.org. (2026). Bus mastering. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/bus-mastering
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON