Siware Kernel on a motherboard, engraved with “Lockless Shared-Everything Architecture”

Siware KernelLockless shared-everything architecture

All CPU cores can read and write shared memory concurrently,
without complex state synchronization.

What makes multicore
coordination difficult?

More cores can run more tasks in parallel. They also need a way to access shared data, coordinate state and distribute work.

Core 1RequestsMutexOne at a time

Waiting for a lock

When several cores compete for a mutex, only one can access the queue at a time. Work can run in parallel while handoffs still have to wait.

Compare queue designs
Core 1Local dataCore 2Local dataCore 3Local dataCross-core lookup and synchronization

Keeping local state in sync

If each core stores its own data, moving work between cores requires a state lookup and coordination between copies. Both the code and the running system have more to manage.

Compare memory access
Traffic tasksCore 1Core 2Core 3Core 4Shared memory

Assigning tasks and accessing data

A scheduler must consider both where a task runs and where its data lives. With fixed assignments, uneven traffic can leave some cores busy while others have spare capacity.

Compare scheduling

Shared memory.
Parallel processing.

Shared state, lockless queues and multicore scheduling power traffic processing in Nova Shield and Nova Balance.

Multicore processing with the Siware Kernel lockless shared-everything architectureEach CPU core has a direct path to the Packet Pipeline and session table. Four cores illustrate how the software works. Hardware core counts vary by configuration.CPUMulticoreTraffic tasksCore 1Core 2Core 3Core 4

Siware Kernel

Lockless Shared-Everything Architecture

  • Packet Pipeline
  • Session table

Each CPU core has a direct path to the Packet Pipeline and session table.

All cores share one state.

In a lockless shared-everything architecture, every CPU core can read and write shared memory concurrently without a separate state synchronization step.

Core mechanisms
All cores can read and write the same memory concurrently.
Benefit
Program against one shared state while the cores process traffic in parallel without locks.
Compare shared state
  1. Access shared memory

    A processing core looks up the data it needs for a task.

  2. Read and write concurrently

    All cores can access the same memory without maintaining separate copies.

  3. Continue processing

    Cores work against the same state, avoiding complex synchronization.

A single state model lets developers program across cores while the kernel processes traffic in parallel without locks.

Three ways to coordinate
work across cores

Compare how common multicore designs and Siware Kernel handle memory access, queue handoffs and task scheduling.

How cores access state

Where state lives determines how a core retrieves data that another core has used. With shared memory, all cores can work against the same state.

Each core maintains local data

Conventional design

Memory access — Conventional designFour cores each read and write local data. Two-way dashed arrows link the four copies for cross-core lookups and synchronization.Each core keeps its own dataCore 1Core 2Core 3Core 4Local dataLocal dataLocal dataLocal dataCross-core lookup and synchronization
Separate copies require coordination.
  • Each core stores the data required for its own tasks.
  • Moving work across cores requires finding the relevant state and coordinating access or synchronizing copies.

All cores read and write shared memory

Connyon Siware Kernel

Memory access — Siware KernelFour cores follow independent two-way paths to read and write the same shared memory concurrently.All cores access the same dataCore 1Core 2Core 3Core 4Read/writeShared memory
Concurrent access to shared memory.
  • Every CPU core can read and write the same data concurrently.
  • Developers can work with a single state model across cores without complex synchronization.

The architecture shares more than connection and session state. Its components include the Packet Pipeline and the session table.

How cores hand off data

Cores must exchange data as well as process it. The queue design determines whether several handoffs can proceed at once.

Cores compete for one mutex

Conventional design

Queue handoff — Conventional designFour cores request access. Three wait at a mutex while the request holding the lock enters the queue.Requests wait for one lockCore 1Core 2Core 3Core 4WaitingMutexMutex-protected queue
A mutex serializes queue access.
  • Only the request that holds the lock can access the queue.
  • Competing requests must wait until the lock becomes available.

Cores exchange data through a lockless queue

Connyon Siware Kernel

Queue handoff — Siware KernelFour cores transfer data concurrently along separate paths into a lockless queue.Independent queue handoffsCore 1Core 2Core 3Core 4In parallelLockless queue
Cores exchange data concurrently.
  • Multiple cores can transfer data through the queue concurrently.
  • Handoffs depend less on a mutex to control queue access.

Lockless queues transfer data between cores. Together with shared memory, they support parallel processing.

How work reaches each core

Traffic rarely arrives evenly. Scheduling takes data access into account so that more cores can help process the workload.

Traffic can build up on a few cores

Conventional design

Task assignment — Conventional designFixed rules direct uneven traffic to core one, creating a backlog while other cores have spare capacity.Fixed assignment with uneven trafficCore 1Core 2Core 3Core 4BacklogSpare capacity
Uneven traffic with fixed assignments.
  • Fixed rules assign traffic to specific cores.
  • When traffic is uneven, one core can build up a backlog while others have spare capacity.

Multiple cores share the workload

Connyon Siware Kernel

Task assignment — Siware KernelThe scheduler distributes work to four cores. Each core has an independent path to shared memory for parallel processing.Multicore schedulingCore 1Core 2Core 3Core 4Shared memory
Distributed work with shared data.
  • The multicore scheduler distributes traffic processing tasks across cores.
  • Cores run in parallel and access shared data without complex state synchronization.

A task can run on another core because its state is accessible through shared memory.

Scrubbing capacity
per rack unit

The Nova Shield NS-X6400 provides 6.4 Tbps of scrubbing capacity in a 2U chassis.

View NS-X6400 specs
6.4Tbps

Scrubbing capacity

Rack space
2U
Throughput per rack unit
3.2Tbps/U

Test conditions: IMIX traffic with scrubbing enabled

Cover of the Intel Builders white paper on high-density DDoS mitigation

Validation published by Intel

The white paper describes the earlier NS-X4000 validation platform, its architecture and the results of its high-density DDoS mitigation tests.

Next-Generation High-Density DDoS Mitigation System for Tbps-Scale Traffic

One kernel for mitigation
and load balancing

Browse all models

Nova Shield

DDoS mitigation firewall

Shared memory and parallel processing across cores enable Nova Shield to scrub traffic at the network edge.

Explore Nova Shield

Nova Balance

Load balancer

Nova Balance uses multicore scheduling and shared data to distribute connections and traffic across server clusters.

Explore Nova Balance

Discuss your traffic requirements

Share your bandwidth, connection volume and deployment environment to find a suitable configuration.

LET’S CONNECT

Discuss your network requirements

Prepare an inquiry you can copy and send to your contact.