Operating System Basics

  Рет қаралды 659,443

Brian Will

Brian Will

Күн бұрын

Essential concepts of operating systems. Part of a larger series teaching programming. Visit codeschool.org

Пікірлер: 256
@Euquila
@Euquila 5 жыл бұрын
If a CPU had a voice, this is it.
@Microphunktv-jb3kj
@Microphunktv-jb3kj 4 жыл бұрын
We need a Mr.Data Text-to-speech lol :D
@m.a.156
@m.a.156 4 жыл бұрын
He has a good voice, it's clear and easy to listen to.
@blinded6502
@blinded6502 4 жыл бұрын
And GPU would be his wife.
@margaritashamrakov
@margaritashamrakov 4 жыл бұрын
That is a great comment
@appledoes6304
@appledoes6304 3 жыл бұрын
**he sounds like technoblade**
@AndriyLinnyk
@AndriyLinnyk 9 жыл бұрын
that is the best voice from tutorials I ever heard.
@shayangzang900
@shayangzang900 8 жыл бұрын
This is THE best OS intro I found so far in youtube.
@mauricioramirez2855
@mauricioramirez2855 5 ай бұрын
still the best one?
@podmus3307
@podmus3307 4 жыл бұрын
This and Hardware basics are the only things you need to see to know how computers work. I learned this all at university but often I missed forest for the trees. These series rounded all the things in my head nicely. I think I'll have to watch every single video on this channel.
@mrb180
@mrb180 5 ай бұрын
don't listen to this guy, this video doesn't even summarily scratch the surface of the subject.
@SharkOutOfAir
@SharkOutOfAir Ай бұрын
@@mrb180don’t listen to this guy, this comment doesn’t even summarily scratch the surface of intelligence
@Verses01
@Verses01 7 жыл бұрын
When this video started out, I thought it was going to be a sleeping pill. I was wrong, I have a LOT more confidence in what an operating system is and the components of. Thank you, Mr. Will.
@briantwill
@briantwill 10 жыл бұрын
Oops. At around 20:00, I say that, within a directory, you can have both a file and directory of the same name, e.g. a file named foo and a directory named foo. This is wrong: every file/directory name must be unique within the containing directory.
@PENDANTturnips
@PENDANTturnips 10 жыл бұрын
God damn I love your videos, but one thing I have to criticize is that sometimes you talk too fast.
@Abdullah-mg5zl
@Abdullah-mg5zl 9 жыл бұрын
PENDANTturnips I agree. He chooses his words very carefully to pack a lot of information into a single sentence. I have to pause once in a while to absorb what he says, you could try that out :)
@VenturaPiano
@VenturaPiano 8 жыл бұрын
+Brian I like the speed at which you explain things. I'm sick of videos that have little information and worse of all repeat the exact same things over and over again. Sure sometimes instructors talk too fast, but I prefer informative versus redundant.
@rowanjugernauth5519
@rowanjugernauth5519 7 жыл бұрын
Brian Will Thank you. Thank you, thank you, thank you! Very informational. Very detailed, very in depth yet quite understandable. I loved it.
@ahmadsaeedkhattak20
@ahmadsaeedkhattak20 5 жыл бұрын
I think this video is perfect for preparing half a semester of an operating system course. Thank you, Sir.
@kamoroso94
@kamoroso94 8 жыл бұрын
I had my final today in an Operating Systems class and all of this stuff would've been so useful to see earlier. When I watched this, I was able to follow very well. It was nice to see the order you presented everything, it had a nice flow to it :3
@kokorodokoro
@kokorodokoro 6 жыл бұрын
These are fantastic. Clear explanation, dense yet succinct and non-redundant. I am taking notes and rewatching. Finally the mystery of the computer is starting to disentagle!
@mr.cobalt6695
@mr.cobalt6695 4 жыл бұрын
This man actually sounds like he knows what he is talking about Unlike most random OSdev tutorials on KZfaq
@Artaxerxes.
@Artaxerxes. 3 жыл бұрын
I agree. Its rare to find people with expertise that make such videos. Him, Ben Eater, and 3B1B are the smartest and most knowledgable when it comes to math and computer science in general
@voilin
@voilin 3 жыл бұрын
I love this video. I turn it on from time to time just to hear his voice and refresh my knowledge. Thanks Brian
@odytrice
@odytrice 8 жыл бұрын
Hey Brian, Just seeing this video and I have to say, there is a need for more content like this. Most high level developers don't understand some of these fundamentals and its really important
@lukegriffiths4333
@lukegriffiths4333 8 жыл бұрын
If you change the speed to 0.5, it gives the illusion that Brian sounds drunk! Great videos Brian, thanks!
@user-hw7vy6zb9w
@user-hw7vy6zb9w 6 жыл бұрын
Luke Griffiths i
@absconditus8660
@absconditus8660 5 жыл бұрын
He was actually drunk recording this and sped it up later.
@Oneworld87
@Oneworld87 9 жыл бұрын
Deep voice is deep.
@saveUyghurs
@saveUyghurs 4 жыл бұрын
...and monotone
@nachocheese8344
@nachocheese8344 4 жыл бұрын
@@saveUyghurs yes
@mankindspatience
@mankindspatience 2 жыл бұрын
My eyes were begging me to let them rest, but I had to finish the video. Unreal clarity in your explanations! Most would need 1h to do the same.
@glueee2621
@glueee2621 7 жыл бұрын
Best CS video on the Internet. Period.
@lukegriffiths4333
@lukegriffiths4333 8 жыл бұрын
Brian these videos are great. I've just discovered your channel and I hope I end up watching them all. It's good to have a theoretical understanding of the things that underlie my own work which is coding in a scripting language. Keep 'em coming!
@tomerlevi8598
@tomerlevi8598 6 жыл бұрын
It feels like I'm connected through the matrix and your voice is like Morpheus injecting information into my head I like it, subscribed. thanks champ.
@samrrocks
@samrrocks 4 жыл бұрын
A complete refresher on Operating Systems. Took me back to college days!
@WindyHellLetsLoose
@WindyHellLetsLoose 4 жыл бұрын
It’s a really really enjoyable thing to listen to your voice. I mean, the tone and fluency of your voice exaggerate the effect of my study. Thank you!
@samhblackmore
@samhblackmore 9 жыл бұрын
Oh so that's what "stack overflow" means, I feel like I'm in on a very nerdy joke now
@Nestho_Des
@Nestho_Des 3 жыл бұрын
same haha
@davidsun9026
@davidsun9026 2 жыл бұрын
This dude's videos are the fundamentals that all these coding boot camps don't teach you, but should know.
@mitchellschoenbrun
@mitchellschoenbrun 2 жыл бұрын
This is a good video. I like the fact that you put the word "Basics" into the title. You are describing an OS using a monolithic structure. This is an understandable prejudice since Windows, Unix, Linux and Mac OS use this structure, however it is not the only possible OS architecture.
@Sentom23
@Sentom23 3 ай бұрын
12:30 Damn I remember having to restart flash games back in the day because they would crash after a while because of memory leaks, nice to somewhat understand why now
@patturnweaver
@patturnweaver 6 ай бұрын
amazing. you are one of my favorite computer topic explainers you are gifted. keep sharing the gift
@mariusc6882
@mariusc6882 8 жыл бұрын
Excellent presentation of OS Basics. Thank you!
@Yazan_Majdalawi
@Yazan_Majdalawi Жыл бұрын
A joy, this video is a joy.. And tge channel is a treasure.
@coding3438
@coding3438 2 жыл бұрын
What a fantastic video. I’ll have to make a point though. Although this video says basics, it’s not for beginners. It’s for those who already know most of these concepts, although not clearly and thoroughly, and can use this video as a guide to strengthen basic concepts. Once again, fantastic video!
@sagarkapasi099
@sagarkapasi099 6 жыл бұрын
watched the whole thing in one sitting… Feeling High! Thanks For The Valuable Information!! Liked Your Voice.
@HK-sw3vi
@HK-sw3vi 3 жыл бұрын
bruh it's only 23 mins long lol
@sagarkapasi099
@sagarkapasi099 3 жыл бұрын
@@HK-sw3vi bruh it's a 3 year old comment :p
@Skellingtor
@Skellingtor 4 жыл бұрын
A great, condensed and clear summary. Thanks Brian
@dotdioscorea4843
@dotdioscorea4843 9 ай бұрын
What a clear straight forward video, really good
@stashatstake
@stashatstake 4 жыл бұрын
It's a 23 minute video, but since I've only watched this video of yours as a standalone, you've spewed so much information that it took me over two hours to just decipher it all Especially since you speak so fast, and there's little graphic description to accompany the verbal barrage
@thotsi
@thotsi 4 жыл бұрын
this video is good after you have studied the topic as a sort of checklist recap to make sure you understand everything
@briantwill
@briantwill 11 жыл бұрын
Intel's Hyperthreading adapts superscaling to run multiple threads (usually 2) on one core. Effectively, the OS can treat one core as 2 'logical' cores'. I've seen conflicting reports of how effective this is, so I can't say whether it's better to run two threads on the same physical core, or on separate physical cores, or whether it doesn't matter.
@NeelSandellISAWESOME
@NeelSandellISAWESOME 2 жыл бұрын
This is the same way the an OS can treat one disk as two "logical" disks.
@markteague8889
@markteague8889 2 жыл бұрын
It is always better to have two separate physical cores than to interleave two threads on the same core.
@studioussoul2303
@studioussoul2303 5 жыл бұрын
This is great, well presented and the voice was perfect for me to follow.
@Ricky-zc8qm
@Ricky-zc8qm 7 жыл бұрын
You need quite a bit of knowledge already to really make much use of this video. For anyone who wants to really understand this video I recommend watching ISA MIPS, OS process handling (interrupts and process control blocks), device drivers vs. device controllers, Filesystems and Partitions tutorials before watching this.
@jay1jayf
@jay1jayf 6 жыл бұрын
thanks, fam. I was confused. Doing my individual research before heading to the proper IT fields.
@Bakugantsuvai1
@Bakugantsuvai1 6 жыл бұрын
What tutorials did you read? Mind linking a few you found useful? I am rusty on OS fundamentals.
@Gockalafina
@Gockalafina 7 жыл бұрын
wow thanks this really helped my find out whether to get a Manuel or auto transmission in my new ute.
@anatheistsopinion9974
@anatheistsopinion9974 4 жыл бұрын
Exactly the kind of content I was looking for! Thanks a lot :)
@Tray2323FTW
@Tray2323FTW 5 жыл бұрын
But when a stack overflow occurs on my computer, I usually solve my programming problems!
@CanMetan
@CanMetan 7 жыл бұрын
You've explained everything pretty well. Thank you for the video.
@thomascarlsen8097
@thomascarlsen8097 4 жыл бұрын
Bruh... Your videos are SO informative ! Really love them!
@mrtpsoroush
@mrtpsoroush 4 жыл бұрын
I wonder what it takes to know so much about computers. What level of formal education do you have?
@davidprock904
@davidprock904 4 жыл бұрын
The architecture I have been working on eliminates the need for pre-emptive multitasking
@jonassteinberg3779
@jonassteinberg3779 6 жыл бұрын
concise agnostic overview of OS (and some CPU) fundamentals. thank you.
@jonathansera6134
@jonathansera6134 3 жыл бұрын
Awesome video, just as informative as any college lecture. Thanks for making!
@anteconfig5391
@anteconfig5391 6 жыл бұрын
When he explained how the stack memory and heap and everything was allocated and mapped I started thinking that it just seemed very inefficient. I know that's how it works but still, I think there's a better way. Also I think those fragmented heaps could be handled. Maybe not prevented but definitely handled by without human intervention.
@StrangeIndeed
@StrangeIndeed 3 жыл бұрын
I can't stress how helpful your videos are. I love u c:
@haydengalloway5177
@haydengalloway5177 Жыл бұрын
This is really educational and well explained. I just wish your voice didn't make me so sleepy.
@user-gw9vf8sc4c
@user-gw9vf8sc4c 9 жыл бұрын
great video!!' english is not my mother tongue however i managed to grasp your lecture by the plain and descriptive presentation
@DominicVictoria
@DominicVictoria 5 жыл бұрын
Video Well made. Very on point. I love it when people put effort into their work.
@CRadiusOfficial
@CRadiusOfficial 8 жыл бұрын
Great video. One of the best I've watched. Thank you.
@DrJoySmithMaxwell
@DrJoySmithMaxwell Ай бұрын
Thanks; This is the best OS intro. vid.
@pengyuanchen3080
@pengyuanchen3080 4 жыл бұрын
This is a really clear explanation. Thank you Brian!
@bafanidus
@bafanidus 7 жыл бұрын
Nice explanation. You're definitely talented in knowledge sharing, thank you!
@nukkable
@nukkable 5 ай бұрын
best video on KZfaq
@TheRojo387
@TheRojo387 3 ай бұрын
The bottom-up address space seems to make sense for the little-endian storage of data...especially to an Irish viewer (as Ogham script is literally just etched upward along a sharp edge on a rock or a post). Except...execution of code progresses up the addresses too, and Logisim, for one thing, shows data addresses increasing DOWN the ROM and RAM.
@gregs6178
@gregs6178 9 жыл бұрын
Great video. packed with information
@dubzy21
@dubzy21 3 жыл бұрын
This is exactly what I was looking for thank you
@kiennguyen1387
@kiennguyen1387 10 жыл бұрын
Thank Brian for this awesome video, it helps me alot!
@s7362454
@s7362454 11 жыл бұрын
thanks for this video. just today i started learning this course
@arkoraa
@arkoraa 7 жыл бұрын
You sound like a radio host lol. Great video!
@75hilmar
@75hilmar 5 жыл бұрын
Your audio quality is really nice.
@evidence-vs8bd
@evidence-vs8bd 5 жыл бұрын
You have covered at least 50 pages of 'How Linux Works'
@smorrow
@smorrow 3 жыл бұрын
"Still, creating multiple partitions serves some niche use-cases" Like running OpenBSD.
@thetrainoflife8327
@thetrainoflife8327 3 жыл бұрын
Absolutely phenomenal , loved it , thanks much
@BillEngwall
@BillEngwall 2 жыл бұрын
Brian, you are doing god's work! Keep up :)
@DaneDuPlessis
@DaneDuPlessis 5 жыл бұрын
Big fan of Brain's. Informative. Pithy. Thanks.
@pedersen268
@pedersen268 Жыл бұрын
Amazing summary! Thank you good sir!
@petevenuti7355
@petevenuti7355 2 жыл бұрын
How does this all work when it involves virtual machines? How does a hypervisor deal with an os that is demanding direct hardware access? How was it accomplished before CPU's gave extra support for such? Nested hypervisors?
@anonymoussloth6687
@anonymoussloth6687 2 жыл бұрын
How is the program actually ran? U said that when we return from a stack frame, we use the return address to go back to the parent call. But the actual instructions are stored in the stack? Or does this return address reference memory to the instructions stored in the text area of the memory?
@XolisileBuqwana
@XolisileBuqwana 2 ай бұрын
Can you further make videos about the type of operating systems more specifically Unix and LInux
@nikhilgumidelli6308
@nikhilgumidelli6308 4 жыл бұрын
Brilliantly explained !
@Alex2Buzz
@Alex2Buzz 11 жыл бұрын
That C: drive is REALLY happy...
@jayant9151
@jayant9151 5 жыл бұрын
:)
@ahuttee
@ahuttee 4 жыл бұрын
:)
@nicholaswjamrock
@nicholaswjamrock 6 жыл бұрын
you stated that linux dont use drive letters, that is not 100% accurate, it just dont present them like windows,eg. dev/sda2/user/cody/desktop. where "a" in sda is the first drive that is detected and the "2 " is the second partition.
@89Valkyrie
@89Valkyrie 6 жыл бұрын
Excellent fucking video. So many questions answered. Thanks a bunch!
@piyushgarg3738
@piyushgarg3738 5 жыл бұрын
Can we get access to the slides that are presented in this video, it's a very good and informative video ?
@Felix-ve9hs
@Felix-ve9hs 7 жыл бұрын
so now i know what Java means with "stack overflow" ... all my minecraft Shader Mods were just producing too many system calls ...
@w3w3w3
@w3w3w3 3 жыл бұрын
Brian Will ... Amazing! you still about creating content? I see this video is from 2013
@khushbuagarwal2281
@khushbuagarwal2281 5 жыл бұрын
According to my understanding, page fault is when cpu generates an address whose page is not on ram and we need to bring that page to ram from hard disk.
@Skellingtor
@Skellingtor 6 жыл бұрын
These videos are excellent
@user-xm6lg9hs9i
@user-xm6lg9hs9i 2 жыл бұрын
Why do we switch from the user's stack to a kernel stack when we enter the kernel ( e.g. for a system call ) ?
@mussacharles7629
@mussacharles7629 4 жыл бұрын
Hi Brian, The linked url for the full series seems to be down. Is there any alternative site for the series?
@MyFunnyWeekend
@MyFunnyWeekend 4 жыл бұрын
Very nice, thank you for explanations!
@nekuuu
@nekuuu Жыл бұрын
This video is brilliant!
@iexclusive4u
@iexclusive4u 5 жыл бұрын
@ 21:13 does it means that "partition 1" resides under "partition 2" and then "partition 3" resides under "partition 1" and therefore partition 1 & 3 are the subset of partition 2 ?
@anvilanvil1400
@anvilanvil1400 5 жыл бұрын
This was very helpful. Thank you!
@MaxPicAxe
@MaxPicAxe 5 жыл бұрын
Wow this is great video and I learned so much thanks a lot! Keep it up
@aragorn420
@aragorn420 6 ай бұрын
this is incredible
@GaneshNarvane
@GaneshNarvane 9 жыл бұрын
Its a very nice and useful tutorial .. Thank You.!
@homelessrobot
@homelessrobot 3 жыл бұрын
Swap made more sense when the difference between the speed of system memory and disks was much smaller, and there were hard logical limits to the size of system memory that could be exhausted easily. Most modern computers should not use swap. They should instead use something like an oom killer to detect which processes are incapable of gracefully handling OOM conditions, and start slaying them based on how poorly they handle the state. On top of this, system critical software needs to be able to detect and gracefully handle OOM conditions. It is almost never acceptable to start swapping memory to disk for modern systems. It's effectively no different than just powering the system down and leaving it off. A swapping system cannot respond in time to be considered functional in almost any instance.
@LoTekkie
@LoTekkie 7 жыл бұрын
Brilliant, thank you.
@grott0
@grott0 6 жыл бұрын
Awesome video. Thank you!
@cyrilemeka6987
@cyrilemeka6987 6 ай бұрын
10:16 don't programming languages like C++ or C set the stack boundary?
@ryanarborist
@ryanarborist 3 жыл бұрын
Brian Will make informative videos.
@amanisnotreal
@amanisnotreal 3 жыл бұрын
Still helpful till this day
@Mr.Nichan
@Mr.Nichan 2 жыл бұрын
Modern computers rely so heavily on the hardware not messing up any numbers. I suppose sometimes they have error correction with stuff like Hamming codes.
@nontth5355
@nontth5355 3 жыл бұрын
uhhh if i have C:/house/window.txt and let say C is partition 1 does that mean file window.txt is a file in partition 1 that can only be access by house directory right? but if in the house directory I have another file call door.exe does that mean door.exe is a file in partition 1 and can be access by house directory too? that mean directory house can link to 2 file?? Im pretty sure i misunderstand something. help pls Im confuse.
@thomascarlsen8097
@thomascarlsen8097 4 жыл бұрын
Do you know about the Linux From Scratch (LFS) project, and can you pretty-please make a video about that? :)
@Jus1iceify
@Jus1iceify 8 жыл бұрын
Hello Brian, nice video, rly gave me the understanding of the basics. However nearly at 13:49 you are saying that each process can only access the RAM that was specifically mapped to it by an OS. Then how do cheat engine and similar programs work? They are able to access the memory of other processes or?
@JwopDk
@JwopDk 8 жыл бұрын
+Igor Fedotov syscalls
@briantwill
@briantwill 8 жыл бұрын
+Igor Fedotov I overstated it there. Some OS's allow a process to muck with internals of another process via syscalls if the process has sufficient privileges. This can be useful for things like debuggers. (Not sure that's what's going on with a typical cheat engine though. Anyone know more?)
@DominicVictoria
@DominicVictoria 5 жыл бұрын
How about machine learning code? Doesn’t those codes change on runtime?
@scifregizmoguy
@scifregizmoguy 5 жыл бұрын
I don't know if it's your deep voice or the video but my laptop speakers are having a hard time playing this at a good enough volume.
@Bestietvcute
@Bestietvcute 8 жыл бұрын
Very good ! ... thanks for making this video
Hardware Basics
25:34
Brian Will
Рет қаралды 96 М.
Operating Systems: Crash Course Computer Science #18
13:36
CrashCourse
Рет қаралды 1,5 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 39 МЛН
Magic? 😨
00:14
Andrey Grechka
Рет қаралды 15 МЛН
Before VS during the CONCERT 🔥 "Aliby" | Andra Gogan
00:13
Andra Gogan
Рет қаралды 6 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 2,1 МЛН
How does an OS boot? //Source Dive// 001
50:22
Low Byte Productions
Рет қаралды 408 М.
The Making of Linux: The World's First Open-Source Operating System
11:33
ForrestKnight
Рет қаралды 1,2 МЛН
Exploring How Computers Work
18:12
Sebastian Lague
Рет қаралды 3,5 МЛН
Building an OS - 1 - Hello world
23:18
nanobyte
Рет қаралды 544 М.
Unix system calls (2/2)
51:18
Brian Will
Рет қаралды 104 М.
How a Computer Works - from silicon to apps
42:32
Improbable Matter
Рет қаралды 1,3 МЛН
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,1 МЛН
CS162 Lecture 1: What is an Operating System?
1:23:03
John Kubiatowicz
Рет қаралды 83 М.
Birth of BASIC
38:13
Dartmouth
Рет қаралды 1,2 МЛН
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 259 М.
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 39 МЛН