Shared Memory Systems

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 74

  • @DaiMoscv
    @DaiMoscv 2 роки тому +54

    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 роки тому +31

    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 років тому +24

    nothing can be better than watching your informative video

  • @shirleyachara3809
    @shirleyachara3809 3 роки тому +23

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

  • @mathivathani412
    @mathivathani412 5 років тому +19

    Clearly explained.

  • @ganeshtarun2421
    @ganeshtarun2421 3 роки тому +6

    Explained beautifully!!!

  • @reyy9220
    @reyy9220 6 місяців тому +2

    ur a real one

  • @vidhiveragiwala7570
    @vidhiveragiwala7570 5 років тому +9

    Please a video on memory management and virtual memory

    • @jaganjagan7962
      @jaganjagan7962 4 місяці тому

      see sudhakar Atchala and education 4u

  • @vijaysharma-nn9th
    @vijaysharma-nn9th 6 років тому +3

    Please do more videos on operating systems

  • @ayushiyadav1
    @ayushiyadav1 3 місяці тому

    yess crystal clear! thanks Neso❤❤

  • @mazharkhaliq1971
    @mazharkhaliq1971 2 роки тому +1

    Thank you for this informative video 😊

  • @remotelearn3854
    @remotelearn3854 3 роки тому +1

    very amazing tutor

  • @farahmohamed2104
    @farahmohamed2104 10 місяців тому

    clear crystal explanation

  • @takudzwachomba9032
    @takudzwachomba9032 Рік тому

    Thank you, much love from University of Zimbabwe

  • @roopkumar6835
    @roopkumar6835 2 роки тому

    Fantastic explanation. #Stay Blessed!

  • @GustavoMontanha
    @GustavoMontanha 4 роки тому +1

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

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

  • @TaySwift332
    @TaySwift332 3 роки тому

    You are the best of all time

  • @zahid_9217
    @zahid_9217 4 роки тому +1

    An awesome explanation 👍

  • @akshaydhumale3123
    @akshaydhumale3123 Рік тому +2

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

  • @ranaaqibkhan1267
    @ranaaqibkhan1267 4 роки тому +1

    Please explain about the Threads.

  • @PeterServON
    @PeterServON 4 роки тому +1

    Clean af

  • @subee128
    @subee128 7 місяців тому

    Thank you

  • @vaibhuuanand
    @vaibhuuanand 6 років тому +3

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

  • @nextleveltech267
    @nextleveltech267 Рік тому

    Thank you ❤️

  • @muskanmuskan6778
    @muskanmuskan6778 2 роки тому

    Fantastic explanation
    Thankyou so much sir🙏🙏

  • @yashyadav7927
    @yashyadav7927 2 роки тому

    great video sir

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

  • @h.iq.97
    @h.iq.97 5 років тому +2

    amazing vidieo

  • @coolguyibroos290
    @coolguyibroos290 4 роки тому

    Thanks

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

  • @dhanushsivajaya1356
    @dhanushsivajaya1356 3 роки тому

    Thankyou sir

  • @bereketbancha5586
    @bereketbancha5586 2 роки тому

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

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

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

  • @egehandastan9513
    @egehandastan9513 2 роки тому +1

    Buffer is like a placenta.

  • @santhoshikumar2320
    @santhoshikumar2320 3 роки тому

    Tq

  • @ahmedebrahem1674
    @ahmedebrahem1674 2 роки тому

    You the best ❤❤❤

  • @moizmujahid1728
    @moizmujahid1728 4 роки тому +1

    Your Lecture is based on Summary of Silberchats Topics

  • @mohamedragabsalama2509
    @mohamedragabsalama2509 2 роки тому

    How persistent storage is handled by operating systems?

  • @mdeepi24
    @mdeepi24 5 років тому +1

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

  • @alexlartey574
    @alexlartey574 3 роки тому +1

    Can I get the slides??

    • @nesoacademy
      @nesoacademy  3 роки тому +1

      Please visit our website www.nesoacademy.org

  • @emc2knowledge999
    @emc2knowledge999 6 років тому

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

  • @rimshaafzal4004
    @rimshaafzal4004 3 роки тому +1

    Sir plz provide us me these notes

  • @AvinashKumarJha-c8h
    @AvinashKumarJha-c8h Рік тому

    what is Buffers?

  • @rajeshballer
    @rajeshballer 5 років тому +2

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

  • @muhammedimdaad
    @muhammedimdaad 8 місяців тому

    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.

  • @billionairetactics5040
    @billionairetactics5040 3 роки тому

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

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

  • @jurajkristofik2023
    @jurajkristofik2023 5 років тому +34

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

    • @anupamjain9571
      @anupamjain9571 Рік тому +25

      That's how you write the answers

    • @krishnadatt5692
      @krishnadatt5692 Рік тому +1

      @@anupamjain9571 😅

    • @shivi2467
      @shivi2467 Рік тому +15

      This is the real way of teaching❤

    • @kiranchakrala5895
      @kiranchakrala5895 Рік тому +7

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

    • @BorisAtsiamba
      @BorisAtsiamba 11 місяців тому +7

      ​@@kiranchakrala5895it's called driving the point home

  • @krishnaTiwari851
    @krishnaTiwari851 2 роки тому

    where is the topic race condition??

  • @girishpareek7617
    @girishpareek7617 5 років тому +1

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

  • @sreenathkalarickal
    @sreenathkalarickal 3 роки тому

    x2 best speed

  • @itsmaxim01
    @itsmaxim01 Рік тому

    « process eh »

  • @hussamcheema
    @hussamcheema 4 роки тому +3

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

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