Gain a thorough understanding of memory concepts with these detailed lecture notes from COMP15212. Explore different types of memory, caching mechanisms, and memory management techniques, essential for anyone looking to excel in computer architecture and system performance.
Of 6C
hexadecimal Dynamic
space
07 6C
Local Dynamici
Heap (possibly Stack variables
6 Read/write
08 F
fragmented)
09 00
Dynamic
* Heap Run time structures
!
&
OA
Read/write
A5
Global Data Read/write
- -
Read
Constants
only
.. --
Reserved by computer
-- ...
8-bitWestata
FE DE
Code Read only
↑ &
↓
281 D
FF AD
OS
.
Restricted !
.
private
space
Processes Memory Management Sizes
Processes use an idealised set of virtual addresses
Processor architecture determines the size (#of locations) of the virtual
address space
OS Momony
These then mapped to
are
physical addresses
Management
Process * locations
Processes don't have to worry about where they are
**
Usually are 8-bit (bytes)
Software
in memory
MMU
Storage ,
0 1 1 101 O 1
Cache,
Memory RAM
Management
Unit
16-bit > 65356 addresses
System
D · Process 8 * Process 8 Process
a
896000 # base + limit Process 7
??? A
256000 Process 2
Process 2 Process 2 Process 2 Process 2
base
Process 2 64000 &
O Process 2
Virtual addresses Strategies
38400
First-fit :
Stop when you
find a hole big
Process 3
enough
base and limit registers 128000
base "Start" of physical Best-fit : Find the smallest hole big
:
O
enough
memory
limit : Size of range Worstfit Find : the largest hole
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller jpxoi. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £8.48. You're not tied to anything after your purchase.