Virtual Machines Power the Cloud - Computerphile

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024

Комментарии • 144

  • @Markus9705
    @Markus9705 11 лет назад +43

    The main idea of Inception:
    If you run a VM inside a VM inside a VM inside a VM inside a VM, everything will be very slow.

  • @Seegalgalguntijak
    @Seegalgalguntijak 11 лет назад +9

    "gnarly" - what a nice adjective to describe the x86 platform, I love that statement! :-)

  • @daparsons1234
    @daparsons1234 11 лет назад +1

    You're talking about Hyperthreading, which is very different from VMs. The Hyperthreading feature allows each of your 4 physical processing units to look at incoming instructions and see if they can be split up to any degree. If so, one physical processor then executes multiple instructions in parallel, giving the effect of a fifth (sixth/seventh/eighth), "virtual" processer.

  • @code-dredd
    @code-dredd 11 лет назад

    I think what you've described highlights my original point on the negative consequences of prop. software even more. None of the things you've mentioned are a problem in the free/libre software side because the license gives rights and control to their users rather than taking them away with prohibitions and legal threats about who gets to even look at the source code..

  • @onwul
    @onwul 11 лет назад +3

    One common misunderstanding about the "cloud" what I've observed when it all started and sometimes observe now, is that it is something new and incredible. Well, its not. Its just a fancy word for the same old servers, maybe with a little bit different pricing model.

  • @NickCombs
    @NickCombs 11 лет назад +2

    Stage 7: Improve ultra-high speed internet access to support higher demand. Stage 8: Figure out where to maintain the powerful hardware, since end users no longer need good hardware to run demanding software (so they move towards cheaper, lighter devices focusing on connectivity and displays).

  • @yvrelna
    @yvrelna 11 лет назад +1

    Except that when a proprietary software company goes bust, you will have start a hiring spree to secure old employees who knows the codebase well to ensure your own livelihood, and there may not be enough for everybody, and other companies aren't required to share their changes. With free software, even if the main supporting company goes bust, and all their employees scatters to different companies, they will still be improving the shared codebase as copyleft ensures that fixes are shared.

  • @code-dredd
    @code-dredd 11 лет назад

    It's quite feasable/doable, actually. What I have noticed (i.e. anecdote) is that sometimes people would rather pay someone else to solve their problems for them (e.g. another company's tech support) rather than solve them themselves.. which is OK in some situations but not when it's supposed to be that person's *job*. This is independent from the proprietary/free software topic because companies that do free software (e.g. Cannonical) provide these services w/o resorting to proprietary source.

  • @mixth
    @mixth 11 лет назад

    If this channel has captions, it would be great. English is not my first language, and British accent is really hard for me.
    Captions would provide more people and boost awareness in computer sciences.
    Cheers!

  • @NeonfOxa
    @NeonfOxa 11 лет назад +2

    I love VMs i've been using them for years now, as i do software dev it has saved me having to rewrite/reinstall/just get pissed off every time i upgraded the HDD, or anything else. the best part i like is i can just make a copy of the machine and move it around online, or on usb (without having to drag around a computer)

  • @code-dredd
    @code-dredd 11 лет назад

    Dusty decks are a consequence of proprietary/closed-source software. Good thing there's free/libre software today.

  • @gh0stmast3r
    @gh0stmast3r 11 лет назад +2

    I MUST KNOW MORE ON THIS SUBJECT!

  • @Latrocinium086
    @Latrocinium086 11 лет назад

    This is an excellent one, like to see more on both software CPUs and os architecture

  • @BGBTech
    @BGBTech 11 лет назад

    another term is "Application Virtual Machines" to describe the JVM and friends, granted, yes, they are somewhat different pieces of technology.
    there can be overlap though, for example, both can make use of a JIT compiler (often called "dynamic translation" with emulators) to allow relatively fast execution of code running inside the VM (if appropriate hardware support is not available).
    likewise, on some targets, hardware assistance for application VMs exists (Jazelle and ThumbEE on ARM), ...

  • @boenrobot
    @boenrobot 11 лет назад

    Sure.
    I'm not sure exactly where they'd fit them though, given their weird spot in the whole spectrum of things. Should they talk about interpreters, and then talk about runtimes as a special flavor of an interpreter? Should they cover compilers first? Should they talk about where is the line between a program accepting instructions vs. a "real" runtime?
    It seems questions like that are the reason the different topics are covered very narrowly, even when not difficult to grasp per se.

  • @boenrobot
    @boenrobot 11 лет назад

    All of those aren't really virtual machines, even though some call themselves such (for marketing purposes). They are what's called a "runtime" or "interpreter" (well, a flavor of...) - they are a normal (R3 level) executable program, with the only job of executing ITS OWN instruction set dictated by the input, as opposed to a real VM that executes instructions of a hardware CPU, and can (in some of the cases; described in the video) call up the real hardware to do those instructions.

  • @amak1131
    @amak1131 11 лет назад

    Polished is correct in some cases, but not supported enough? If the original dies (like OpenOffice) many others may be born from it (like LibreOffice). We should be embracing free software more as it can often do the same job, sometimes with fewer headaches.

  • @Azyx90
    @Azyx90 11 лет назад +1

    I'm interested in embedded systems. Can you do "embedded systems for dummies" type of thing. Some history, what it is now, languages and operating systems used and that sort of thing. Embedded machines are everywhere now so I think it's important that people know at least something about embedded systems :)

  • @FrontalBeep
    @FrontalBeep 11 лет назад

    I was thinking about something: how can we get rid of this backward compatibility issue, that is - I feel - is slowing down the developement of new technologies? I mean, both software and hardware has to have backward and forward compatibility and it means compromises. Every attempt to create an absolute standard so far has just managed to be one of the many standards on every level of computing.
    Could one of the great minds of computerphile answer?

  • @Cythil
    @Cythil 11 лет назад

    The future will be a truly fluent system where you have some sort of hypervisor or smiler distribution task to multiple processor. After all we are living in a era of Ubiquitous computing. It is just a matter of unlocking the true potential of the world we live in. I just hope that I can keep control over my own cloud rather then give it over to some other party. If so then we are walking down a dangerous path.

  • @BGBTech
    @BGBTech 11 лет назад

    once was actually doing something like this for development:
    using VMware to run Linux on top of Windows;
    using QEMU (in Linux) to run an ARM version of Linux;
    then running a script VM inside this ARM version of Linux.
    the script VM ran the code (in a plain interpreter).
    it got "impressive" benchmark results.

  • @nonindividual
    @nonindividual 11 лет назад

    Maybe a computerphile video can talk about even more cutting edge stuff like Google's LMCTFY and Linux Docker? I know these are not (yet) topics of general interest but a video about them would be generally useful anyway.

  • @BGBTech
    @BGBTech 11 лет назад

    actually it isn't really all that bad if compared with Thumb2 or similar.
    there is a little hair up-front with the opcodes and dealing with ModRM+SIB+...
    but, in all, it is fairly consistent regarding general instruction encoding rules and similar (most instructions follow similar encoding rules, ...), and is relatively friendly to a table-driven instruction decoder, ...

  • @code-dredd
    @code-dredd 11 лет назад

    If you read carefully, my point has nothing to do with a company's or an application's performance.. good or bad. It's about the fact that if the *owner* of the proprietary software disappears, you're screwed and would have no choice other than to run old/unsupported/unpatched code for as long as you have a critical business process that depends on it. BTW, if you don't like Red Hat, then don't buy their support and use CentOS instead. Easy, no?

  • @squidcaps4308
    @squidcaps4308 11 лет назад

    Only thing i miss is the ability to run old hardware with virtual NT4.. I got this STAudio audio interface that hasn't got updated drivers, only for XP and NT4, it's a great piece of kit that's just lying around.

  • @DynamixWarePro
    @DynamixWarePro 11 лет назад +1

    Could you do videos about different CPU technologies like Hyper-Threading, MMX, SSE, EM64T, x86 etc...?

  • @NikolajLepka
    @NikolajLepka 11 лет назад

    Could you talk about the other kind of Virtual Machines? like JVM the Java Virtual Machine, LLVM, the Low-Level Virtual Machine, or the CLR, the Common Language Runtime, which is the VM that .NET runs on...

  • @drewqqq
    @drewqqq 11 лет назад +10

    And i feel like a computer genius when I open the back of my laptop and upgrade the RAM....

  • @gammaray0wn
    @gammaray0wn 11 лет назад

    A video about Hyper-threading would be really useful!

  • @5thDragonDreamCaster
    @5thDragonDreamCaster 11 лет назад +1

    Question, if I build a computer in Minecraft, is it a virtual computer/machine?

  • @PvblivsAelivs
    @PvblivsAelivs 11 лет назад

    What is a virtual machine? (asked in the description) A virtual machine is just software. If, for example, you have a word-processing program on your computer, it is a virtual machine that makes your computer act like a word processor. (There used to be dedicated word processors.)
    I'm not sure what he means by the x86 instruction set being "ambiguous." I see no ambiguity. Every instruction is well defined.

  • @BeastOfTraal
    @BeastOfTraal 11 лет назад

    Could you do one on RISC vs CISC. You could even talk about OISC

  • @StephenDahlke
    @StephenDahlke 11 лет назад

    Maybe it would be good to get a discussion on how the cloud is meant to be used for remote computing? Because even with a huge broadband connection, I just can't see it ever being better to ask a remote server to process my data for me and send it all back over the internet, rather than just process it myself on a 4Ghz quad-core with more RAM than it will ever even utilize. Yet, we're seeing lots of people tout it as the wave of the future, and it just sounds unreasonably slow to me.

  • @MrShysterme
    @MrShysterme 11 лет назад

    Let's say I have a laptop that has a 2nd gen i7 quad core, 8 gig of ram, and a solid state drive, and I have a program to run that will take a long time on this machine. However, the program is very easily made to run parallel. It also can be run as an executable file (it is a F90 console aplication). Now, would cloud computing significantly reduce the computing time of this program? I admit I know little about cloud computing.

  • @uriahsw
    @uriahsw 11 лет назад

    Yeah, do a series of them on Bitcoins and how they work. Perhaps you could do one with Tor as well.

  • @atlaspressed
    @atlaspressed 11 лет назад

    Isn't this less safe then individual machines, because if gain access to the main OS then can't you see all of the process's that the virtual machines are running.

  • @boenrobot
    @boenrobot 11 лет назад

    Yeah, JIT is one of those other murky subjects too, which makes these all the more difficult to talk about in a single (or even just two or three) video(s).
    I mean, strictly speaking, you COULD say that JVM's byte code is in essence code that's "JIT-ed" if you will, to native code, and yet in an interpreter's context, that's more like "turned from abstract syntax tree to byte code when needed, but not otherwise" kind of thing. And as you point out, some "AVMs" have hardware help, as a "real" VM.

  • @code-dredd
    @code-dredd 11 лет назад

    If it happens, whoever has a business that depends on it has the source code available and has the right to modify it in whatever way they see fit (i.e. a fork). In short, they can provide their own support. Contrast that with the fact that with proprietary software, if the entity that originated the code goes "dies", you're really screwed. Whether free/libre projects die or not is irrelevant.

  • @code-dredd
    @code-dredd 11 лет назад

    I'm a software engineer. I don't know what your team's standards are (some reject free software by 'definition' & FUD, not merit). It's odd that it won't pass eval when you have no src available to evaluate, no test cases/code, can't verify security (you can take their word for it, especially after NSA leak;). "Does meet our reqs?" is as deep as you can go. Again, polish/support is not a problem when you have the source avialable. If dear MS dies, you have 0 support, 0 polish, AND 0 code to DIY.

  • @Machiones
    @Machiones 11 лет назад +2

    WAY over my head. Can you do more introductory videos please!?

  • @gh0stmast3r
    @gh0stmast3r 11 лет назад

    so wait why don't we do a reverse virtual machine where we use the software to emulate on a multicore processor just one core? couldn't we take advantage of ring 1 or 2 in the personal computer to allow a sufficiently strong program to sit between the operating system and the kernel that would translate the multiple cores that the kernel sees into one core that the OS sees?
    has anyone actually written programming code that uses multiple cores?

  • @code-dredd
    @code-dredd 11 лет назад

    That is a big "if".. from the top of my head, I'm not familiar with any such examples (e.g. Microsoft? Apple? Google? Adobe? Any names that are common knowledge?). Not saying there aren't any, but even if there were, I think they'd be the exception, not the rule. Companies tend to sell their "intellectual property" off before the go completely bankrupt to minimize losses, etc.. not give away their stuff. That's why it's often necessary to reverse engineer (or re-write) proprietary software..

  • @TASDeign
    @TASDeign 11 лет назад

    I agree with this statement

  • @theminechesser
    @theminechesser 11 лет назад

    thanks for all the great vids

  • @razor5cl
    @razor5cl 11 лет назад

    I quite like the term "cloud" because clouds can burst and rain begins to fall.

  • @thecassman
    @thecassman 11 лет назад

    We couldn't do large amounts of our processing at work if not for virtual machines. Use the a lot, and there's nothing that comes close to the flexibility that they offer.

  • @vacklinge
    @vacklinge 11 лет назад

    I'd love to see a video on pathfinding.

  • @URAJSINGHSASAN
    @URAJSINGHSASAN 11 лет назад

    beautiful way of saying

  • @Diethylzinc
    @Diethylzinc 11 лет назад

    Khan Academy has a selection of videos on that very topic that may interest you.

  • @SirReptitious
    @SirReptitious 11 лет назад

    You don't have to wait for them to do that. I'm sure Wikipedia has all the info from the 8bit 8086 to the 64bit octa-core CPUs we have now. :-D

  • @FrontalBeep
    @FrontalBeep 11 лет назад

    Oh, and an other question: how is it, that in technical parameters my crappy android phone is better than my first pc that was running win 98 flawlessly, but it is still slow to respond running android. Is the software optimalisation so bad?

  • @mina86
    @mina86 11 лет назад

    Quality of their products can be questioned, but what cannot is the fact that dose companies are free not to extend support contract whenever they feel like and then users are left with unsupported binary blob. Moreover, if you need a particular feature, and you're not a huge corporation, good luck getting it in.

  • @ArtypNk
    @ArtypNk 11 лет назад

    Can I operate my machine while it operates it's machine withing the machine?

  • @NikolajLepka
    @NikolajLepka 11 лет назад

    still worth talking about them though...

  • @bigmofo1122
    @bigmofo1122 11 лет назад +3

    If you run a vm inside a vm inside a vm ... eventually you can kill the hardware and the deepest vm will continue to exist. It's called the virtual infinity paradox.

  • @JarcoGrond
    @JarcoGrond 11 лет назад

    Wait a second @7:45, Mainframes are not only for old code, come on. It just about runs everything, incl. Java, WAS, et cetera, at a better cost per operation, so there isn't a reason to move it to a new infrastructure architecture. Just because companies (like mine) use mainframes doesn't mean the code isn't updated anymore, or they can't move it to a different architecture.

  • @Creeper0110
    @Creeper0110 11 лет назад

    Hey, could you please make a video on how CPUs work?

  • @mina86
    @mina86 11 лет назад

    Once the contract reaches its end, either side can choose not to extend it. So if I'm a company who critically depend on Microsoft Foo, and buy a year support contract, and after a year, Microsoft says “we won't support Foo any more”, I'm screwed. Should Foo be free software, I could then hire my own engineers or form a coalition with other companies that depend on Foo to have support for it.

  • @code-dredd
    @code-dredd 11 лет назад

    I do sysadmin work in enterprise environments (among other things) and it's far from "terrible". I'd point to poor sys-admin skills or something else first. Freeware and open source are not the same as free/libre software (which is what I'm actually talking about), so you should avoid mixing the terms. Also, how did you even get into "problems with source control" and "legal prudence"?..
    I'm starting to get the impression you may not quite know the topic..

  • @spwf
    @spwf 11 лет назад

    Well you also have the redhat solutions which are far more powerful than the common once but as any other redhat product - it will cost you an arm and a leg.

  • @vibe3d
    @vibe3d 11 лет назад

    I'm just curious, does Linux preserve old code? I imagine that not preserving old code with new ones will break systems.

  • @Markus9705
    @Markus9705 11 лет назад

    Stage 1. Virtualize the software.
    Stage 2. We also virtualize the virtual software, we need neither code or machines to do what we want. Physical server rooms is a thing of the past. Nothing nowhere!
    Stage 3. Electricity, cooling, perimeter security will also be virtual.
    Stage 4. Fire all guards, technicians and specialists.
    Stage 5. We begin to virtualize end users.
    Stage 6. EVERYTHING IS VIRTUALIZED. EVERYTHING EXISTS IN THE MAGIC CLOUD.
    Stage 7. ???

  • @tatufmetuf
    @tatufmetuf 8 лет назад +14

    64 core processor, i want to see that

  • @kingemocut
    @kingemocut 11 лет назад

    talk about duel booting/multi-booting.

  • @jorgeraspa
    @jorgeraspa 11 лет назад

    Do one about P vs NP!!!!!!

  • @LexieAssassin
    @LexieAssassin 11 лет назад

    So, how does this factor into my computer? AFAIK, I have 4 cores and 4 virtual cores, but I really don't know what that means really.

  • @devluz
    @devluz 11 лет назад

    It actually has nothing to do with your computer and virtual cores. That is a whole different thing ;)
    4 cores means: your one processor contains 4 separated parts that can calculate. So it is able to calculate 4 things in parallel at the same time
    4 virtual cores is related to the hyper threading technology. It means that every real core can (in some cases) do two things at once and thus it pretends to be two cores ...

  • @vasko002
    @vasko002 11 лет назад

    A video on emulation maybe?

  • @RaminHonary
    @RaminHonary 11 лет назад

    When I hear "Virtual Machines" I was expecting talk of Java, .NET, LLVM, V8, SpiderMonkey, and so forth.
    When I hear "Virtualization" I think of VMWare, VirtualBox, Xen, KVM, Qemu, etc.

  • @NeonfOxa
    @NeonfOxa 11 лет назад

    too right i got a cnc machine with NT4 being ran on it, just nice strong robust system :)

  • @mina86
    @mina86 11 лет назад

    Which is not what I'm disputing.
    And like I'm pointing out, I may be guaranteed to get what I'm paying for for the duration of the contract (say a year), but I have no guarantee about what will happen after that.
    Besides, that just one of many reasons why free software is better for users.

  • @SimonLAylett1
    @SimonLAylett1 11 лет назад

    Financial Services ARE behind... My company uses a program, whose last major update was in 1994, to perform 90% of the business data requirements....

  • @lucrainville4372
    @lucrainville4372 11 лет назад

  • @EngeKomkommer
    @EngeKomkommer 11 лет назад

    I was always one of those people that "Knows about computers". After watching these videos... I realise I know NOTHING about computers.

  • @Humineral
    @Humineral 11 лет назад +6

    I don't like the term 'cloud' it sounds like such a buzz word.

  • @kinositajona
    @kinositajona 11 лет назад +10

    ewwwwww... and while we're at it, "HARD drives" "FLOPPY disks" etc. etc.
    at my old job we would refer to ssh by "shhhh"-ing each other with pointer finger on lips. One day my supervisor walked up to me and shhh-ed me in a sexy way, and a member of HR was walking by... most awkward moment ever.

  • @andljoy
    @andljoy 10 лет назад +9

    And this is exactly why propitiatory software is bad for business, yes most businesses are terrified of it.

  • @vtnmraper
    @vtnmraper 11 лет назад

    Sean, can you increase the volume on the videos pls?

  • @Landerro50
    @Landerro50 11 лет назад

    Can you do a video on bitcoins please? What it is, how it works,...

  • @nikushim666
    @nikushim666 11 лет назад

    Not entirely true, Depends on how you allocate resources, and how those resources are being used. When you throw in FPGA's or GPGPU's it becomes even less of a issue,

  • @KennethJaeger
    @KennethJaeger 10 лет назад

    Great that you can run the OS you need to, but running NT4 is like saying "hack me please" I hope those NT4 VMs are on private IP ranges only.

  • @unvergebeneid
    @unvergebeneid 11 лет назад

    NT 4 was the last decent Windows OS, that's while people are still using it.

  • @JamisonLofthouse
    @JamisonLofthouse 9 лет назад +14

    VMware vs. VirtualBox. 3...2...1... go!

  • @NutritiouslyHigh
    @NutritiouslyHigh 11 лет назад

    Not at all, I've not even played it, only seen videos. I'm annoyed by people who comment on any subject they don't know about.

  • @mina86
    @mina86 11 лет назад

    Good luck with getting that in your contract with Microsoft, Oracle or IBM.

  • @XenogeneGray
    @XenogeneGray 11 лет назад

    My nickname is virtually powering the internet ... you're welcome :D

  • @therealroy
    @therealroy 11 лет назад

    Anybody else wondered about those writings on the whiteboard behind.

  • @DeviousMalcontent2
    @DeviousMalcontent2 11 лет назад

    A machine with in a machine, machine-ception!

  • @PamSesheta
    @PamSesheta 11 лет назад

    I suspect its because a lot of people think ssh and ftp are icky.

  • @AndrewMeyer
    @AndrewMeyer 11 лет назад

    What do you mean by that?

  • @ZerofeverOfficial
    @ZerofeverOfficial 11 лет назад

    Call John Conner, I think this guy builds Skynet.

  • @SkukS
    @SkukS 11 лет назад

    yeah and the vm is lost in cyberspace, still running

  • @DeviousMalcontent2
    @DeviousMalcontent2 11 лет назад

    I still use Windows 95 to play Sim Farm, I'm 21 years old don't judge me.

  • @gh0stmast3r
    @gh0stmast3r 11 лет назад

    i could make a linux machine with the same hardware for half that price.
    but it might crash once or twice a day in normal operation and i might burn out A hard drive reinstalling the os until i find the most stable one.

  • @TheBandScanner
    @TheBandScanner 11 лет назад

    So: modern computing is just a lot of, "He said she said shi*." That's why I keep two machines; an older one (without internet), and a newer one.

  • @ObiMace
    @ObiMace 11 лет назад

    Stage 7 is obviously the Matrix

  • @ObiMace
    @ObiMace 11 лет назад

    So? We'll simulate the simulation from within the simulation, virtually.

  • @Metagross31
    @Metagross31 11 лет назад

    So you can like them, while you like them!

  • @EitanLevinzon
    @EitanLevinzon 11 лет назад

    Yeah and on the Darknet in general

  • @MBAustin13
    @MBAustin13 11 лет назад

    And now I know how to lag a modern computer with 8-bit graphics XD