Тёмный

understanding mmap, the workhorse behind keeping memory access efficient in linux 

Chris Kanich
Подписаться 9 тыс.
Просмотров 56 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@yonahcitron226
@yonahcitron226 Год назад
It’s a joke that this is available online for free. Absolute gold. Love every minute!
@j5ylim396
@j5ylim396 Год назад
wished my lecturers were like this. great one man, cheers
@whata4head666
@whata4head666 3 года назад
Greetings from Brazil Chris, just wanna say thank you, you're really helping me :)
@ZubairAhmad-wu2tw
@ZubairAhmad-wu2tw 3 года назад
you might also want to watch "Tech Instance" ru-vid.com
@halleluyahwoldesenbetbrhan1099
where can i get the slides
@wonderfulworld2475
@wonderfulworld2475 5 месяцев назад
When someone on RU-vid compress your 4 hour lecture into 20mns :D
@nang88
@nang88 3 года назад
cool
@demablogia
@demablogia 2 года назад
Great video, thanks. One question: when source is compiled & linked into an ELF file , this file doesn't have any virtual address but local offsets. So , I guess, someone and sometime translate those local offsets to virtual adresses . Is the code (.text, .data ) stored into real memory modified ( by someone ) with virtual address references ? Or code stored into real memory still has got offsets ?
@Henry-sv3wv
@Henry-sv3wv Год назад
(i am no expert, just writing what i just learned from web) * every process only "sees" virtual memory. * a static linked ELF contains no symbols and is ready to run with a fixed entry point address. * an ELF that uses dynamic libraries contains symbols and needs dynamic linking which is done by the loader ( ld-linux ) In my current Arch Linux the dynamic linker/loader ld-linux is: ld-linux-x86-64.so.2 coming from the glibc 2.36 library package. (it itself is a statically linked ELF executable)
@ninjazhu
@ninjazhu Год назад
That is one method of implementing VM. There are multiple methods. Not all hardware has the came features which limits sometimes which techniques are used and can even force you to think outside the box which programmers should do anyway.
@flyxtop
@flyxtop 3 года назад
thanks I learned some things today again! (I knew this earlier but it's interesting every program or library exists as a file)
@ZubairAhmad-wu2tw
@ZubairAhmad-wu2tw 3 года назад
give "Tech Instance" a try too ru-vid.com
@urbankoistinen5688
@urbankoistinen5688 3 месяца назад
It is also worthwhile to test that the system does what the documentation seems to imply it should do. Try mmap on a large file using different flags, see what happens when the file is cashed in main memory.
@DJ-vx9gl
@DJ-vx9gl 2 года назад
Wonderful explanations, thank you!
@stevewu9372
@stevewu9372 3 года назад
Thank you, Chris, I learned a lot from you!
@venumaj112
@venumaj112 3 года назад
Is it possible to use mmap which is huge pages backed ?
@gleventhal
@gleventhal 8 месяцев назад
Yes, see the man page (MAP_HUGETLB and MAP_HUGE_2MB, etc)
@kafoby8732
@kafoby8732 2 месяца назад
Thank you for making these lectures FREE!!
@glenyeldho5782
@glenyeldho5782 3 года назад
Waiting for the next video in this series 😁😁
@ZubairAhmad-wu2tw
@ZubairAhmad-wu2tw 3 года назад
I found Y/T channel "Tech Instance" helpful too ru-vid.com
@arunraju9705
@arunraju9705 2 года назад
0.75 speed is good.
@kiloton5764
@kiloton5764 2 года назад
LOL I used 1.5
@alex_d_lee
@alex_d_lee 4 месяца назад
this is so good
@janshaka
@janshaka 4 месяца назад
Thank you!
@winstonacousticstudio445
@winstonacousticstudio445 3 года назад
how many weeks does this course last for?
@ChrisKanich
@ChrisKanich 3 года назад
It's a 15 week course - I put a link to the schedule in the description.
@gleventhal
@gleventhal 8 месяцев назад
Boy, do I love when a native english speaker who actually knows the topic well presents a technical topic this well. Thanks for being you!
@jiezhang5325
@jiezhang5325 3 года назад
This vedio solve my confusion!
@KangJangkrik
@KangJangkrik 2 года назад
你好兄弟
Далее
But, what is Virtual Memory?
20:11
Просмотров 278 тыс.
50m Small Bike vs Car FastChallenge
00:22
Просмотров 3 млн
What's Virtual Memory? - Computerphile
22:40
Просмотров 178 тыс.
Getting up in another processes memory
46:54
Просмотров 15 тыс.
In-depth: ELF - The Extensible & Linkable Format
19:02
Просмотров 194 тыс.
File I/O With Memory Mapping Using Python mmap
23:02
WHY IS THE HEAP SO SLOW?
17:53
Просмотров 226 тыс.
Introduction to Memory Management in Linux
51:19
Просмотров 175 тыс.
How processes get more memory. (mmap, brk)
6:50
Просмотров 72 тыс.