Last Sync: 2022-07-30 16:00:04
This commit is contained in:
parent
681606aa79
commit
3efcc5356e
4 changed files with 9 additions and 3 deletions
|
@ -5,7 +5,7 @@ tags:
|
|||
- von-neumann
|
||||
---
|
||||
|
||||
# Von Neumann CPU architecture
|
||||
# CPU architecture
|
||||
|
||||
At the core of a computer sits the Central Processing Unit. This is what manages and executes all computation.
|
||||
|
|
@ -46,6 +46,8 @@ Even though most modern computers use UEFI, it may still be referred to as BIOS
|
|||
|
||||
The de facto standard boot loader for Linux is GRUB: Grand Unified Boot Loader.
|
||||
|
||||

|
||||
|
||||
You see the GRUB default menu when you first start a Linux machine. It will offer you various options for loading your installed OS or other OSs. GRUB is a filesystem like the main disk. If you press `e` in this screen you can view and edit specific boot parameters. Pressing `c` gives you access to the GRUB command line interface. This allows you to interact with GRUB in the same way as you would with any other filesystem, allowing for advanced configuration.
|
||||
|
||||
## The boot sequence
|
||||
|
|
|
@ -32,3 +32,7 @@ You will want the swap to be activated every time the OS boots so add the follow
|
|||
```bash
|
||||
/dev/sda3e none swap sw 0 0
|
||||
```
|
||||
|
||||
## Create a swap file
|
||||
|
||||
// TODO: Add info
|
|
@ -17,7 +17,7 @@ The kernel acts as the primary mediator between the hardware (CPU, memory) and u
|
|||
|
||||
> A process is just another name for a running program. Process management is the starting, pausing, resuming, scheduling and terminating of processes.
|
||||
|
||||
On modern computers it appears that multiple processes can run simultaneously at once. This is only because the processor is so fast that we do not detect changes. In fact access to the CPU is always sequential. The sequence* in which multiple programs are allowed to access the CPU is managed by the kernel.
|
||||
On modern computers it appears that multiple processes can run simultaneously at once. This is only because the processor is so fast that we do not detect changes. In fact access to the CPU is always sequential. The sequence in which multiple programs are allowed to access the CPU is managed by the kernel.
|
||||
|
||||
> Consider a system with a one-core CPU. Many processes may be _able_ to use the CPU, but only one process can actually use the CPU at any given time...Each process uses the CPU for a fraction of a second, then pauses, then another process uses it for a fraction of a second and so on... (_How Linux Works: Third Edition_, Brian Ward 2021)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue