博客

1024cores: All about lock-free, concurrency, multicore and parallelism

It finally happened!

作者: Dmitry Vyukov 最后更新时间: 2019/02/15 - 13:39
博客

Visual Studio 2010 Built-in CPU Acceleration

Writing the sample code for this post I was amazed myself to see how simple it was to reach over 20 times performance improvement with so little effort.   

作者: 最后更新时间: 2018/12/12 - 18:00
博客

Optimization of Data Read/Write in a Parallel Application

(This work was done by Vivek Lingegowda during his internship at Intel.)

作者: 最后更新时间: 2019/07/04 - 17:40
博客

最快线程间数据交换算法,有效避免锁竞争 -- TwoQueues

处理多线程数据共享问题注意的几个要点:

1、锁竞争:尽量减少锁竞争的时间和次数。

2、内存:尽量是使用已分配内存,减少内存分配和释放的次数。尽量是用连续内存,减少共享占用的内存量。

多线程数据交换简单方案A:

定义一个list,再所有操作list的地方进行加锁和解锁。

简单模拟代码:

作者: 最后更新时间: 2019/07/04 - 21:30
博客

Modern Locking

Most multi-threaded software uses locking. Lock optimization traditionally has aimed to reduce lock contention, that is make the critical regions smaller.

作者: Andreas Kleen (Intel) 最后更新时间: 2019/07/04 - 19:18
博客

Go Parallel 2

Parallel programming with Go language (golang). The blog shows examples of parallel divide-and-conquer decomposition and parallel pipelines.
作者: Dmitry Vyukov 最后更新时间: 2019/07/04 - 10:35
博客

Introduction to OpenMP* on YouTube*

Tim Mattson (Intel) has authored an extensive series of excellent videos as in introduction to OpenMP*.

作者: Mike P. (Intel) 最后更新时间: 2019/07/04 - 19:51
博客

A Guide to Optimization Techniques for the Intel® MIC Architecture

A 3-part educational series on Optimization Techniques for the Intel® MIC Architecture is provided by Colfax Research. The series focuses on select topics on optimization of applications for Intel’s multi-core and manycore architectures (Intel® Xeon® processors and Intel® Xeon Phi™ processors).
作者: Iman S. (Intel) 最后更新时间: 2019/07/06 - 16:40
博客

PGO: Let It Go (PHP)

We can hope that companies like Intel® will come along with a faster processor. (And this does tend to happen every year). Or we can improve our compilers to produce better machine code. Or we can analyze our own code and change it to run more optimally. For PHP, we do all three: We partner with the processor architects to improve the way they execute PHP; we look for changes we can make to the...
作者: David S. (Blackbelt) 最后更新时间: 2019/07/03 - 20:08
博客

Three Pieces of Advice for Code Modernization Success

What three code modernization techniques would I suggest to help a programmer improve the execution performance of her code? With too many specific things to choose from, these are three recommendations for any programmer anywhere and anytime.
作者: Clay B. (Blackbelt) 最后更新时间: 2018/12/12 - 18:08