Operating System Basics

Sdílet
Vložit
  • čas přidán 9. 10. 2013
  • Essential concepts of operating systems. Part of a larger series teaching programming. Visit codeschool.org

Komentáře • 253

  • @Euquila
    @Euquila Před 5 lety +1086

    If a CPU had a voice, this is it.

  • @AndriyLinnyk
    @AndriyLinnyk Před 9 lety +102

    that is the best voice from tutorials I ever heard.

  • @shayangzang900
    @shayangzang900 Před 7 lety +44

    This is THE best OS intro I found so far in youtube.

  • @briantwill
    @briantwill  Před 10 lety +146

    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 Před 10 lety +17

      God damn I love your videos, but one thing I have to criticize is that sometimes you talk too fast.

    • @Abdullah-mg5zl
      @Abdullah-mg5zl Před 9 lety +20

      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 Před 8 lety +35

      +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 Před 6 lety

      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 Před 5 lety +1

      I think this video is perfect for preparing half a semester of an operating system course. Thank you, Sir.

  • @Oneworld87
    @Oneworld87 Před 9 lety +297

    Deep voice is deep.

  • @kokorodokoro
    @kokorodokoro Před 6 lety +3

    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!

  • @lukegriffiths4333
    @lukegriffiths4333 Před 8 lety +14

    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!

  • @podmus3307
    @podmus3307 Před 4 lety +10

    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 Před 3 měsíci

      don't listen to this guy, this video doesn't even summarily scratch the surface of the subject.

  • @voilin
    @voilin Před 2 lety +1

    I love this video. I turn it on from time to time just to hear his voice and refresh my knowledge. Thanks Brian

  • @kamoroso94
    @kamoroso94 Před 8 lety +63

    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

  • @odytrice
    @odytrice Před 8 lety +17

    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

  • @Verses01
    @Verses01 Před 7 lety +8

    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.

  • @samrrocks
    @samrrocks Před 3 lety

    A complete refresher on Operating Systems. Took me back to college days!

  • @Skellingtor
    @Skellingtor Před 4 lety

    A great, condensed and clear summary. Thanks Brian

  • @mariusc6882
    @mariusc6882 Před 8 lety +5

    Excellent presentation of OS Basics. Thank you!

  • @glueee2621
    @glueee2621 Před 7 lety +7

    Best CS video on the Internet. Period.

  • @WindyHellLetsLoose
    @WindyHellLetsLoose Před 4 lety

    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!

  • @mankindspatience
    @mankindspatience Před 2 lety

    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.

  • @lukegriffiths4333
    @lukegriffiths4333 Před 8 lety +71

    If you change the speed to 0.5, it gives the illusion that Brian sounds drunk! Great videos Brian, thanks!

  • @CanMetan
    @CanMetan Před 7 lety +3

    You've explained everything pretty well.
    Thank you for the video.

  • @tomerlevi8598
    @tomerlevi8598 Před 6 lety +3

    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.

  • @jonathansera6134
    @jonathansera6134 Před 2 lety

    Awesome video, just as informative as any college lecture. Thanks for making!

  • @studioussoul2303
    @studioussoul2303 Před 5 lety +1

    This is great, well presented and the voice was perfect for me to follow.

  • @CRadiusOfficial
    @CRadiusOfficial Před 7 lety

    Great video. One of the best I've watched. Thank you.

  • @sagarkapasi099
    @sagarkapasi099 Před 6 lety +1

    watched the whole thing in one sitting… Feeling High! Thanks For The Valuable Information!! Liked Your Voice.

    • @HK-sw3vi
      @HK-sw3vi Před 2 lety

      bruh it's only 23 mins long lol

    • @sagarkapasi099
      @sagarkapasi099 Před 2 lety

      @@HK-sw3vi bruh it's a 3 year old comment :p

  • @pengyuanchen3080
    @pengyuanchen3080 Před 4 lety

    This is a really clear explanation. Thank you Brian!

  • @Gockalafina
    @Gockalafina Před 7 lety +4

    wow thanks this really helped my find out whether to get a Manuel or auto transmission in my new ute.

  • @mr.cobalt6695
    @mr.cobalt6695 Před 4 lety +4

    This man actually sounds like he knows what he is talking about
    Unlike most random OSdev tutorials on CZcams

    • @Artaxerxes.
      @Artaxerxes. Před 3 lety

      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

  • @thomascarlsen8097
    @thomascarlsen8097 Před 3 lety

    Bruh... Your videos are SO informative ! Really love them!

  • @coding3438
    @coding3438 Před 2 lety

    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!

  • @DominicVictoria
    @DominicVictoria Před 5 lety

    Video Well made. Very on point. I love it when people put effort into their work.

  • @kiennguyen1387
    @kiennguyen1387 Před 9 lety +2

    Thank Brian for this awesome video, it helps me alot!

  • @dotdioscorea4843
    @dotdioscorea4843 Před 7 měsíci

    What a clear straight forward video, really good

  • @bafanidus
    @bafanidus Před 7 lety +1

    Nice explanation. You're definitely talented in knowledge sharing, thank you!

  • @jonassteinberg3779
    @jonassteinberg3779 Před 6 lety

    concise agnostic overview of OS (and some CPU) fundamentals. thank you.

  • @gregs6178
    @gregs6178 Před 8 lety +3

    Great video. packed with information

  • @s7362454
    @s7362454 Před 10 lety

    thanks for this video.
    just today i started learning this course

  • @patturnweaver
    @patturnweaver Před 3 měsíci

    amazing.
    you are one of my favorite computer topic explainers
    you are gifted. keep sharing the gift

  • @anatheistsopinion9974
    @anatheistsopinion9974 Před 4 lety +1

    Exactly the kind of content I was looking for! Thanks a lot :)

  • @thetrainoflife8327
    @thetrainoflife8327 Před 3 lety

    Absolutely phenomenal , loved it , thanks much

  • @StrangeIndeed
    @StrangeIndeed Před 3 lety

    I can't stress how helpful your videos are. I love u c:

  • @Yazan_Majdalawi
    @Yazan_Majdalawi Před rokem

    A joy, this video is a joy..
    And tge channel is a treasure.

  • @dubzy21
    @dubzy21 Před 3 lety

    This is exactly what I was looking for thank you

  • @pedersen268
    @pedersen268 Před rokem

    Amazing summary! Thank you good sir!

  • @mitchellschoenbrun
    @mitchellschoenbrun Před 2 lety

    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.

  • @nikhilgumidelli6308
    @nikhilgumidelli6308 Před 4 lety

    Brilliantly explained !

  • @anvilanvil1400
    @anvilanvil1400 Před 4 lety

    This was very helpful. Thank you!

  • @MaxPicAxe
    @MaxPicAxe Před 5 lety

    Wow this is great video and I learned so much thanks a lot! Keep it up

  • @MyFunnyWeekend
    @MyFunnyWeekend Před 4 lety

    Very nice, thank you for explanations!

  • @arkoraa
    @arkoraa Před 7 lety +2

    You sound like a radio host lol. Great video!

  • @grott0
    @grott0 Před 6 lety

    Awesome video. Thank you!

  • @GaneshNarvane
    @GaneshNarvane Před 9 lety

    Its a very nice and useful tutorial ..
    Thank You.!

  • @DaneDuPlessis
    @DaneDuPlessis Před 5 lety

    Big fan of Brain's. Informative. Pithy. Thanks.

  • @Skellingtor
    @Skellingtor Před 5 lety

    These videos are excellent

  • @briantwill
    @briantwill  Před 10 lety +15

    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 Před 2 lety

      This is the same way the an OS can treat one disk as two "logical" disks.

    • @markteague8889
      @markteague8889 Před rokem

      It is always better to have two separate physical cores than to interleave two threads on the same core.

  • @Bestietvcute
    @Bestietvcute Před 8 lety

    Very good ! ... thanks for making this video

  • @nekuuu
    @nekuuu Před rokem

    This video is brilliant!

  • @75hilmar
    @75hilmar Před 4 lety

    Your audio quality is really nice.

  • @samhblackmore
    @samhblackmore Před 9 lety +155

    Oh so that's what "stack overflow" means, I feel like I'm in on a very nerdy joke now

  • @LoTekkie
    @LoTekkie Před 7 lety +1

    Brilliant, thank you.

  • @89Valkyrie
    @89Valkyrie Před 6 lety

    Excellent fucking video. So many questions answered. Thanks a bunch!

  • @user-gw9vf8sc4c
    @user-gw9vf8sc4c Před 8 lety

    great video!!' english is not my mother tongue however i managed to grasp your lecture by the plain and descriptive presentation

  • @BillEngwall
    @BillEngwall Před 2 lety

    Brian, you are doing god's work! Keep up :)

  • @chrissxMedia
    @chrissxMedia Před 5 lety

    this is pretty awesome!

  • @aragorn420
    @aragorn420 Před 4 měsíci

    this is incredible

  • @nukkable
    @nukkable Před 3 měsíci

    best video on CZcams

  • @haydengalloway5177
    @haydengalloway5177 Před rokem

    This is really educational and well explained. I just wish your voice didn't make me so sleepy.

  • @Sentom23
    @Sentom23 Před měsícem

    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

  • @stashatstake
    @stashatstake Před 4 lety

    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 Před 4 lety

      this video is good after you have studied the topic as a sort of checklist recap to make sure you understand everything

  • @Tray2323FTW
    @Tray2323FTW Před 5 lety +14

    But when a stack overflow occurs on my computer, I usually solve my programming problems!

  • @soz824
    @soz824 Před 4 lety

    This so good!!

  • @davidprock904
    @davidprock904 Před 3 lety

    The architecture I have been working on eliminates the need for pre-emptive multitasking

  • @kundaimudzingwa5071
    @kundaimudzingwa5071 Před 5 lety

    GREAT, informative

  • @davidsun9026
    @davidsun9026 Před 2 lety

    This dude's videos are the fundamentals that all these coding boot camps don't teach you, but should know.

  • @patrickmullen2914
    @patrickmullen2914 Před rokem

    Great video 👍

  • @acm3871
    @acm3871 Před 3 lety

    This is awesome.

  • @anteconfig5391
    @anteconfig5391 Před 6 lety +3

    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.

  • @vortyx090
    @vortyx090 Před 8 lety

    OMG DUDE THIS VIDEO IS SO COOL!! SO EDUCATIVEE! TY!! IF YOU CAN , please meake more videos like this :D they are so cool!

  • @mrtpsoroush
    @mrtpsoroush Před 4 lety +2

    I wonder what it takes to know so much about computers. What level of formal education do you have?

  • @Ricky-zc8qm
    @Ricky-zc8qm Před 7 lety +2

    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 Před 6 lety

      thanks, fam. I was confused. Doing my individual research before heading to the proper IT fields.

    • @Bakugantsuvai1
      @Bakugantsuvai1 Před 6 lety

      What tutorials did you read? Mind linking a few you found useful? I am rusty on OS fundamentals.

  • @piyushgarg3738
    @piyushgarg3738 Před 5 lety

    Can we get access to the slides that are presented in this video, it's a very good and informative video ?

  • @TheRojo387
    @TheRojo387 Před měsícem

    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.

  • @puritynganga4310
    @puritynganga4310 Před 2 lety

    great video

  • @mussacharles7629
    @mussacharles7629 Před 3 lety

    Hi Brian, The linked url for the full series seems to be down. Is there any alternative site for the series?

  • @HarvinderSandhuEsq
    @HarvinderSandhuEsq Před 5 lety

    This vid is quality!!

  • @samarthtandale9121
    @samarthtandale9121 Před rokem

    Amazing !!!

  • @Jus1iceify
    @Jus1iceify Před 8 lety

    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 Před 8 lety

      +Igor Fedotov syscalls

    • @briantwill
      @briantwill  Před 8 lety +1

      +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?)

  • @iexclusive4u
    @iexclusive4u Před 5 lety

    @ 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 ?

  • @CristalCody
    @CristalCody Před 10 lety +1

    You got one badass voice.

  • @anonymoussloth6687
    @anonymoussloth6687 Před 2 lety

    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?

  • @user-xm6lg9hs9i
    @user-xm6lg9hs9i Před 2 lety

    Why do we switch from the user's stack to a kernel stack when we enter the kernel ( e.g. for a system call ) ?

  • @danhayashi4515
    @danhayashi4515 Před 2 lety

    nice video!

  • @ryanarborist
    @ryanarborist Před 3 lety

    Brian Will make informative videos.

  • @retardedead5124
    @retardedead5124 Před 5 lety

    Can I ask a question. Where I can apply the idea 'Data Structures ' in this video? And why it is used?

    • @jayant9151
      @jayant9151 Před 5 lety

      Wht u mean? Stack data structure is used

  • @DominicVictoria
    @DominicVictoria Před 5 lety

    How about machine learning code? Doesn’t those codes change on runtime?

  • @smorrow
    @smorrow Před 3 lety +1

    "Still, creating multiple partitions serves some niche use-cases"
    Like running OpenBSD.

  • @khushbuagarwal2281
    @khushbuagarwal2281 Před 5 lety

    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.

  • @Turjak_art
    @Turjak_art Před 4 lety

    Thank you

  • @ptemperance8642
    @ptemperance8642 Před 6 lety

    So, you said that when a system gives a process a heap chunk, the process tracks the space the heap uses as well as the system. Why not have the system inform the process of all it's heap spaces whenever new heap is asked for? Then the system could defragment the space by shuffling the heap spaces to keep the free space as large as possible, doing this only when new heap is required and passing back the the heap address spaces to the process.
    Would this not be possible, or is it bad for some reason? (though obviously, certain controls may be desired to keep the defrag from happening too often and other issues naturally)

    • @ashutoshvaish867
      @ashutoshvaish867 Před 5 lety

      What you are referring is called compaction or defragmentation. It requires lot of time and the memory should be be dynamically relocatable for it.(correct me if I am wrong)

  • @i512
    @i512 Před 10 lety

    I heard that instruction pipeline allows one core to work with several instruction threads at the same time, I thought that those threads are the processes running simultaneously. But you say that one core is capable of executing one thread at a time. So a single process is actually divided into several threads or what?

    • @MechanicaMenace
      @MechanicaMenace Před 5 lety

      The pipeline how stuff moves through the whole CPU, load store unit, control unit, mmu, alu, fpu, etc. Pipelining allows you to start say loading the next instruction while you're still running the last.