Shared Memory Systems

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

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

  • @DaiMoscv
    @DaiMoscv 2 года назад +62

    Here is what I understood:
    Shared memory System is one of models of Interprocess Communication which is used for communicating between processes by creating region of a memory. The processes that initiated communication will be creating the region of a memory and others who wants to communicate has to put the shared memory-segment to their address space. Originally operating system won't allow processes accessing each other's data, but if two or more processes agree to remove their restriction then it's possible.
    In order to understand the concept we took an example of Producer Consumer problem. Producer produces an information and consumer consumes information (just like real life examples like having services, buying staff, surfing internet etc). The problem is the producer and consumer has to work simultaneously so that while producer produces, consumer will consume. They has to be synchronized so that consumer will only consume what's available there (instead of trying to consume which isn't produced yet). The solution to the problem is shared memory, to allow producer and consumer work concurrently we need something called buffer of items which can be constantly filled with information by producer and consumed by the consumer. Buffer resides in shared memory region.
    There are two types of buffers, unbound buffer and bound buffer. In either case if there is no information to be consumed then consumer must wait. The difference is for unbound buffer, the producer can produce without limitation while for the bound buffer producer can produce only fixed amount of data.

  • @ThisIsntmyrealnameGoogle
    @ThisIsntmyrealnameGoogle 3 года назад +35

    I absolutely love the way you teach, repetition and rewording/ rephrasing ways to make us understand it in different ways is so helpful.

  • @rohitranjan2357
    @rohitranjan2357 5 лет назад +25

    nothing can be better than watching your informative video

  • @shirleyachara3809
    @shirleyachara3809 3 года назад +25

    Fantastic explanation, it is very useful to add real life examples, thank you 🙏

  • @reyy9220
    @reyy9220 8 месяцев назад +2

    ur a real one

  • @GustavoMontanha
    @GustavoMontanha 4 года назад +1

    best ever browser. It has changed my interaction with the internet, for the better. Thank you so much.

  • @mathivathani412
    @mathivathani412 5 лет назад +20

    Clearly explained.

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

    Thank you, much love from University of Zimbabwe

  • @divyanshmishra3551
    @divyanshmishra3551 5 лет назад +4

    Unbounded buffer - normal queue, bounded buffer - circular queue

    • @rishabkumar4940
      @rishabkumar4940 4 года назад +1

      But a circular queue also does not provide unlimited memory

  • @ganeshtarun2421
    @ganeshtarun2421 3 года назад +6

    Explained beautifully!!!

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

    You are the best of all time

  • @ayushiydvKG
    @ayushiydvKG 6 месяцев назад

    yess crystal clear! thanks Neso❤❤

  • @mazharkhaliq1971
    @mazharkhaliq1971 2 года назад +1

    Thank you for this informative video 😊

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

    clear crystal explanation

  • @akshaydhumale3123
    @akshaydhumale3123 Год назад +2

    this video is great example of how to make 5 mins video into 15 mins 😩😩😩

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

    Fantastic explanation. #Stay Blessed!

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

    very amazing tutor

  • @vijaysharma-nn9th
    @vijaysharma-nn9th 6 лет назад +3

    Please do more videos on operating systems

  • @vidhiveragiwala7570
    @vidhiveragiwala7570 6 лет назад +9

    Please a video on memory management and virtual memory

    • @jaganjagan7962
      @jaganjagan7962 6 месяцев назад

      see sudhakar Atchala and education 4u

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

    Fantastic explanation
    Thankyou so much sir🙏🙏

  • @zahid_9217
    @zahid_9217 4 года назад +1

    An awesome explanation 👍

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

    Thank you ❤️

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

    great video sir

  • @subee128
    @subee128 9 месяцев назад

    Thank you

  • @PeterServON
    @PeterServON 4 года назад +1

    Clean af

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

    Please upload some videos for 'Design and Analysis of Algorithms(DAA)'.

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

    You the best ❤❤❤

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

    Your Lecture is based on Summary of Silberchats Topics

  • @egehandastan9513
    @egehandastan9513 2 года назад +1

    Buffer is like a placenta.

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

    Please explain about the Threads.

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

    Thankyou sir

  • @h.iq.97
    @h.iq.97 5 лет назад +2

    amazing vidieo

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

    Thanks

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

    Tq

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

    u explained that, if 2 processes want to use 'Shared memory' for communication then they should break the restriction which is put by OS, i.e one process can not access memory of other process and vice-versa. So
    how this restriction is broken by processes?
    who is going to intimate this broken restriction to OS?
    Actually only processes who want to access this memory, should break the restriction. isn't it? If not, then why process which is going to write into buffer, should break the restriction? because shared memory resides in its own memory space.

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

    Will you make video over pipes ,DDE(dynamic data exchange) ,OLE (object linking & embedding)interprocess communication...
    Because of that is a part of IPC

  • @tanchwa3740
    @tanchwa3740 2 года назад +1

    is this buffer used for shared memory the same thing as a buffer in a heap or the stack? it sounds a little different, so I'm not sure.

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

    Is there more chapters on Operating system or its completed. please tell me

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

    How persistent storage is handled by operating systems?

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

    thankyou sir, would you make me the video on performance metrics and benchmarking in computer architecture?

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

    I'm able to hear the cry of a child in the background.

  • @AvinashKumarJha-c8h
    @AvinashKumarJha-c8h Год назад

    what is Buffers?

  • @dannymasri2910
    @dannymasri2910 4 года назад +1

    My question is that if the shared memory region in this IPC method has anything to do at anypoint with dynamic libraries or the libraries that have an address space from which other programs can use for dynamic library linking or is this method of communication separate from this all together?

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

      That is to say is the data being exchanged generally dynamic library code between process A & B ??

  • @rajeshballer
    @rajeshballer 5 лет назад +2

    unbounded buffer doesn't seems to be practical .Could u give any example for that one?

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

    Please make lectures on 8085 mp lectures......

  • @brenotanquista9543
    @brenotanquista9543 15 дней назад

    WHERE IS THE CODE

  • @rimshaafzal4004
    @rimshaafzal4004 4 года назад +1

    Sir plz provide us me these notes

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

    Can any one tell or Neso Academy how we make shared array ?

  • @jurajkristofik2023
    @jurajkristofik2023 5 лет назад +39

    Why are you repeating every single sentence in multiple variations 3-5 times?

    • @anupamjain9571
      @anupamjain9571 2 года назад +28

      That's how you write the answers

    • @krishnadatt5692
      @krishnadatt5692 Год назад +1

      @@anupamjain9571 😅

    • @shivi2467
      @shivi2467 Год назад +16

      This is the real way of teaching❤

    • @kiranchakrala5895
      @kiranchakrala5895 Год назад +9

      So that every one : Avg,Topper and other students can grasp the concept by doing that

    • @BorisAtsiamba
      @BorisAtsiamba Год назад +8

      ​@@kiranchakrala5895it's called driving the point home

  • @muhammedimdaad
    @muhammedimdaad 10 месяцев назад

    IS UNBOUNDED BUFFER IS REAL??
    if two processes are agreed for a shared memory space which is LIMITED, obviously it is BOUNDED. How can then we can create an unbounded queue??? That's not possible right.

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

    Can I get the slides??

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

      Please visit our website www.nesoacademy.org

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

    where is the topic race condition??

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

    x2 best speed

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

    How the consumer can consume what is not produced either so how it is a problem

    • @qkloh6804
      @qkloh6804 4 года назад +1

      This mean consumer will read garbage value.

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

    « process eh »

  • @paurushgargtube
    @paurushgargtube 3 года назад +2

    content is good... but I am annoyed by listening to every single sentence rephrased (very closely) over and over.. and the unnecessary explanation of usual things..

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

    you repeat the same thing at least 2 or 3 times which irritates me!

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

    a little bit long-winded

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

      All I want to know is can a playlist of songs that someone sent you pop up a year later as a memory like Facebook does? Is there anybody there that can answer my question please

  • @PhilBusby
    @PhilBusby 4 года назад +1

    Why do you have to say the same thing so many times? Is your target audience five year-olds? "The unbounded buffer places no practical limit on the size of the buffer which means that unbounded buffer places no practical limit on the size of the buffer, so the producer has no practical limit on the size of the information it sends because unbounded buffer places no practical limit on the size of the buffer". Wtf???