64 Bit Architecture
64-bit architecture refers to a computer architecture that uses 64 bits to represent data and memory addresses.
Bit Manipulation
Bit manipulation involves the direct manipulation of bits within a binary representation of data.
Buffer
Buffers are used for storing data temporarily.
Bytes Encoding
We always hear that data is stored in binary, zeros and ones.
Character Sets
- ASCII - is the most basic character set.
Chipsets
It's one chip on the motherboard. All other peripheral devices connect to it.
Clocks
A clock or a cycle in the CPU is the maximum time needed for the longest digital circuit to finish its work.
Context Switching
Context switching in CPU happens in two different ways.
CPU Caching
CPU has multiple levels of cache (L1, L2, L3) to speed up data access.
CPU Components
1. ALU - Responsible only for integer operations.
Decimals
As we saw in the floating point article,
Device Drivers
They run in kernel space. They let userspace apps work with the hardware device.
Direct Memory Access (DMA)
This is a method where the devices can directly transfer data to and from main memory without CPU moving each byte.
Entropy
Entropy is all about randomness and unpredictability.
File Compression
Normally we come across two types of files. One is tar and other one is tar.gz.
Floating Point Numbers
It's called floating point because the point in the number really floats to different spots.
Fragmentation
It's when memory or disk gets used in small fragments.
Function Calling
In most documents, it's mentioned that CPU just executes the instructions one by one.
Futex
- All features such as mutex, semaphores, locks, atomic variables are implemented using CPU's CAS instruction.
Hashing
A hash function takes bits of any length. It runs operations on them.
Interrupt Handlers
This is a CPU feature.
Kernel at Boot
This page covers learnings common to every kernel.
Matrices
A matrix is an interesting topic. Memory is just one dimensional.
Memory Size Calculations
This is one thing that's often misunderstood and confused by me.
Memory Locking
Like databases, the operating system also locks memory.
Memory Paging
Paging is a concept that works with the co-ordination between
Memory
Random Access Memory (RAM) is a type of computer memory that can be accessed randomly.
Memory-Mapped IO
MMIO is a technique. You access all IO devices the same way you access memory.
Multiplexers
Multiplexers in computers are used almost everywhere.
Peripheral Connect Interconnect (PCI)
It's a specification that defines
Performance Metrics
1. Latency - How much does one single transaction take?
Process Memory
When a program runs, the operating system gives the process its own memory space.
Projections
This word is used in multiple contexts
Raster
Raster means a matrix of cells where every cell holds data or information.
Rings
This is a hardware protection enforced by the CPU based on the execution context.
Semaphores
Why the name?
Shim
A shim is an intermediate layer. It fills the gap between two things.
Time
In programming, it's always confusing about the time zones, time formats, etc.
Timers
CPUs have a hardware based timer circuit which can be configured to work like a stopwatch.
Virtualization
The main missing mental model here is the CPU virtualization.