Computer Architecture and Systems
Computer architecture and systems research focuses on how computers are designed and built to meet goals for speed, efficiency, reliability and security. It spans the hardware itself, including processors, memory, interconnects and storage, and the software techniques that get the most out of it.
Our researchers develop new architectures for the demands of modern computing, from multicore processors and hardware accelerators to specialized systems for artificial intelligence and data-intensive workloads. They also work on parallel and distributed computing, embedded and real-time systems, compilers and hardware security.
Associated Labs/Centers
Primary Faculty
Research Showcase
AI-Powered Tool Helps Computer Architects Boost Processor Performance
Samira Mirbagher Ajorpaz and her team created CacheMind, the first computer architecture simulator that can answer open-ended questions about complex hardware-software interactions. The AI-assisted tool helps architects improve how processors manage memory caches, a key factor in overall performance.
Embedded Computer Systems
An embedded system is a computer built into the device it controls, such as a car’s braking system, a thermostat, a medical device or a smartphone. Unlike a general-purpose computer, it performs a defined set of tasks, so engineers can optimize it for size, cost and power. Because embedded systems are often mass-produced, small savings can multiply across millions of units.
Embedded systems research is especially rich because designers usually control both the hardware and the software. That lets them work across processor design, memory systems, compilers, operating systems and real-time scheduling at once and find optimizations no single layer could achieve.
A central challenge is predictable performance. Many embedded systems, like anti-lock brakes, have hard real-time deadlines: if a computation finishes late, the system fails. The features that make modern processors fast, such as pipelining, out-of-order execution and caches, also make their timing harder to predict. Researchers develop ways to build systems that are both fast and predictable, and better ways to analyze the timing of complex processors.
Memory Systems
The memory system, which includes caches, main memory and long-term storage, has an outsized effect on how fast and efficiently a computer runs. Caches now take up a large share of the chip area in high-performance processors, and that share keeps growing with multicore and manycore designs.
Designing memory systems means balancing goals that often conflict: fast access, high bandwidth, low power, low cost, reliability, security and ease of programming. Prefetching hides memory delays but uses more bandwidth. Compression saves bandwidth but can slow cache access. Error-correcting codes improve reliability but add cost and delay. Getting these tradeoffs right takes deep expertise and close attention to how a system will be used.
NC State has a long record of pioneering memory systems research. Past projects include fair caching, which balances performance among cores that share a cache; quality-of-service frameworks that give applications performance guarantees on multicore chips; and encrypted, authenticated memory that protects data with low performance overhead.
Microprocessor Architecture
A high-performance microprocessor sits at the heart of every computer, from servers and laptops to smartphones. Its job is to run software correctly and as fast as possible within tight limits on cost and power.
Microprocessor research looks for ways to find and exploit parallelism hidden in programs. A processor appears to run one instruction at a time but actually overlaps the execution of hundreds. Speculation techniques, including branch prediction, dynamic scheduling, caching, prefetching and value prediction, make that possible despite dependencies between instructions.
Processors exploit parallelism at several levels: among individual instructions, across many data elements at once and across larger threads of work that can run on separate cores. As technology changes, architects revisit old ideas and rethink established ones. NC State projects have explored heterogeneous multicore chips with cores customized for different workloads (FabScalar), distributing a program’s data and computation across many cores (MemoryFlow) and pairing cores in a leader-follower arrangement for speed and fault tolerance (Slipstream).
Parallel and Distributed Computer Architecture
Parallel computing splits a task across many processors so it finishes faster. Parallel machines differ in whether processors run the same instruction on different data or different instructions entirely, and in how they share information, either through a shared memory or by passing messages.
Today’s fastest supercomputers combine millions of processor cores and GPU accelerators to reach exascale performance, more than a quintillion calculations per second. Parallelism is no longer limited to supercomputers, though. Every modern laptop, phone and embedded device has multiple cores, and AI workloads depend on massively parallel hardware.
The challenge for architects is to make parallel performance available to a broad range of applications. That requires advances in processors, interconnection networks, memory systems, compilers, programming languages and operating systems, so programs are easier to write, run efficiently and use as little power as possible.
Security and Reliable Computing
Reliable, or fault-tolerant, computing keeps a system running correctly even when parts of it fail. Failures can be permanent or temporary and can come from hardware or from software bugs. Systems tolerate them through redundancy, such as running a task several times and taking the majority result; through error-detecting and error-correcting codes; and by rolling back to a known good state and restarting. Designers balance the level of reliability a market needs against cost and performance.
Computer security protects systems from attackers who try to steal or destroy information or take systems offline. Attacks can target software vulnerabilities in applications and operating systems, or the hardware itself, including side-channel attacks that exploit physical behavior like timing and power use.
NC State researchers address reliability and security at every level of the system, from processor microarchitecture and memory to system software. Past work includes a secure heap library that isolates memory management from application vulnerabilities and was released publicly, and secure processor architectures that keep data encrypted everywhere outside the processor chip.
Software and Optimizing Compilers
Writing efficient software for many kinds of applications and hardware is hard, and expectations keep rising for performance, battery life, reliability and security. Compilers help by automatically analyzing programs, optimizing them for a particular platform and catching programming errors.
A compiler translates a program from a high-level language into machine instructions, improves the code along the way and schedules it to use the hardware efficiently. That work happens in three main stages:
- Analysis: gathering information about the program, such as how data flows through it and which parts depend on each other. Accurate analysis is the foundation for every optimization.
- Optimization: transforming the code into a faster or smaller equivalent, for example by removing unused code, restructuring loops or parallelizing work automatically. Transformations can also improve security and reliability by catching errors like invalid memory accesses.
- Code generation: producing machine code, including deciding which values live in registers and how instructions are ordered.
Students can study software design and compiler optimization in a sequence of undergraduate and graduate courses that prepares them for industry careers and for graduate research.
VLSI and Computer-Aided Design
Very-large-scale integration (VLSI) is the process of building integrated circuits that combine billions of transistors on a single chip. These chips power nearly every electronic device in use today.
Transistors have shrunk to the scale of a few nanometers, and shrinking them has made chips dramatically faster and more capable. VLSI research tackles the problems that come with that scale: placing and connecting billions of transistors so a circuit runs at high speed, reducing power consumption, and making chips reliable and testable. Because circuit design is closely tied to fabrication, research also extends to materials and manufacturing.
Chips this complex cannot be designed by hand. Electronic design automation (EDA), also called computer-aided design (CAD), uses software tools to design and verify them. CAD research develops new tools and methods that improve design quality and shorten design time.