Multicore Memory Caching Issues - Cache Coherency

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • David Henty (EPCC)
    PRACE Summer School 21-23 June 2012 - Summer School on Code Optimisation for Multi-Core and Intel MIC Architectures at the Swiss National Supercomputing Centre in Lugano, Switzerland.
  • Наука та технологія

КОМЕНТАРІ • 9

  • @mikem.1688
    @mikem.1688 7 років тому +1

    So well explained, and the diagrams are awesome. If only all the Operating Systems tutorials on youtube could be this good.

  • @yazoo178
    @yazoo178 10 років тому +3

    This is exceptionally well explained, particularly because it's such a complex topic.

  • @piyushkatariya1040
    @piyushkatariya1040 5 років тому

    Great presentation. thank you.

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

    Very instructive! Thanks a lot.

  • @yashkumargumashta6061
    @yashkumargumashta6061 8 років тому

    Great piece of work ..

  • @srnvs
    @srnvs 10 років тому +1

    Thank you

  • @rosepark222
    @rosepark222 5 років тому

    At 24:05, the author said "declare a little array and sub sum of two with two values and thread one update the first part of the array and the thread two updated second part." and I am wondering what does it mean. Don't we need two sub sums for the first and half part of the original array? What does it mean by having little array?

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

      You have the following big array "int bigArray[10000]". Thread1 sums up elements 0~4999 and Thread2 sums up elements 5000~9999. The variable used to store the summation is a single array "int littleArray[2]", where Thread1 writes to littleArray[0] and Thread2 writes to littleArray[1].
      In the process of the summation, Thread1 loops through the first 5000 elements of bigArray and increments the value of littleArray[0] by each element it sees. Thread2 applies this as well for the last 5000 elements while writing to littleArray[1]. From the shared memory's perspective, the concurrent writing to littleArray causes the false sharing.

  • @Darieee
    @Darieee 7 років тому

    nice :D