Browse Definitions :
Definition

packet coalescing

What is packet coalescing?

Packet coalescing involves using a computer's network interface card (NIC) to reduce the number of generated receive interrupts the adapter issues. An interrupt is a type of signal a device generates that causes the central processing unit to suspend its current work to deal with the signaled event.

A receive interrupt indicates that the NIC has received one or more data packets from the connected network and those packets are ready for processing. Too many receive interrupts can add to the system's processing overhead, affecting application performance and increasing power consumption. Packet coalescing alleviates these issues by caching the packets until they can be processed as a group, reducing interrupt events.

The exact approach used to implement packet coalescing depends on the host system, network adapter and individual settings. Regardless of how it's implemented, packet coalescing requires one or more mechanisms that determine when to issue the interrupts for the cached packets. For example, a timer could delay the interrupt for a specific period, or a counter could specify how many packets to retain before issuing the interrupt.

Although packet coalescing can help reduce processor load and power consumption, it must be carefully implemented to avoid performance issues. Excessive packet coalescing can introduce latency in light workloads that generate relatively few receive interrupts. Applications that rely on real-time data exchange and require minimal latency can suffer with excessive packet coalescing.

Inadequate packet coalescing can also cause applications with higher packet loads to perform inefficiently. The key is to strike a balance that best serves the specific workloads without putting any one type at risk, and do troubleshooting as needed.

Screen capture of the Wireshark interface showing packet information.
As shown in this screen capture, a tool such as Wireshark can capture packet information useful for analysis and troubleshooting.

Packet coalescing in Windows

Packet coalescing is often associated with Windows computers that rely on the Network Driver Interface Specification. Microsoft and 3Com developed NDIS to provide an application programming interface for NICs. The API serves as an abstraction layer between the hardware and network drivers, and facilitates communications between network devices.

Support for packet coalescing emerged in NDIS version 6.30 and has been included in every version since. On Windows computers, packet coalescing is used to group both random and multicast traffic to increase host system efficiency overall.

To implement NDIS packet coalescing, a network driver must define receive filters that specify how to screen broadcast and multicast packets. Each filter contains a set of specific fields in the packet's protocol headers. For example, a filter might include information such as the destination port of a User Datagram Protocol header or the destination address of a media access control header.

The network driver downloads the receive filters to the underlying miniport driver, which initializes the network adapter. As part of this process, the miniport driver registers the adapter's coalescing capabilities and which of those, including the adapter's filtering capabilities, are currently enabled.

The miniport driver also configures the NIC with the appropriate filter settings. As one of numerous settings, the receive filter specifies the maximum amount of time the NIC should cache packets matching the filter's criteria. The adapter uses this value to set the hardware timer, which determines when to issue an interrupt for the cached packets.

When the NIC receives data packets, it caches those that match the filter criteria. It releases the packets as a single interrupt when any one of these events occurs:

  • The cache fills up.
  • The hardware timer expires because it has reached the maximum delay value.
  • The adapter receives a packet that does not meet the filter criteria.
  • The space available in the device's coalescing buffer reaches its low-water mark.
  • Another interrupt event occurs, such as a send completion event.

When one of these events occurs, the adapter issues an interrupt, causing the miniport driver to process the cached packets. NDIS packet coalescing can occur only when the data packets are received on port 0, the default NDIS port. The feature cannot be used for NDIS ports assigned to virtual network adapters.

Network protocols are key for communication and connection across the internet. Learn about common network protocols and their functions.

This was last updated in June 2024

Continue Reading About packet coalescing

Networking
  • subnet (subnetwork)

    A subnet, or subnetwork, is a segmented piece of a larger network. More specifically, subnets are a logical partition of an IP ...

  • Transmission Control Protocol (TCP)

    Transmission Control Protocol (TCP) is a standard protocol on the internet that ensures the reliable transmission of data between...

  • secure access service edge (SASE)

    Secure access service edge (SASE), pronounced sassy, is a cloud architecture model that bundles together network and cloud-native...

Security
  • cyber attack

    A cyber attack is any malicious attempt to gain unauthorized access to a computer, computing system or computer network with the ...

  • digital signature

    A digital signature is a mathematical technique used to validate the authenticity and integrity of a digital document, message or...

  • What is security information and event management (SIEM)?

    Security information and event management (SIEM) is an approach to security management that combines security information ...

CIO
  • product development (new product development)

    Product development -- also called new product management -- is a series of steps that includes the conceptualization, design, ...

  • innovation culture

    Innovation culture is the work environment that leaders cultivate to nurture unorthodox thinking and its application.

  • technology addiction

    Technology addiction is an impulse control disorder that involves the obsessive use of mobile devices, the internet or video ...

HRSoftware
  • organizational network analysis (ONA)

    Organizational network analysis (ONA) is a quantitative method for modeling and analyzing how communications, information, ...

  • HireVue

    HireVue is an enterprise video interviewing technology provider of a platform that lets recruiters and hiring managers screen ...

  • Human Resource Certification Institute (HRCI)

    Human Resource Certification Institute (HRCI) is a U.S.-based credentialing organization offering certifications to HR ...

Customer Experience
  • contact center agent (call center agent)

    A contact center agent is a person who handles incoming or outgoing customer communications for an organization.

  • contact center management

    Contact center management is the process of overseeing contact center operations with the goal of providing an outstanding ...

  • digital marketing

    Digital marketing is the promotion and marketing of goods and services to consumers through digital channels and electronic ...

Close