# Accent kernel

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Accent_kernel
> Markdown URL: https://mediated.wiki/source/Accent_kernel.md
> Source: https://en.wikipedia.org/wiki/Accent_kernel
> Source revision: 1321522567
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

Operating system kernel and predecessor to Mach

This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help improve this article by introducing more precise citations. (February 2018) (Learn how and when to remove this message)

**Accent** is an [operating system](/source/Operating_system) [kernel](/source/Kernel_(operating_system)), most notable for being the predecessor to the [Mach kernel](/source/Mach_(kernel)). Originally developed at [Carnegie Mellon University](/source/Carnegie_Mellon_University) (CMU), Accent was influenced by the [Aleph kernel](/source/Aleph_kernel) developed at the [University of Rochester](/source/University_of_Rochester). Accent improves upon Aleph, fixing several problems and re-targeting hardware support for networks of [workstation](/source/Workstation) machines (specifically, the [Three Rivers](/source/Three_Rivers_Computer_Corporation) [PERQ](/source/PERQ)) instead of [minicomputers](/source/Minicomputer). Accent was part of the [SPICE Project](https://en.wikipedia.org/w/index.php?title=SPICE_Project&action=edit&redlink=1) at CMU which ran from 1981 to 1985. Development of Accent led directly to the introduction of Mach, used in [NeXTSTEP](/source/NeXTSTEP), [GNU Hurd](/source/GNU_Hurd), and modern Apple operating systems including [macOS](/source/MacOS) and [iOS](/source/IOS).

## History

The original Aleph project used data copying to allow programs to communicate. Applications could open *ports*, which would allow them to receive data sent to them by other programs. The idea was to write a number of *servers* that would control resources on the machine, passing data along until it reached an end user. In this respect it was similar in concept to [Unix](/source/Unix), although the implementation was much different, using messages instead of memory. This turned out to have a number of problems, notably that copying memory on their [Data General Eclipse](/source/Data_General_Eclipse) was very expensive.

In 1979 one of the Aleph engineers, [Richard Rashid](/source/Richard_Rashid), left for CMU and started work on a new version of Aleph that avoided its problems. In particular, Accent targeted workstation machines featuring a [MMU](/source/Memory_management_unit), using the MMU to "copy" large blocks of memory via *mapping*, making the memory appear to be in two different places. Only data that was changed by one program or another would have to be physically copied, using the [copy-on-write](/source/Copy-on-write) algorithm.

To understand the difference, consider two interacting programs, one feeding a file to another. Under Aleph the data from the provider would have to be copied 2kB at a time (due to features of the Eclipse) into the user process. Under Accent the data simply "appeared" in the user process for the cost of a few instructions sent to the MMU. Only if the user process changed the data would anything need to be copied, and even then, only the portions of the data that actually changed.

Another problem in Aleph was that its ports were identified by unique ID's that were assigned sequentially. It was simple for a program to "guess" them, thereby gaining access to resources on the computer that it had not been granted. This made the Aleph system rather insecure.

To address this, Accent made the port ID's internal to the kernel only. Instances of a program opening ports were handed back different IDs, stored in a mapping in the kernel. Whenever a message was sent to the kernel for delivery, it would first check that the program had access to the port in question by comparing with the mapping table for that program. Guessing port numbers no longer worked, the program's port IDs gave no clue of the "real" IDs in the kernel, and any attempt to talk on one not explicitly handed out by the kernel was an error. Thus Accent's ports represented *[capabilities](/source/Capability-based_security)*, granting rights to use resources as the result of being handed a valid port ID. This kind of capability system, using [subject](/source/Access_control#Computer_security)-specific identifiers for capabilities, is called a [C-list system](/source/C-list_(computer_security)).

After a few years the Accent project started looking less and less interesting. In the early 1980s many felt that future gains in performance would be made by adding more [CPUs](/source/Central_processing_unit) to machines, something the Accent kernel was not really equipped to handle. Adding to the problem was that a new generation of more powerful workstations were appearing, meaning that Accent would likely have to be ported to them anyway. Likewise Unix had grown into *the* operating system of choice for experimental work, both on operating system design, as well as a development platform for user applications.

In order to address these changes, it was decided to end work on Accent and start again. The new system would use Accent's ports system within a Unix kernel, creating the famed [Mach kernel](/source/Mach_kernel).

Some features of Accent:

- Port capabilities

- [Copy-on-write](/source/Copy-on-write) [virtual memory](/source/Virtual_memory) management

- [Distributed file](/source/Distributed_filesystem) management

- [Distributed process](/source/Distributed_processing) management

- Protected message-based [inter-process communication](/source/Inter-process_communication)

- Ability to run processes with different [microcoded](/source/Microcode) instruction sets.

## References

## External links

- [Rashid, Richard F.](/source/Richard_Rashid); George G. Robertson (December 1981). [*Accent: A communication oriented network operating system kernel*](https://dl.acm.org/doi/10.1145/800216.806593) (PDF). Sosp '81. pp. 64–75. [doi](/source/Doi_(identifier)):[10.1145/800216.806593](https://doi.org/10.1145%2F800216.806593). [ISBN](/source/ISBN_(identifier)) [9780897910620](https://en.wikipedia.org/wiki/Special:BookSources/9780897910620). [S2CID](/source/S2CID_(identifier)) [15890135](https://api.semanticscholar.org/CorpusID:15890135).

- Myers, Brad A. . ["The User Interface for Sapphire,"](https://www.youtube.com/watch?v=0CDRG5BjGmU) Human Factors in Computing Systems; SIGCHI '85 Videotape Review. San Francisco, CA. Apr 14-18, 1985.

---
Adapted from the Wikipedia article [Accent kernel](https://en.wikipedia.org/wiki/Accent_kernel) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Accent_kernel?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
