PrajnaEdge
A curiosphere for curious minds who want to understand, experiment with, and experience technology.

Technology is a system of connections.

Modern technology is built from layers that continuously interact with one another. At the physical level, electronic devices transform electrical signals into digital information. Digital logic turns that information into computation, while processors, memory and communication interfaces provide the machinery needed to execute instructions and move data. As these components become part of embedded systems, they begin to interact with the physical world through sensors, controllers, actuators and real-time software.

But computation does not exist in isolation. Operating systems coordinate hardware and software, firmware gives specialized machines their behaviour, and communication protocols allow independent systems to exchange information. At the same time, machine learning is moving beyond the cloud into edge and on-device systems, where models must operate within real constraints such as memory, processing power, latency and energy consumption.

PrajnaEdge explores these connections as one continuous technology landscape — and takes them beyond explanation. From computing foundations and embedded systems to intelligent machines and edge AI, ideas can be understood, experimented with, and eventually turned into technology that can be experienced in the real world.

To continue exploring
Products

Technology, made tangible.

PrajnaEdge products and technology experiences are currently in development.
In Development

Playground

Experiment with intelligence beyond the cloud.

AI runs closer to where data is generated — reducing dependence on distant cloud infrastructure and enabling faster, more responsive systems.
Edge AI Computer Vision

Image Classification

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

On-Device AI Coming later

On-Device Intelligence

AI runs directly on the device where data is generated, bringing intelligence into the device itself while operating within its compute, memory, power and latency constraints.

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.
Playground · Future Area

On-Device AI

AI runs directly on the device where data is generated, bringing intelligence into the device itself while operating within its compute, memory, power and latency constraints.

Coming later

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

There Is No Perfect Fit

The trade-offs of variable-sized memory allocation.

Operating SystemsMemory ManagementMemory AllocationFirst FitBest FitWorst FitFragmentation

1. The Quest for Perfect Memory

At the end of our previous exploration, we were left with a challenging question:

Can any memory-management strategy avoid both external and internal fragmentation?

The answer is brief: no universally perfect strategy exists.

Memory allocation is a balance of trade-offs. Paging uses fixed-size pages, so a process may not use every byte of its final allocated page, creating internal fragmentation. Because pages can occupy any available physical frame, paging generally avoids external fragmentation.

Segmentation uses variable-sized logical segments, but those segments require suitable contiguous regions, so allocation and deallocation over time can create external fragmentation.

When we must place variable-sized segments into physical memory, how does the system choose where to put them?

2. Classical Allocation Strategies

Let us consider a memory layout with several scattered free regions of different sizes. When a new segment request arrives, three classical algorithms can determine its placement:

* First Fit: The allocator scans memory from the beginning and places the segment in the first free block that is large enough. This strategy is fast because it stops scanning immediately upon finding a fit, but it tends to crowd the beginning of memory with small fragments. * Best Fit: The allocator scans the entire memory space and places the segment in the smallest free block that is large enough. This preserves larger blocks for future allocations, but it often leaves behind tiny, unusable slivers of free space—"memory shrapnel"—that are too small to satisfy any future request. * Worst Fit: The allocator scans the entire memory space and places the segment in the largest free block available. The logic is that the remaining leftover space will still be large enough to be useful. In practice, however, this strategy quickly breaks down large blocks, making it impossible to allocate large segments later.

These strategies are not merely textbook definitions; they represent different philosophies of managing resource scarcity.

3. EdgeCase: Allocation Strategies in Action

In this interactive scenario, we have a memory layout with three free blocks of varying sizes: 12 KB, 6 KB, and 20 KB, separated by blocks already in use by other processes.

We will attempt to allocate a sequence of three segment requests: 1. Request 1 (R1): 5 KB 2. Request 2 (R2): 10 KB 3. Request 3 (R3): 15 KB

Switch between the strategies below to see how the exact same sequence of requests succeeds or fails depending on the placement algorithm.

4. Modern Memory Management Systems

While First Fit, Best Fit, and Worst Fit are valuable mental models for variable-sized allocation, modern operating systems do not rely on a single algorithm to manage their memory. Real systems are far more complex, combining virtual memory hardware with specialized allocation layers:

* Linux: Uses the Buddy Allocator to manage physical page frames (mitigating external fragmentation by grouping pages into power-of-two blocks), and layers the SLAB/SLUB Allocator on top to manage small kernel objects (eliminating internal fragmentation by caching objects of specific sizes). * Android / Mobile Platforms: Operates under tight hardware constraints. Rather than swapping to disk, Android utilizes zram (compressed memory swap) to compress unused pages in RAM, and coordinates memory pressure using the Low Memory Killer Daemon (LMKD) to reclaim space under severe load. * Windows & Apple macOS/iOS: Employ advanced virtual memory managers that dynamically manage page tables, compress memory pages, and page out inactive memory to persistent storage when memory pressure rises.

Modern memory management is not a single universal algorithm, but a coordinated hierarchy of physical managers, virtual translation layers, and reclaim daemons working together.

5. The Next Horizon

We have followed the journey of memory from physical registers to virtual pages, through paging tables, page replacement algorithms, and variable-sized segment allocators.

But RAM—whether paged, segmented, or compressed—possesses a fundamental physical constraint: it is temporary. When a system loses power, everything inside its memory fades away. Programs need a way to keep their code, documents, images, databases, and configurations safe across reboots.

This transition from volatile memory to persistent storage leads us to our next major architectural question:

If memory is where information lives while it is being used, where does information live when it isn't?

To answer this, we must cross the boundary from memory allocation to File Management.

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

BTech · ECE

Foundations

Where it all began — understanding the physical layer of computation. Circuits, signals, and systems gave me a mental model of how information moves through hardware.

⬡
Connects to Systems
Understanding circuits directly enables writing firmware that talks to peripherals at the register level.
What it is
BTech in Electronics and Communication
Undergraduate foundation covering analog & digital circuits, signal processing, microprocessors, and communication systems.
CircuitsSignal ProcessingMicroprocessorsVLSI
What I did
Core Engineering Fundamentals
Studied semiconductor physics, digital logic design, and embedded microcontrollers. Built prototypes using 8-bit MCUs.
8051Logic DesignPCB Basics
What I learned
The Hardware Mental Model
Every software abstraction sits on physical reality. Understanding silicon teaches you why timing, power, and noise are first-class engineering problems.
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."

← Return to Systems Tree
Select Domain
Explore application domains branching from the Systems Tree
Automotive
Aerospace & Defence
Consumer
Embedded AI
Industrial
Medical
Multimedia
Network & Connectivity
Robotics
Explore Active Systems Tree →
← Return to Systems Tree
Select Depth
Examine computation through architectural depth layers
Architecture
Controller
Digital
Programming
Processor
Explore Processors → Explore Controllers →

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.