Blog post

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

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

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

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

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

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

简单模拟代码:

Authored by Last updated on 07/04/2019 - 21:30
Blog post

The switch() statement isn't really evil, right?

In my current position, I work to optimize and parallelize codes that deal with genomic data, e.g., DNA, RNA, proteins, etc.

Authored by Clay B. (Blackbelt) Last updated on 07/04/2019 - 10:46
Blog post

Processing Arrays of Bits with Intel® Advanced Vector Extensions 512 (Intel® AVX-512)

As announced last week by James, future Intel

Authored by Thomas Willhalm (Intel) Last updated on 07/04/2019 - 19:30
Blog post

opencl_node overview

Introduction
Authored by Alex (Intel) Last updated on 05/30/2018 - 07:08
Blog post

Reduce Boilerplate Code in Parallelized Loops with C++11 Lambda Expressions

Parallelize loops with Intel® Threading Building Blocks using Intel® C++ Compiler for lambda expressions.
Authored by gaston-hillar (Blackbelt) Last updated on 12/12/2018 - 18:00
Blog post

Debug Intel® Transactional Synchronization Extensions

If printf or fprintf functions cause transaction aborts, use Intel® Processor Trace as a work-around.
Authored by Roman Dementiev (Intel) Last updated on 07/04/2019 - 17:00
Blog post

Deprecating the PCOMMIT Instruction

The PCOMMIT instruction has been deprecated.
Authored by Rudoff, Andy M (Intel) Last updated on 07/04/2019 - 19:20
Blog post

Intel® Xeon Phi™ Product Family x200 (KNL) User mode (ring 3) MONITOR and MWAIT

The Intel® Xeon Phi™ Product Family x200 series processors (formerly known as “Knights Landing”) contain a model specific feature, which allows the MONITOR and MWAIT

Authored by Cownie, James H (Intel) Last updated on 06/14/2019 - 15:00
Blog post

弃用 PCOMMIT 指令

PCOMMIT 指令已被弃用。
Authored by Rudoff, Andy M (Intel) Last updated on 07/04/2019 - 19:20
Blog post

The Work Isolation Functionality in Intel® Threading Building Blocks (Intel® TBB)

Nowadays, almost all software developers work with multi-threaded CPUs, and so have to face and solve parallel programming problems.

Authored by Alex (Intel) Last updated on 08/01/2019 - 09:30