CodingTiger
CodingTiger
  • Видео 3
  • Просмотров 9 826
What is Cloud
Cloud computing is one of the most used technologies in these days. There are numerous cloud solutions we might be using already.
This is a very simple explanation of the terminology.
Stock Videos from:
www.videvo.net/
www.vecteezy.com/
Images from:
pngtree.com/
www.freepik.com/
Song from:
pixabay.com/music/
Просмотров: 2 179

Видео

Why CPU Speed in Hertz
Просмотров 8 тыс.Год назад
Why the speed of a computer processor is specified in Hertz? The number of instructions a computer processor can execute in a second should define it's speed. But why it is typically stated in Hertz/Giga Hertz is explained in this video. BG from: pixabay.com/music/ Stock videos from: www.videvo.net/ Stock Images from: pngtree.com/, www.freepik.com/ 3D images from: www.turbosquid.com/ Intel and ...

Комментарии

  • @Mohammad_Dawoud
    @Mohammad_Dawoud Год назад

    Keep going 💪

  • @Thejoyfulprogrammer
    @Thejoyfulprogrammer Год назад

    The speed of a processor is how many clock cycles a processor runs per second, not how many instructions one can execute. The same goes for RAM and video cards. Back in the 1990s and before when we needed to use assembly/machine language for parts or all of our project's code, we had to know how many clock cycles each instruction took on the specific processors our projects were coded for, calculate how many clock cycles each algorithm in our code executed, and had to get creative to reduce the number of those clock cycles our algorithms took through best optimization practices and through any extra benefits the system provided us like when the math coprocessor was first introduced on the Intel processor. This was very important in areas like speeding up the graphic renderings in our projects, especially games. Thankfully today we can use the GPU on the video card to do most of the work for us instead of trying to do it ourselves on the CPU. If I remember correctly, a simple division instruction in machine language on the Intel 386 processor took 300-600 clock cycles, and multiplication took 60 or more clock cycles, which is why we used to have the saying, "Multiply if you must but never divide". So, we really had to get creative with trying to find crafty ways around having to use division in our algorithms if we could. Of course, even back then, like it still is today, the arrangement of our machine language instructions is critical to how fast our algorithms execute, since if the instructions are sent in the "wrong order", it would cause the processor to stall for a number of clock cycles before the next instruction is executed. On modern Intel processors, we have multiple instruction pipelines that allow us to execute multiple machine language instructions in one clock cycle. With the event of multi-core processors, more instructions can be executed concurrently. This is why the speed of the processor does not indicate how many instructions it executes per second. On a further note, modern Intel processors, with cache memory, read in chunks of data and code and stores them on the processor for extremely faster execution since it doesn't have to transfer the information on the data bus as often. This is why it is important in coding to make sure you place functions that work more together, closer to each other so the CPU does not have cache hits that cause the processor to fill the caches again with more data and code. It may be beneficial if you have a look at the 5,000+ page PDF of the "Combined Volume Set of Intel® 64 and IA-32 Architectures Software Developer’s Manuals" located at: www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html The Intel Software Developer's Manual will tell you almost everything you need to know about most of the processors they have built. I hope this information helps. I would be happy to help any who has any questions on what I stated.

    • @manuvinayas27
      @manuvinayas27 Год назад

      🙏

    • @CodingTiger
      @CodingTiger Год назад

      Thanks a lot for the detailed comment. I hope you watched the video. It is all about WHY we use clock cycles instead of instructions per second which is more logical and explicit than clock cycles.

    • @Thejoyfulprogrammer
      @Thejoyfulprogrammer Год назад

      @@CodingTiger You are so very welcome. My goal, as The Joyful Programmer, is to help people educate themselves better. The tagline for my brand name is, "Dedicated to working with and teaching computer programming hobbyists, tinkerers, amateurs, and enthusiasts." I have been doing this for a very long time as a hobbyist and tinkerer, never a professional, and I have had the pleasure over the years working with similar people as myself, even those who were starting to learn to code. When I started helping people learn more about C++ back in 2018, I discovered, to my dismay, that many thousands of people around the world were being taught this field incorrectly, I set out to help provide those people with the resources they needed that would help them overcome the shortcomings of their teachers and professors, as well as get past the fallacies and opinions they were taught, just like I did above for you. As you noticed, I even shared a link to Intel's Developer's manual, so you could have authoritative information to study from, if you so choose. I did watch your video entirely, which is why I made the post above. I love seeing the eagerness of people like yourself to help teach others this exciting digital world, and I applaud you for it. While I would love to make videos on RUclips to help people learn, I sadly do not have the time. I have a major project that I am working on and multiple websites I am currently building for my brand and project. I am already in my 4th year working on my project, and most of that time was spent on planning, studying, and researching. I'm just now getting into the coding of the project, so it will probably be another year or two before I get close to being done. My project is being coded in C++20 and will be using the Vulkan graphics API (for Windows and Linux) and OpenGLES graphics API (for the web - AKA WebGL). After some talks recently with people in my communities, plus the fact that I will be using OpenGLES, I might as well use OpenGL v3.3 for older machines. However, my project is really meant to be for modern machines and devices. Anyways, before I end this LONG message, I want to share a RUclips link (several links actually) with you where a guy creates a video card on a breadboard. He uses a 10 MHz clock chip, which is something similar to what is built into a CPU to create clock cycles. The 10 MHz clock chip he uses in his simple video card is what produces the "clock cycles" for the video card. I think you may find it very interesting. Enjoy! ruclips.net/video/l7rce6IQDWs/видео.html ruclips.net/video/uqY3FMuMuRo/видео.html ruclips.net/video/BUTHtNrpwiI/видео.html While I am thinking about it, here is a link to an excellent video on how computer memory works: ruclips.net/video/7J7X7aZvMXQ/видео.html

  • @brentoniverson1020
    @brentoniverson1020 Год назад

    Good job

  • @Freytana
    @Freytana Год назад

    fantastic video!

  • @DrakeDark18
    @DrakeDark18 Год назад

    Technically, that actually says there is only one kind of person in the world. 0 isn't really a number, it's more like saying, "not one".

    • @CodingTiger
      @CodingTiger Год назад

      0 in this context is digit - technically. Digits get value by its position. 😇

  • @doyle4u
    @doyle4u Год назад

    Well explained 👏

  • @mkumbla
    @mkumbla Год назад

    Good one.. Keep sharing

  • @joeyislive6514
    @joeyislive6514 Год назад

    keep going bro.. you are one of the best

  • @brolinofvandar
    @brolinofvandar Год назад

    I will say, it would have been more accurate to show a sine wave, rather than a triangular wave, in the initial explanation of a Hertz. Every fundamental frequency is a sine wave. Other wave forms are composites of sine waves. And, clock inputs are usually square waves, with the device being clocked triggering on either a leading or trailing edge, usually. The clock is a bit more than just synchronization, which is more a matter of using the same clock throughout, or clocks based on that clock. No data moves anywhere without a clock pulse. The data going to a register is presented at its inputs, but the state doesn't change until it is clocked. There may be different parts of a system that use different clocks, but they'll usually be divided down or multiplied up from the same base clock source, providing the synchronization for the whole system. So, yeah, a computer instruction is going to take more than a clock pulse to execute. Every move the data makes along the way, is a clock. But, some instructions will take more cycles than others. Your measurement of MIPS or whatever sort of depends on the mix of instructions measured with. The clock, however, is more or less the heartbeat of the system and has a direct relation to speed of execution. More efficient instruction sets would also increase speed.

    • @CodingTiger
      @CodingTiger Год назад

      Thank you so much for your suggestions. As the video was created keeping the beginners in mind, I kept it as simple as possible I could. If everything goes well, will make more in-depth videos on the processor and the execution of instructions.

    • @godoyislasruben
      @godoyislasruben Год назад

      ​@@CodingTiger rubén Godoy Islas , 4:30 ❤😅😢

  • @nitinedu8357
    @nitinedu8357 Год назад

    Such a great explanation 👏 👌

  • @bangbinbash
    @bangbinbash Год назад

    Dude this was such a clear and succinct description! Great video.

  • @doyle4u
    @doyle4u Год назад

    👏👏

  • @lathachandran6914
    @lathachandran6914 Год назад

    👍🏻

  • @balasankarp3259
    @balasankarp3259 Год назад

    Excellent

  • @NithinLabhishetty
    @NithinLabhishetty Год назад

    Great efforts.