Avoiding ping pong

By: Linus Torvalds (torvalds.delete@this.linux-foundation.org),
Room: Moderated Discussions
Eric Bron (eric.bron.delete@this.zvisuel.privatefortest.com) on December 6, 2014 2:42 am wrote:
>
> or people using DAGs to explain why reference count is a solid
> solution when complex object graphs typically have cycles

Oh, I agree. My example was the simple case. The really complex cases are much worse.

I seriously don't believe that the future is parallel. People who think you can solve it with compilers or programming languages (or better programmers) are so far out to lunch that it's not even funny.

Parallelism works well in simplified cases with fairly clear interfaces and models. You find parallelism in servers with independent queries, in HPC, in kernels, in databases. And even there, people work really hard to make it work at all, and tend to expressly limit their models to be more amenable to it (eg databases do some things much better than others, so DB admins make sure that they lay out their data in order to cater to the limitations).

Of course, other programming models can work. Neural networks are inherently very parallel indeed. And you don't need smarter programmers to program them either..

Linus
< Previous Post in ThreadNext Post in Thread >
Thread (181 posts)
TopicPosted ByPosted
ARMv8 getting atomic operationsdmcq
  ARMv8 getting atomic operationsMaynard Handley
    ARMv8 getting atomic operationsDoug S
      ARMv8 getting atomic operationsdmcq
      ARMv8 getting atomic operationsMaynard Handley
      ARMv8 getting atomic operationsBrett
    ARMv8 getting atomic operationsAndreas
      ARMv8 getting atomic operationsLinus Torvalds
        ARMv8 getting atomic operationsanon
          Guaranteed transactionsPaul A. Clayton
            Guaranteed transactionsanon
              Avoiding ping pongPaul A. Clayton
                Avoiding ping ponganon
                  OoO window is limitedPaul A. Clayton
                Avoiding ping pongAaron Spink
                  Avoiding ping pongKonrad Schwarz
                    Avoiding ping pongAaron Spink
                    Avoiding ping pongGabriele Svelto
                      Avoiding ping pongKonrad Schwarz
                        Avoiding ping pongGabriele Svelto
                          Avoiding ping pongEric Bron nli
                            Avoiding ping pongKonrad Schwarz
                              Avoiding ping pongEric Bron nli
                                Avoiding ping pongKlimax
                                  Avoiding ping pongEric Bron
                              Avoiding ping pongGabriele Svelto
                                Avoiding ping pongKonrad Schwarz
                                  Avoiding ping pongGabriele Svelto
                                    Avoiding ping pongKonrad Schwarz
                                      Avoiding ping pongGabriele Svelto
                                        Avoiding ping ponganon
                            Avoiding ping pongGabriele Svelto
                              Avoiding ping pongEric Bron
                                Avoiding ping pongGabriele Svelto
                                  Avoiding ping pongEric Bron
                                    Avoiding ping pongnksingh
                                      Avoiding ping pongEric Bron
                                        Avoiding ping pongGiGNiC
                                          Avoiding ping pongEric Bron nli
                                          Avoiding ping pongEric Bron
                                            Avoiding ping pongnksingh
                                              Avoiding ping pongEric Bron
                                                Avoiding ping pongGiGNiC
                                                Avoiding ping pongnksingh
                                                  Avoiding ping pongEric Bron
                                    Avoiding ping pongdmsc
                                      Avoiding ping pongEric Bron
                                        Avoiding ping pongKlimax
                                          Avoiding ping pongrwessel
                                        Avoiding ping pongdmsc
                                        Avoiding ping pongKonrad Schwarz
                                          Avoiding ping pongMichael S
                                            Avoiding ping pongKonrad Schwarz
                          Avoiding ping pongKonrad Schwarz
                        Avoiding ping pongLinus Torvalds
                          Avoiding ping pongEric Bron
                            Avoiding ping pongnksingh
                              Avoiding ping pongEric Bron
                            Avoiding ping pongLinus Torvalds
                              Avoiding ping pongnksingh
                                Avoiding ping pongEric Bron
                                  Avoiding ping pongBrett
                                    Avoiding ping pongEric Bron
                                    Avoiding ping pongrwessel
                                      Avoiding ping pongBrett
                                      Avoiding ping pongDoug S
                              Avoiding ping pongJouni Osmala
                                Avoiding ping ponganon
                                  Avoiding ping pongJouni Osmala
                                    Avoiding ping pongLinus Torvalds
                                      Avoiding ping pongJouni Osmala
                                        Avoiding ping pongLinus Torvalds
                                          Avoiding ping pongGabriele Svelto
                                            Avoiding ping pongMaynard Handley
                                              Avoiding ping pongPatrick Chase
                                              Avoiding ping pongGabriele Svelto
                                                Avoiding ping pongPatrick Chase
                                            Why read RWT or Reddit when you can get journalists to do it for you?Rob Thorpe
                                              Why read RWT or Reddit when you can get journalists to do it for you?juanrga
                                                Why read RWT or Reddit when you can get journalists to do it for you?EduardoS
                                                  Why read RWT or Reddit when you can get journalists to do it for you?juanrga
                                                Why read RWT or Reddit when you can get journalists to do it for you?Eric Bron nli
                                                  Why read RWT or Reddit when you can get journalists to do it for you?juanrga
                                                    Why read RWT or Reddit when you can get journalists to do it for you?Michael S
                                                      Why read RWT or Reddit when you can get journalists to do it for you?juanrga
                                                        Why read RWT or Reddit when you can get journalists to do it for you?Michael S
                                                          Why read RWT or Reddit when you can get journalists to do it for you?Eric Bron
                                                            KNL cacheDavid Kanter
                                                              KNL cacheEric Bron
                                                                KNL cacheMichael S
                                                                  KNL cacheEric Bron
                                                                    KNL cacheMichael S
                                                                      KNL cacheEric Bron
                                                          Why read RWT or Reddit when you can get journalists to do it for you?juanrga
                                                            Why read RWT or Reddit when you can get journalists to do it for you?Michael S
                                                              Manycores vs multicoresjuanrga
                                                                Manycores vs multicoresAaron Spink
                                                                  Manycores vs multicoresjuanrga
                                                                    Manycores vs multicoresExophase
                                                                      Manycores vs multicoresjuanrga
                                                                        Manycores vs multicoresExophase
                                                                        Manycores vs multicoresAaron Spink
                                                                    Manycores vs multicoresAaron Spink
                                                                      Manycores vs multicoresjuanrga
                                                                        Manycores vs multicoresAaron Spink
                                                                          Manycores vs multicoresJouni Osmala
                                                                            Manycores vs multicoresjuanrga
                                                                            Manycores vs multicorescoppice
                                                                              Manycores vs multicoresJouni Osmala
                                                                        Manycores vs multicoresanon
                                                                      Manycores vs multicoresMichael S
                                                                        Manycores vs multicoresAaron Spink
                                                                          Manycores vs multicoresMichael S
                                                                            Manycores vs multicoresEric Bron
                                                                              Manycores vs multicoresEric Bron
                                                        Why read RWT or Reddit when you can get journalists to do it for you?Eric Bron
                                                          Why read RWT or Reddit when you can get journalists to do it for you?juanrga
                                                            Why read RWT or Reddit when you can get journalists to do it for you?Eric Bron
                                                              Manycores vs multicoresjuanrga
                                                    Why read RWT or Reddit when you can get journalists to do it for you?Eric Bron
                                                      Why read RWT or Reddit when you can get journalists to do it for you?juanrga
                                                        Why read RWT or Reddit when you can get journalists to do it for you?Eric Bron
                                                        Why read RWT or Reddit when you can get journalists to do it for you?Linus Torvalds
                                                          Pink unicorns for salejuanrga
                                                        Intentionally picking a competitors slow part is cheating ...Mark Roulo
                                                          Intentionally picking a competitors slow part is cheating ...coppice
                                                            Intentionally picking a competitors slow part is cheating ...Mark Roulo
                                                              Intentionally picking a competitors slow part is cheating ...Anon
                                                              Intentionally picking a competitors slow part is cheating ...David Hess
                                                            Intentionally picking a competitors slow part is cheating ...someone
                                                              Intentionally picking a competitors slow part is cheating ...coppice
                                                                Intentionally picking a competitors slow part is cheating ...coppice
                                                                  Intentionally picking a competitors slow part is cheating ...Michael S
                                                                    Intentionally picking a competitors slow part is cheating ...coppice
                                                                      Intentionally picking a competitors slow part is cheating ...Michael S
                                                                        Intentionally picking a competitors slow part is cheating ...coppice
                                                                      Core sizesjuanrga
                                                          NVIDIA'S FIRST CPU IS A WINNER (Linley Gwennap)juanrga
                                                        Why read RWT or Reddit when you can get journalists to do it for you?Patrick Chase
                                                        Why read RWT or Reddit when you can get journalists to do it for you?coppice
                                                          Why read RWT or Reddit when you can get journalists to do it for you?Patrick Chase
                                                            Why read RWT or Reddit when you can get journalists to do it for you?Mark Roulo
                                                              Why read RWT or Reddit when you can get journalists to do it for you?Patrick Chase
                                                                Why read RWT or Reddit when you can get journalists to do it for you?Eric Bron
                                                            Alternatives to OOOE (again)juanrga
                                                              Alternatives to OOOE (again)David Kanter
                                                                Alternatives to OOOE (again)juanrga
                                                            Why read RWT or Reddit when you can get journalists to do it for you?Gabriele Svelto
                                              Why read RWT or Reddit when you can get journalists to do it for you?Fake Linus Torvalds
                                                Why read RWT or Reddit when you can get journalists to do it for you?Rob Thorpe
                                          Avoiding ping pongMaynard Handley
                                            Avoiding ping pongPatrick Chase
                                              Avoiding ping pongMaynard Handley
                                      Avoiding ping pongSalvatore De Dominicis
                                        Avoiding ping pongPatrick Chase
                                      Avoiding ping pongook
                                      Avoiding ping pongArt Scott
                                        Avoiding ping pongEric Bron nli
                                      What about specialization?Troll?
                                        What about specialization?Ungo
                                      Avoiding ping pongfewwef
                                      Avoiding ping pongV.Krishn
                                    Avoiding ping pongGabriele Svelto
                                    Avoiding ping ponganon
                            Avoiding ping pongKonrad Schwarz
                              Avoiding ping pongLinus Torvalds
                          Object reference lockingDavid W
                            Object reference lockingPatrick Chase
                              Object reference lockingDavid W
                    ISA != interface for "most programmers"Paul A. Clayton
                      ISA != interface for "most programmers"rwessel
                  Interesting! (exporting hot lines/cache-aware ISA); "Please sir, I want some more" (NT)Paul A. Clayton
                  Avoiding ping pongMichael S
          ARMv8 getting atomic operationsLinus Torvalds
            LL/SC idiom recognition is not admitting RMW superiorityPaul A. Clayton
            ARMv8 getting atomic operationsanon
    ARMv8 getting atomic operationsPatrick Chase
  limited ordernksingh
    I didn't understand this either. (NT)Konrad Schwarz
    limited orderdmcq
    limited orderbakaneko