Multitasking Operating Systems as Fast As Possible

Techquickie ·Techquickie ·2016-05-06 · 945 words · ~4 min read
Floatplane YouTube

Transcript

JSON SRT VTT 73
0:00 whether we're talking about your PC your car or even a really fancy coffee maker
0:04 anything with a microprocessor needs some kind of operating system in order
0:09 to do anything more useful than sit there and look pretty but what do they
0:13 do exactly well in a nutshell an operating system is a piece of software
0:17 that acts as a liaison between A System's Hardware through some other
0:22 software bits called the kernel and drivers and the software applications
0:27 through which the user that's you interacts with the aforementioned
0:30 hardware and while all operating systems have on a fundamental level the same
0:35 objectives protecting user security by preventing malicious code from
0:39 exploiting your Hardware allocating system resources like memory to complete
0:44 the user's required tasks as efficiently as possible and in the case of more
0:49 complex ones providing a platform on which compatible programs can run and
0:54 interact with the user be it through a keyboard touchcreen or even a steering
0:57 wheel there are two fundamental ways that these tasks can be managed let's
1:02 start with an example that you're likely to find in your pocket no not that your
1:08 phone if you're a caveman it's possible
1:11 that you're still using a single tasking operating system these as you might have
1:16 cleverly figured out are only capable of running a single program at a time which
1:21 is one of the reasons you couldn't browse your contacts while playing games
1:26 on your old Nokia brick but hold on a second lonus I remember when my snake
1:30 high score run was disrupted by a pesky phone call from my mother isn't that
1:35 kind of multitasking actually that's called an
1:38 interrupt in all operating systems even single tasking ones override less
1:44 important functions when their environment changes so a real world
1:48 example of this would be if a simple operating system like the one on your
1:52 fancy coffee maker stopped a brewing cycle to give the user an alert to
1:57 change the filter to a DRM approved or here's a good analogy if a car came
2:02 barreling through the front of your house while you were cooking your
2:06 brain's operating system knows only one
2:09 of those things can be dealt with at a time so it tells you to turn off your
2:13 cooking elements it saves the in progress state of your meal in your
2:18 memory so you can come back to it later and then tells you to focus on all the
2:22 screaming burning people in your living room until you can return to it so now
2:26 let's move on to Modern multitasking operating system like Android and
2:31 Windows these use a process called time
2:34 sharing to split resources allowing more
2:37 than one thing to be done at once or so
2:40 it would appear let's use our Human Brain Analogy again where this time the
2:45 doorbell and your phone both ring at the
2:48 same time both tasks with similar
2:52 priority rankings that cannot be completed one at a time without ending
2:56 up with a voicemail or a package delivery notice on your door so you
3:01 answer your phone and say hello just a second you open the door to find out
3:05 it's a sexy DHL driver continue your phone conversation while The Courier
3:10 prepares the paperwork then you sign for the package close the door and continue
3:15 your conversation if you're honest with yourself you haven't really devoted your
3:20 full proper attention to either of these tasks but by regularly scheduling
3:27 interrupts remember that word from before to each of these tasks you can
3:31 devote resources as needed to each of them so they appear to be being
3:36 completed at the same time and multitasking operating systems work in
3:41 much the same way but of course this video mostly ignores the actual topic I
3:45 meant to address when it was originally scripted which is what are some of the
3:49 different types of operating systems and how do they differ so let me know in the
3:53 comments below if that's something you'd like to see speaking of things you might
3:58 want to see my face after I shave with
4:02 Dollar Shave Club
4:06 razors oh what you want me to actually tell you what Dollar Shave Club is I
4:10 thought it was pretty self-explanatory at this point you get razors and other
4:13 bathroom supplies shipped directly to your door for only a few bucks a month
4:17 they're high quality products for way less than what you would pay at the
4:21 store so they got the razors they got the Dr Carver shave butter which goes on
4:25 clear they got their one wipe Charlies which are peppermint scented face wipes
4:29 just just kidding they're for your butt wipes for men they've got their post
4:32 shave moisturizer and travel sizes as well there's a variety of razors all the
4:36 way up to the six blade Executives and did I say Executives no no we don't have
4:42 six blade Executives here just six blade executive razors so there's no vibrating
4:47 handles or other nonsense like that just highquality razors and head over to
4:51 dollarshaveclub.com Linus to sign up and join the club it's available in the US
4:55 Canada Australia and New Zealand so
4:58 that's pretty much it guys thanks for watching like this video if you liked it
5:02 dislike it if you thought it blue chunks leave a comment if you have suggestions
5:05 for future fastest possible and as always don't forget to subscribe and
5:08 follow and all that noise