Polling/Interrupt/DMA differences explained easily

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

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

  • @政理汪
    @政理汪 2 года назад +2

    polling
    0:11
    basically you know before actually using
    0:14
    i/o devices we can say that the CPU is
    0:17
    actually in charge of the bus right and
    0:20
    once we include the input and output
    0:22
    then we have both of them who can
    0:26
    actually you know control these data bus
    0:29
    so depending on who gets the bus at
    0:32
    which time and if we connect several
    0:34
    input and output devices you know we
    0:36
    will need a arbitrator but in this video
    0:42
    what I want to go through is
    0:43
    understanding better you know what is
    0:46
    polling what is interrupt and how DMA is
    0:49
    actually better in some aspects and can
    0:52
    be complimenting pulling and interrupts
    0:56
    so for polling what happens it's pretty
    0:58
    simple we just have the CPU that asked
    1:01
    the i/o device all the time as if
    1:05
    it was a like you know person that was
    1:10
    really like one of this person's a cause
    1:11
    you alternative phone to get a poll or a
    1:14
    survey and so they it calls all the time
    1:18
    you know the input and output and ask a
    1:20
    do you have anything for me something
    1:22
    for me or not so the advantages
    1:24
    advantages here is that you know it just
    1:27
    simple simple it's easy to implement
    1:29
    you know it is it's nice when we need
    1:32
    actually regular information but it
    1:35
    wastes a lot of time of CPU and has a
    1:38
    high latency so there are some downsides

    • @hiba-iy3fr
      @hiba-iy3fr 16 дней назад +1

      what's happening here...

  • @mladenkaorlic
    @mladenkaorlic 4 года назад +3

    I finally understand something about OS, pls keep up making these videos!

  • @政理汪
    @政理汪 2 года назад +1

    DMA
    2:13
    and finally we do have DMA which is the
    2:17
    direct memory access and here the data
    2:22
    transfer it's done our assistant bus in
    2:25
    what happens is that the B we're trying
    2:28
    to avoid the CPU so there is actually
    2:31
    some IO peripheral device(peripheral device外部設備) communicating
    2:35
    to the RAM directly or memory to memory
    2:37
    with the you know using direct memory
    2:39
    access the baby a here is T to put a
    2:43
    hold on the CPU and and try to get rid
    2:47
    you know of this middle name and then
    2:49
    this is done by actually sending the
    2:51
    same silence to memory that the CPU
    2:54
    would send so this is how it works

  • @blackgreece2702
    @blackgreece2702 3 года назад +5

    This diagram reminds me of the PlayStation 5's SSD. The SSD in the PlayStation 5 has an I/O throughput of 5.5 GB that runs other multiple tasks (like texture streaming, 8k asset streaming, decompression, near-instant load times etc.) without taxing the 3.5Ghz CPU and 10.3 Teraflops GPU. Because the SSD on the PS5 is the one running the system bus. The DMA controller on the PS5 SSD consists of a 12 memory channel interface.

  • @政理汪
    @政理汪 2 года назад

    interrupt
    1:40
    to it then we have interrupted the
    1:42
    Interop is actually the opposite so
    1:44
    instead of having CPE all time asking
    1:47
    input and output what we have is
    1:49
    actually the i/o device that asked for
    1:52
    with an interest I know the CPE to
    1:55
    interrupt whatever you are doing and and
    1:59
    handle that specific instruction and so
    2:03
    there are some benefits but you know the
    2:08
    CPU doesn't wait but it is much more
    2:10
    complex so there are some downsides

  • @CuriousCyclist
    @CuriousCyclist 2 года назад

    Thank you for taking the time to make this video. Much appreciated.

  • @qaiserbozdar1542
    @qaiserbozdar1542 3 года назад

    You did a magnificent effort Miss Chantal Cox. Best Greetings from Indus Valley.

  • @divinennadiekwe7662
    @divinennadiekwe7662 3 года назад

    This is just what I was looking for. You should create more videos

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

    Super simple and clear explanation... thanks a bunch

  • @JS-wu8bg
    @JS-wu8bg 6 лет назад +3

    Good and Simple explanation! It helped me to understand each concept. Thank you!

  • @siddharthchadha8704
    @siddharthchadha8704 6 лет назад +2

    Wow great explanation. Please do more videos on this OS stuff.

  • @rkscp7711
    @rkscp7711 3 года назад

    This vedio is so helpful for me mam
    Love from India ❤️✨🍁

  • @NarahariNarasapur2498
    @NarahariNarasapur2498 8 лет назад +5

    Fantastic! this is all I was looking for :) ! Thanks

  • @oprincesschristy324
    @oprincesschristy324 2 года назад

    Great! Exactly what I needed, I understood what I tried studying for minutes. Thank you

  • @mytechnoworldavi3535
    @mytechnoworldavi3535 4 года назад

    So nice and informative vlog Sister.
    God bless you.💯💯💯💢💢💢💢

  • @benjaminmusasizi3777
    @benjaminmusasizi3777 6 лет назад +1

    Thank you madam. Its a brilliant yet concise explanation

  • @thatonedudemike3259
    @thatonedudemike3259 3 года назад

    Thank you for the Video! you helped me greatly with my CS homework

  • @rokitageorg
    @rokitageorg 6 лет назад +4

    DMA is another bus master, true. But your explanation is missing the important details of how its done. Please refresh your knowledge of how interrupts work. However, thanks for uploading this video.

  • @hasanakkoc6584
    @hasanakkoc6584 6 лет назад +2

    That is so good explanetion. Thanks,

  • @galacticsurf979
    @galacticsurf979 7 лет назад

    Short and simple. Thanks!

  • @farahabdulahi474
    @farahabdulahi474 7 лет назад +3

    good explanation. Appreciated :)

  • @ecktoh
    @ecktoh 5 лет назад

    bless your soul chantal

  • @megaj0ker
    @megaj0ker 3 года назад +1

    DMA never interact with CPU??? And when we want to interact with CPU wich one is faster polling or Interrupts?

  • @photoyorkteam4920
    @photoyorkteam4920 8 лет назад +2

    Great Work Marin ............

  • @VishalSingh-pu1zb
    @VishalSingh-pu1zb 3 года назад

    Thank you for teaching mam 😍❤️

  • @warkingiv1199
    @warkingiv1199 2 года назад

    Ty was really helpful

  • @MurthyY
    @MurthyY 7 лет назад

    Thank you sooo much keep doing such a videos...

  • @phungdaoxuan99
    @phungdaoxuan99 4 года назад

    wow, you're a genius

  • @ijalsumaidi8840
    @ijalsumaidi8840 8 лет назад +4

    so these polling, interrupt and dma are to access data or what? what are their role/function?

    • @duuuurrrrrrrrrr
      @duuuurrrrrrrrrr 7 лет назад

      receive/transfer data

    • @bernhardtrian7471
      @bernhardtrian7471 6 лет назад +3

      Polling = asking the status of the CPU ---> means , if you are ready , pick my data up that is ready for you
      Interrupt = when a asynchronus event appears --> means , the CPU MUST stop his current work and work of an already defined code , that is outside his current work/program
      So to answer your question : It is existing for a workflow , else chaos would appear and the system wouldn't work properly

  • @codestorywithMIK
    @codestorywithMIK 7 лет назад +2

    Very helpful. Thanks

  • @PravinJanjal92
    @PravinJanjal92 8 лет назад +6

    *best explained*

  • @CarT0nMaN
    @CarT0nMaN 5 лет назад

    Did any of your friends after this video asked you "Am I that annoying for calling you all the time? I just care about you..."

  • @daninoo6208
    @daninoo6208 5 лет назад

    A qstn plz!
    Can show us a good website or a RUclips channel to learn more about stuffs like this?
    nd thnks a lot for answering!

  • @muhammedbassiwed2778
    @muhammedbassiwed2778 6 лет назад

    Finally I understand it.

  • @davidafinzi
    @davidafinzi 6 лет назад

    So interrupt basically just means that instead of the constantly calling on the I/O device, the I/O calls back to the CPU, and that forms an interrupt. Also what accent is that?

    • @blackgreece2702
      @blackgreece2702 3 года назад

      Yeah that's what I want to know as well it's weird

    • @davidafinzi
      @davidafinzi 3 года назад

      @@blackgreece2702 now I'm thinking probably Irish

  • @prashantsingh1515
    @prashantsingh1515 6 лет назад

    Great work

  • @everinfourdutv1495
    @everinfourdutv1495 7 лет назад

    what is vectored interrupt system?

  • @vasiqshair
    @vasiqshair 6 лет назад

    Brilliant!

  • @farhanpasha5321
    @farhanpasha5321 4 года назад

    👍👍

  • @Gandalfbaws
    @Gandalfbaws 6 лет назад +6

    thanks, finally i found a good video without a indian.

    • @siddharthchadha8704
      @siddharthchadha8704 6 лет назад +2

      Quit bitching dumbass. If some Indians can't speak English, don't generalise it for the whole country you fool

    • @ametullahn656
      @ametullahn656 5 лет назад

      Naah you're everywhere like shit,

  • @xinyucao5550
    @xinyucao5550 4 года назад

    thank you

  • @Mc8370
    @Mc8370 7 лет назад

    Thank you!

  • @vivek__pandey
    @vivek__pandey 7 лет назад

    Good explanation

  • @MrVaunorage
    @MrVaunorage 6 лет назад

    GJ!

  • @archsprite
    @archsprite 3 года назад

    explained hardly

  • @BossManTee
    @BossManTee 7 лет назад

    marry me

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

    she is female and telling interrupts. Is this real?

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

      yes I am

    • @coderhex1675
      @coderhex1675 5 лет назад

      @@chantalcox3199 than Marry Me and lets Program this Cortex things ;-) (Sorry for my bad english)

  • @Suku1509
    @Suku1509 4 года назад

    This video doesn't have an Indian guy speaking in heavy accent. How credible is its content?