PrajnaEdge
A curiosphere for curious minds who want to understand, experiment with, and experience technology.
To continue exploring
Technology, made tangible.

Where does intelligence run?

Explore AI that moves inference closer to the data — from the edge to the device itself.

AI inference runs at or near the point where data is generated, rather than relying on a remote cloud.
Edge AI Computer Vision

Image Classification

Can this image classifier maintain its intelligence while becoming small enough for the edge?

// Coming soon
Edge AI Playground

Image Classification

Can this image classifier maintain its intelligence while becoming small enough for the edge?

Choose an image

Upload an image
Supports JPG, JPEG, PNG
This classifier recognizes only Apple, Banana, and Orange. Other objects may be incorrectly classified as one of these classes.

Choose the model

Model size
4.91 MiB
Largest activation
~625 KiB
Test accuracy
99.11%
Measured model accuracy
Your image is processed locally in your browser.
On-Device AI
On-Device AI Playground
// Coming soon

Explore the ideas, systems and connections that shape technology — choose any node to begin your journey.

PrajnaEdge Navigation Tree
Embedded Systems Tree

Edge AI Demonstrations

Deploying neural networks and intelligent decision loops on raw silicon targets.

Sort:
Operating Systems

When Waiting Was Too Expensive

Why Operating Systems Learned to Interrupt

KernelSchedulingPreemptionRound RobinContext Switch

1. The Dilemma: A Split-Second Threat

Consider a modern embedded controller managing an electric vehicle. The CPU is currently executing a long-running, low-priority background calculation—such as updating the state of charge logger on a flash memory card (a task requiring 50 milliseconds of CPU execution time).

Suddenly, at millisecond 1, a critical safety event occurs: the vehicle's radar module detects an obstacle and transmits an emergency braking request over the CAN bus.

Under a non-preemptive scheduling policy: * The emergency brake process is released and enters the Ready Queue. * But because the CPU is locked into the flash logging task, the operating system cannot intervene. * The brake task must wait 49 milliseconds for the flash write to complete before it can run.

At highway speeds, a 49-millisecond delay in brake engagement translates to several feet of stopping distance. In safety-critical engineering, waiting is a luxury we cannot afford.

t = 0 (Start) t = 1 (Brake Event) t = 50 (Finish) Flash Data Logger Running (50 ms Burst) Danger: 49 ms Uninterruptible Delay

2. The Breakthrough: Preemption

To resolve this dilemma, operating systems had to evolve the capability to strip a process of its CPU allocation. Instead of waiting for a process to yield control voluntarily, the Kernel must be able to suspend it mid-execution.

This capability is known as Preemptive Scheduling.

When a high-priority process enters the Ready Queue, the scheduler compares its priority against the currently executing task. If the newly arrived task is more urgent, the Kernel interrupts the running process, saves its state, and swaps it out, granting the CPU core to the urgent process immediately.

The execution flow changes from a continuous block to a dynamic, interrupted timeline:

1. P1 Executing 2. P2 Arrives 3. Kernel Preempts P1 4. P2 Runs / P1 Paused

3. Comparison: Before vs. After

How does preemption change the temporal landscape of a system? Let's compare the execution flow under both paradigms:

SCHEDULING COMPARISON (TIME = 0 TO 10)
Non-Preemptive Execution P1 (Flash Logger - Running) P2 (Brake) P2 Arrives (t=2) P2 Waits in Queue (6 units delay) Preemptive Execution (Interrupted) P1 (Part A) P2 (Brake Runs) P1 Resumed (Part B) Preemption Event (t=2) No Delay: Brake executes immediately 0 2 5 10

4. Preemptive Scheduling Policies

When we add the power of interruption, three core scheduling policies emerge:

1. Shortest Remaining Time First (SRTF): The preemptive variation of SJF. If a new process arrives with a remaining execution time shorter than the current process's remaining time, the current process is immediately interrupted and replaced. 2. Preemptive Priority Scheduling: If a newly arrived process possesses a higher priority value than the currently executing process, the Kernel suspends the running task to run the higher-priority task immediately. 3. Round Robin (RR): The scheduling policy designed specifically for time-sharing systems. Each process is granted a small, fixed window of CPU time called a Time Quantum (or time slice). When the quantum expires, a hardware timer triggers an interrupt. The Kernel preempts the running process, moves it to the back of the Ready Queue, and starts the next process in line.

5. EdgeCase: Preemptive Trade-offs

The rules are different. The workload is the same. Which scheduling policy handles it best?

6. The Consequence of Interruption

Preemptive scheduling guarantees that urgent tasks execute without delay. But the power to interrupt a process mid-execution introduces a profound dilemma.

If the Kernel forces a running task to yield control of the CPU halfway through its execution, how can it ensure that none of its progress is lost? When the CPU is redirected to a new process, the numbers currently in execution and the nested pathways of memory will be overwritten.

This leaves us with one fundamental question:

If a process can be interrupted halfway through execution... how can it later continue exactly where it stopped?

Interrupting a process was never the difficult part.

Remembering it...

was.

System Tree Node Operating Systems

PrajnaEdge

Engineering concepts you don't just read — you experience.
Founded in 2026.

PrajnaEdge is a technology company exploring the space between understanding technology, experimenting with ideas, and turning them into things that can be experienced.

Our Mission

To make technology easier to explore, deeper to understand, and more exciting to experience.

Our Vision

To build a technology ecosystem where curiosity, experimentation and creation continuously lead to one another.

Where it began

Embedded Systems

PrajnaEdge began with Embedded Systems — exploring the foundations that connect hardware, software and intelligent computation.

The first technology universe is built around that foundation. The journey will expand as new ideas, experiments and products emerge.

PrajnaEdge is a technology company created by Devaharsha Meesarapu.

CREATOR PROFILE

Devaharsha Meesarapu

Embedded Systems • Firmware • Edge AI

I am the engineer behind the design, development, and content of PrajnaEdge. I build low-level systems where code directly controls hardware, bridging the gap between register-level silicon behavior and intelligent edge decision loops.

View Resume →

ABOUT ME

I am an Embedded Firmware Engineer focused on developing software for resource-constrained systems. My experience spans bare-metal firmware, device drivers, microcontroller peripherals, and communication protocols, working across the boundary between hardware and software.

My work has involved microcontroller-based systems, real-time behaviour, hardware interfaces, and communication technologies such as CAN, CAN FD, UART, SPI, and I²C. I am particularly interested in understanding systems from the lowest level upward—from registers and peripherals to intelligent edge systems.

ENGINEERING PHILOSOPHY

Engineering is not just about writing code; it is about managing constraints, timings, and physical hardware characteristics. True mastery of complex systems comes from understanding the interactions across different layers of the stack.

This conviction is why I built PrajnaEdge—to bridge the gap between conceptual theory and direct, register-level physical reality.

CONNECT

LinkedIn → GitHub →

Interactive Career Journey

Let's Connect
Interested in embedded systems, AI, or building something meaningful? I'd love to hear from you.
Open to collaborations, research, and interesting engineering conversations.
Help Improve PrajnaEdge
Found something to improve? I'd love to hear your thoughts.

Bare Metal

Software that runs directly on hardware without an operating system.

Applications
Operating Systems
YOU ARE HERE
Bare Metal
Processor
Hardware

"Every embedded application begins long before main()."

Operating Systems

An Operating System manages hardware and software resources so complex applications can work efficiently.

Applications
YOU ARE HERE
Operating Systems
Bare Metal
Processor
Hardware

"When one loop is no longer enough to carry the burden."

Support PrajnaEdge

PrajnaEdge is an independent education platform built to make knowledge freely accessible.

If you find PrajnaEdge useful, you can support its continued development.

Your support helps fund the time, tools, infrastructure, and experimentation that go into building and maintaining PrajnaEdge.

Select Region
Select Amount
Select an amount to support PrajnaEdge.