Computer Systems Lab
Stefan M. Freudenberger
Computer Systems, ETH Zürich
Computer Systems Lab Stefan M. Freudenberger Computer Systems, ETH - - PowerPoint PPT Presentation
Computer Systems Lab Stefan M. Freudenberger Computer Systems, ETH Zrich Introduction Course Schedule Lecture: Monday 4:15 5:00 p.m. (RZ F21) Recitation: TBD Assignments: in teams, time to be arranged individually
Computer Systems, ETH Zürich
2011-02-28 2 Computer Systems Lab
Date Lecture Project 2011-02-21 Introduction 2011-02-28 Memory Allocation Team registration – due 2011-03-03 2011-03-07 Computer Science Colloquium - Prof. Dr. David Padua: And the Answer Is: Automatic Parallel Programming. Starts at 16:15 CAB G61 (ends at ca. 17:20) Malloc Lab – due 2011-03-20 2011-03-14 2011-03-21 – due 2011-04-03 2011-03-28 2011-04-04 – due 2011-04-17 2011-04-11 Sechseläuten: holiday 2011-04-18 2011-04-25 Easter Monday: holiday 2011-05-02 – due 2011-05-15 2011-05-09 2011-05-16 – due 2011-05-29 2011-05-23 2011-05-30
2011-02-28 3 Computer Systems Lab
2011-02-28 4 Computer Systems Lab
2011-02-28 5 Computer Systems Lab
heap
2011-02-28
User stack Memory mapped region for shared libraries Heap Uninitialized data (.bss) Initialized data (.data) Program (.text) Top of the heap (brk)
6 Computer Systems Lab
2011-02-28 7 Computer Systems Lab
2011-02-28
8 Computer Systems Lab
2011-02-28
32 8 16 8 16 32 8 8 32 16 8 8 32 16 16 64 8 16 8 32 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
9 Computer Systems Lab
2011-02-28
free list
10 Computer Systems Lab
2011-02-28
11 Computer Systems Lab
2011-02-28 12 Computer Systems Lab
2011-02-28
payload size flags padding (optional) payload size flags link information padding (optional) ptr ptr
13 Computer Systems Lab
2011-02-28
payload size flags link information padding (optional) size flags
14 Computer Systems Lab
2011-02-28 15 Computer Systems Lab
2011-02-28 16 Computer Systems Lab
2011-02-28
8 8 16 8 8 16 16 32 Free list:
17 Computer Systems Lab
2011-02-28
8 8 16 8 8 16 16 32 Free list: 8 8 16 8
18 Computer Systems Lab
2011-02-28
8 8 16 8 16 16 32 Free list: 8 8 16 16 16 16
19 Computer Systems Lab
2011-02-28
8 8 16 8 16 32 Free list: 8 8 16 16 16 32 32
20 Computer Systems Lab
2011-02-28
8 16 32 Free list: 32 32
21 Computer Systems Lab
2011-02-28
8 16 32 Free list: 32 16 16 16 16
22 Computer Systems Lab
2011-02-28
8 16 32 Free list: 32 16 16 8 8 16 8 16 8
23 Computer Systems Lab
2011-02-28
8 16 32 Free list: 32 16 16 8 8 16 8 16 8 8 16
24 Computer Systems Lab
2011-02-28 25 Computer Systems Lab
2011-02-28 26 Computer Systems Lab
2011-02-28 27 Computer Systems Lab
2011-02-28 28 Computer Systems Lab
2011-02-28 29 Computer Systems Lab
2011-02-28 30 Computer Systems Lab
2011-02-28 31 Computer Systems Lab