[eigen-commits] commit/eigen: rmlarsen: Reduce dispatch overhead in parallelFor by only calling thread_pool.Schedule() for one of the two recursive calls in handleRange. This avoids going through the scedule path to push both recursive calls onto another thread-queue in the binary tree, but instead executes one of them on the main thread. At the leaf level this will still activate a full complement of threads, but will save up to 50% of the overhead in Schedule (random number generation, insertion in queue which includes signaling via atomics). |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen-commits Archives
]
- To: eigen-commits@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen-commits] commit/eigen: rmlarsen: Reduce dispatch overhead in parallelFor by only calling thread_pool.Schedule() for one of the two recursive calls in handleRange. This avoids going through the scedule path to push both recursive calls onto another thread-queue in the binary tree, but instead executes one of them on the main thread. At the leaf level this will still activate a full complement of threads, but will save up to 50% of the overhead in Schedule (random number generation, insertion in queue which includes signaling via atomics).
- From: Bitbucket <commits-noreply@xxxxxxxxxxxxx>
- Date: Mon, 14 Nov 2016 22:39:53 -0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=bitbucket.org; h=mime-version:content-type:content-transfer-encoding:subject:from:to; s=s1; bh=A0wiy08A/YPU5CVMdnyojfHaUus=; b=lh/gLgQCul8P9fJy66BRS12 voYX/V03IWBxzU5uR3yJuZJtTaHVKm0rVItFJhY34l3rQVkp5iA1zs5KvqmrKY4x Tn56LoJZMiLQNRfFSEV5dY80Z/XpRZ2WHI+bAO+gn5lyuSarVCMf90E+UmcV+XxO ZzsTQYKhhPxx0CyqJkm4=
1 new commit in eigen:
https://bitbucket.org/eigen/eigen/commits/c9296b1f6c7a/
Changeset: c9296b1f6c7a
User: rmlarsen
Date: 2016-11-14 22:18:16+00:00
Summary: Reduce dispatch overhead in parallelFor by only calling thread_pool.Schedule() for one of the two recursive calls in handleRange. This avoids going through the scedule path to push both recursive calls onto another thread-queue in the binary tree, but instead executes one of them on the main thread. At the leaf level this will still activate a full complement of threads, but will save up to 50% of the overhead in Schedule (random number generation, insertion in queue which includes signaling via atomics).
Affected #: 1 file
Repository URL: https://bitbucket.org/eigen/eigen/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.