12. Parallel Storage Allocation

  Рет қаралды 11,409

MIT OpenCourseWare

MIT OpenCourseWare

Күн бұрын

Пікірлер: 5
@leixun
@leixun 3 жыл бұрын
*My takeaways:* 1. Review of memory allocation primitives 0:45 2. Virtual memory allocation - mmap() 4:15 - mmap() vs malloc() 8:20 - Address translation 11:20 3. Stack implementations 15:35 4. Basic properties of storage allocators 41:20 5. Fragmentation 44:00 6. Parallel allocation strategies 50:25 7. False sharing 1:03:30 8. Parallel heap allocation 1:07:48
@richardm5916
@richardm5916 4 жыл бұрын
Have gone through this entire course it is amazing, Learnt So so Much, recommended it to everyone
@keyboard_toucher
@keyboard_toucher Жыл бұрын
The way I see it, the most obvious and biggest problem with "Strategy 2" (55:29) is missed. It is that the programmer wouldn't be able to transfer ownership (i.e. deallocation responsibility) of objects between threads. The immediate problem with allocating on one thread and freeing on another, as one student suggested, would not be wastage of memory but rather heap corruption due to races in the heap management code. A mutex would have to be used to avoid that, which invalidates the "no locking"/"no synchronization" bullet points. This deficiency is later resolved in "Strategy 3".
@PetrSkovron
@PetrSkovron 6 ай бұрын
34:00 -- How can we reuse the memory used by the subproblems? Aren't they running in parallel?
@pschneider1968
@pschneider1968 2 жыл бұрын
Hmm, I did not understand anything from slide 19... 🤔 Not enough explanations/illustrations there (for me). Anyone care to explain?
13. The Cilk Runtime System
1:21:47
MIT OpenCourseWare
Рет қаралды 10 М.
10. Measurement and Timing
1:21:28
MIT OpenCourseWare
Рет қаралды 18 М.
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 16 МЛН
15. Cache-Oblivious Algorithms
1:21:47
MIT OpenCourseWare
Рет қаралды 10 М.
Errichto Stream, POI 22/1
3:55:08
Errichto Algorithms
Рет қаралды 158 М.
Deep Learning: A Crash Course (2018) | SIGGRAPH Courses
3:33:03
ACMSIGGRAPH
Рет қаралды 3,1 МЛН
18. Domain Specific Languages and Autotuning
1:11:22
MIT OpenCourseWare
Рет қаралды 10 М.
14. Caching and Cache-Efficient Algorithms
1:18:23
MIT OpenCourseWare
Рет қаралды 21 М.
Kubernetes 101 workshop - complete hands-on
3:56:03
Kubesimplify
Рет қаралды 1,6 МЛН
21. Tuning a TSP Algorithm
1:20:53
MIT OpenCourseWare
Рет қаралды 10 М.
CompTIA Network+ Certification Video Course
3:46:51
PowerCert Animated Videos
Рет қаралды 7 МЛН
Robert Greene: A Process for Finding & Achieving Your Unique Purpose
3:11:18
Andrew Huberman
Рет қаралды 12 МЛН
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 16 МЛН