Browse Definitions :
Definition

I/O (input/output)

What is I/O (input/output)?

I/O (input/output), pronounced "eye-oh," describes any operation, program or device that transfers data to or from a computer. Common I/O devices include printers, hard disks, keyboards and mice.

Input/output devices play a crucial role in computer programming by streamlining how computing devices communicate across a network.

Why is I/O important?

In computer architecture, I/O encompasses a range of tasks that must be executed properly to support sharing data among discrete machines. All types of data movement within a system rely on I/O operations, including audio files, software instruction sets, text and video streams.

Input/output signals carry instructions that a computer's central processing unit (CPU) must execute to initiate data transfer. The input can come from hardware, software or human interaction.

I/O input signals shuttle data from a CPU, storage controller or memory to a storage device. I/O output signals flow from a computer to an output device.

Some I/O devices are input-only devices, meaning they send data but do not receive data; output-only devices do the opposite, receiving input but not able to send data to other machines. Some I/O devices receive input, process the data and produce output.

Conceptual overview of a computer system.
I/O describes any operation, program or device that transfers data to or from a computer. For example, I/O signals move data from a CPU, storage controller or memory to a storage device.

How do I/O operations occur?

I/O devices are categorized generally as storage, network communications, user interface or related hardware services that use discrete systems to interface with a computer. To communicate, devices use parallel or serial I/O ports, or an over-the-air signal.

Input/output falls into two categories: hard I/O and soft I/O. Hard I/O refers to a straightforward transfer of data that occurs between a computer and an external physical device, such as a keyboard or a mouse. Soft I/O occurs when data is transferred between computers or servers over a network, such as streaming media or file sharing.

I/O operations are calculated based on the number of operations that occur per second, also known as IOPS, or as a measure of transfer speed. I/O performance is affected by the capabilities of the equipment within a computer, including drives, graphics cards and network gear.

How to differentiate between SATA (serial) and PATA (parallel) connectors.
Computer devices communicate using parallel or serial I/O ports or through wireless technology.

What is I/O memory management?

Modern computing systems are often built with an I/O processor situated between the system bus and attached peripherals. I/O processors are specifically equipped to handle the operations associated with data transfer.

To facilitate communication between I/O devices and processors, an I/O interface identifies all addresses generated by the CPU. Controllers are tasked with making sure data is transmitted to the computer's assortment of components. Various control methods are used, including the following:

  • Programmed I/O (PIO). This method requires the processor to execute commands for every I/O transfer; thus, it is the slowest method. The advantage is that programmed I/O is the simplest to program.
  • Interrupt-driven I/O. With this method, an I/O device sends a command when it is ready to receive data. The CPU then suspends what it is doing temporarily to carry out the new instructions before resuming its prior activities. In this way, the CPU does not need to check the receiving status of the I/O device.
  • Advanced Programmable Interrupt Controller (APIC). This variation sends an interrupt signal to the APIC to notify the processor when a device is prepared to send data.
  • Direct memory access (DMA). DMA bypasses the CPU to send data commands from peripherals to main memory. DMA is the replacement for PIO, also known as programmable I/O, a process in which the CPU manages all data transactions.
  • Input-output memory machine unit (IOMMU). Designed for virtual machines, IOMMU allows an operating system (OS) to correlate the mapping of physical and virtual devices to efficiently allocate memory resources.

What's the difference between I/O input and I/O output?

I/O devices are categorized as storage, networking, user interface or related hardware-enabled services that connect discrete machines or systems.

Management of I/O devices is handled by the computer's OS via a dedicated subsystem designed to manage device drivers or any attached hardware. Modern computers support a range of devices, including audio and video drives, Bluetooth adapters, disk drives, display adapters, dongles, high-speed printers, modems, USB flash drives and mobile hotspots.

An I/O input device creates an interface between end users and a computer or another information system. The input device sends commands via a hardware component, software or human interaction. In I/O input, data flows from the device to a computer.

I/O output operations refer to data signals sent by the output device in response to the data input. The data flows from the computer to the output device, where it is extracted and processed. The processing ensures the data output is presented in a manner that users will understand.

What are I/O input devices?

I/O input-only devices include the following:

How an analog-to-digital converter works.
Analog-to-digital converters, which change continuous analog signals to discrete digital ones, are an example of an I/O input-only device.

What are I/O output devices?

Devices that handle only I/O output include the following:

Which I/O devices provide data input and data output?

Voice-activated virtual assistants illustrate technologies that handle both input and output of data. When users vocalize search requests, these devices retrieve the requested information and convey the results using natural language processing. The user's request is the input; the device's voice response is the output.

Hard disk drives and solid-state drives (SSDs) can be classified as both input and output devices. Data is written to NAND flash-based drive sectors and can also be fetched from the SSD.

Other devices that are able to send and receive data include the following:

Some experts claim that disk and flash drives fall under storage, whereas I/O operations are aligned with network bandwidth. Others argue that disk and flash storage allow data reads and writes, and thus can receive data input and produce data output.

See seven major server hardware components you should know and learn the differences between flash memory vs. RAM.

This was last updated in August 2023

Continue Reading About I/O (input/output)

Networking
  • firewall as a service (FWaaS)

    Firewall as a service (FWaaS), also known as a cloud firewall, is a service that provides cloud-based network traffic analysis ...

  • private 5G

    Private 5G is a wireless network technology that delivers 5G cellular connectivity for private network use cases.

  • NFVi (network functions virtualization infrastructure)

    NFVi (network functions virtualization infrastructure) encompasses all of the networking hardware and software needed to support ...

Security
  • virus (computer virus)

    A computer virus is a type of malware that attaches itself to a program or file. A virus can replicate and spread across an ...

  • Certified Information Security Manager (CISM)

    Certified Information Security Manager (CISM) is an advanced certification that indicates that an individual possesses the ...

  • cryptography

    Cryptography is a method of protecting information and communications using codes, so that only those for whom the information is...

CIO
  • B2B (business to business)

    B2B (business-to-business) is a type of commerce involving the exchange of products, services or information between businesses, ...

  • return on investment (ROI)

    Return on investment (ROI) is a crucial financial metric investors and businesses use to evaluate an investment's efficiency or ...

  • big data as a service (BDaaS)

    Big data as a service (BDaS) is the delivery of data platforms and tools by a cloud provider to help organizations process, ...

HRSoftware
  • talent acquisition

    Talent acquisition is the strategic process an organization uses to identify, recruit and hire the people it needs to achieve its...

  • human capital management (HCM)

    Human capital management (HCM) is a comprehensive set of practices and tools used for recruiting, managing and developing ...

  • Betterworks

    Betterworks is performance management software that helps workforces and organizations to improve manager effectiveness and ...

Customer Experience
  • martech (marketing technology)

    Martech (marketing technology) refers to the integration of software tools, platforms, and applications designed to streamline ...

  • transactional marketing

    Transactional marketing is a business strategy that focuses on single, point-of-sale transactions.

  • customer profiling

    Customer profiling is the detailed and systematic process of constructing a clear portrait of a company's ideal customer by ...

Close