Explore showcase

Multithreaded Diagonal Sums

Systems Programmer · Nov – Dec 2024

Project10 / 13

Overview

At a glance

Systems programming coursework stressing correct synchronization and measurable parallel speedup on large synthetic matrices.

CpthreadBash
View GitHubView GitHub

Features

  • Parallel diagonal aggregation.
  • Shell-driven benchmark matrix.
  • Comparative timing output.

Implementation

  • Partitioned workloads across thread workers.
  • Implemented synchronization and shared-state reduction.
  • Added dynamic memory handling and scaling test script support.

Challenges

  • Avoiding race conditions and synchronization bugs.
  • Balancing thread overhead against workload sizing.

Reflection

  • Strong systems exercise in practical concurrency tradeoffs and performance validation.