-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Haile Lagi <[email protected]>
- Loading branch information
Showing
5 changed files
with
30 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: "The art of multicore" | ||
date: 2024-11-04T10:13:39+01:00 | ||
draft: true | ||
--- | ||
|
||
# Introduction | ||
- liveness & safety | ||
- performance often requires looking behind the invisible hand of the memory heirarchy | ||
- concurrent shared counter viz finding primes `volatile counter` + thread local stack copying | ||
- beer cans are conditional variables | ||
|
||
## the problems | ||
at the heart are communication and co-ordination problems | ||
|
||
- mutual exclusion | ||
- starvation-freedom | ||
- producer-consumer | ||
- the readers-writers problem | ||
|
||
> Amdahl’s Law says that even if we manage to parallelize 90% of the solution, but not the remaining 10%, then we end up with a five-fold speedup, but not a ten-fold speedup. | ||
|
||
# Principles | ||
## Mutual Exclusion | ||
Threads are state machines, events are transitions of state. | ||
Time is is an abstracct property independent of the wall clock. | ||
We use the relationship -> precedence. | ||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
content/writing/query_execution.md → content/notes/query_execution.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "Query_execution" | ||
title: "Query Execution" | ||
date: 2024-10-27T14:32:18+01:00 | ||
draft: true | ||
--- | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.