Shared Memory Systems

Поделиться
HTML-код
  • Опубликовано: 20 июн 2024
  • Operating System: Shared Memory Systems
    Topics discussed:
    1) Shared Memory Systems.
    2) Producer-Consumer Problem.
    3) Type of Buffers.
    4) Unbounded Buffer.
    5) Bounded Buffer.
    Follow Neso Academy on Instagram: @nesoacademy
    Contribute: www.nesoacademy.org/donate
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacademy.org/recommende...
    Website ► www.nesoacademy.org/
    Forum ► forum.nesoacademy.org/
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #OperatingSystemByNeso #os #OperatingSystem #SharedMemorySystems

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

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

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

  • @DaiMoscv
    @DaiMoscv Год назад +46

    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.

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

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

  • @rohitranjan2357
    @rohitranjan2357 4 года назад +22

    nothing can be better than watching your informative video

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

    Clearly explained.

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

    ur a real one

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

    Fantastic explanation
    Thankyou so much sir🙏🙏

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

    An awesome explanation 👍

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

    Excellent work..

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

    Thank you for this informative video 😊

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

    Fantastic explanation. #Stay Blessed!

  • @ayushiyadav1
    @ayushiyadav1 29 дней назад

    yess crystal clear! thanks Neso❤❤

  • @farahmohamed2104
    @farahmohamed2104 7 месяцев назад

    clear crystal explanation

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

    Please do more videos on operating systems

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

    Thank you, much love from University of Zimbabwe

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

    Explained beautifully!!!

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

    very amazing tutor

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

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

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

    Clean af

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

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

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

    great video sir

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

    You are the best of all time

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

    Thanks

  • @nextleveltech267
    @nextleveltech267 11 месяцев назад

    Thank you ❤️

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

    Thank you

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

    Thankyou sir

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

    Please explain about the Threads.

  • @eobardthaw
    @eobardthaw 2 года назад +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

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

    Please a video on memory management and virtual memory

    • @jaganjagan7962
      @jaganjagan7962 Месяц назад

      see sudhakar Atchala and education 4u

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

    amazing vidieo

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

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

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

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

  • @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.

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

    You the best ❤❤❤

  • @divyanshmishra3551
    @divyanshmishra3551 4 года назад +4

    Unbounded buffer - normal queue, bounded buffer - circular queue

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

      But a circular queue also does not provide unlimited memory

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

    Tq

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

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

  • @dannymasri2910
    @dannymasri2910 3 года назад +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 3 года назад

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

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

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

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

    How persistent storage is handled by operating systems?

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

    Your Lecture is based on Summary of Silberchats Topics

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

    Buffer is like a placenta.

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

    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.

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

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

  • @user-nw3mr8ux2i
    @user-nw3mr8ux2i Год назад

    what is Buffers?

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

    Sir plz provide us me these notes

  • @rajeshsunarkani1063
    @rajeshsunarkani1063 4 года назад +2

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

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

    Can I get the slides??

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

      Please visit our website www.nesoacademy.org

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

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

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

      This mean consumer will read garbage value.

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

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

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

    x2 best speed

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

    where is the topic race condition??

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

    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.

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

    « process eh »

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

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

    • @anupamjain9571
      @anupamjain9571 Год назад +21

      That's how you write the answers

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

      @@anupamjain9571 😅

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

      This is the real way of teaching❤

    • @kiranchakrala5895
      @kiranchakrala5895 9 месяцев назад +6

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

    • @user-hm2jw3jc1s
      @user-hm2jw3jc1s 8 месяцев назад +4

      ​@@kiranchakrala5895it's called driving the point home

  • @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..

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

    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

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

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

  • @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???