4 ms·
Not true. If you program like it's the 80's you don't get nearly the same speedups, but some structures like linked lists are basically obsolete or extremely e
by CyberDildonics 11y ago
Not true. If you program like it's the 80's you don't get nearly the same speedups, but some structures like linked lists are basically obsolete or extremely exotic for performance. Even so Intel's out of order execution, branch prediction and caching is very strong.
If you do trivial operations across arrays of linear memory current Intel processors are orders of magnitude faster than naive serial programming. Lots of C code that looks fine can be sped up by 12x by rearranging memory access, and by 50x using SIMD.
- walterbell 11y ago> Lots of C code that looks fine can be sped up by 12x by rearranging memory access, and by 50x using SIMD. Any recommended papers on this topic?
- lukego 11y agoComputer Systems: A Programmer's Perspective (3rd ed) http://www.amazon.com/Computer-Systems-Programmers-Perspective-Edition/dp/013409266X http://www.amazon.com/Computer-Systems-Programmers-Perspecti...
- amelius 11y agohttps://people.freebsd.org/~lstewart/articles/cpumemory.pdf https://people.freebsd.org/~lstewart/articles/cpumemory.pdf
- agumonkey 11y agoSorry I forgot to mention which comment to read : http://tek.io/1fwoxZH http://tek.io/1fwoxZH I was referring to that part : > the real world mflops of the C90, working on data sets too large for a typical pcs small cache, works out to roughly 8.6 gflops while the Intel Core i7 2600 will achieve only about 1gflops sustained on problems out of cache.
- CyberDildonics 11y agoIt isn't a fair comparison though, since a supercomputer with that throughput isn't working on incoherent serial workloads. An i7 Sandy Bridge can do at the very least 6 gflops per core at 3Ghz in my experience.
- agumonkey 11y agoSure, it's a specific case, it was to demonstrate the impact of bandwidth and not to forget it in todays very high xFLOPS.
- CyberDildonics 11y agoIt doesn't demonstrate anything, it is comparing two completely different things. Bandwidth is not a performance limiter in either of these cases.