Skip to content

threaded WaypointQuadtree::sort - #395

Merged
yakra merged 1 commit into
TravelMapping:masterfrom
yakra:quadtree
Jan 2, 2021
Merged

yakra merged 1 commit into
TravelMapping:masterfrom
yakra:quadtree

Conversation

@yakra

@yakra yakra commented Jan 2, 2021

Copy link
Copy Markdown
Contributor

MULTI-THREAD ALL THE THINGS
csv
A curiosity of these graphs is the slight decrease in efficiency when we first exceed the # of physical cores and start getting into the logical cores. After that, efficiency improves again. Save for that small blip, for the most part, more is better.

  • If this effect is present on lab3, it's slight enough to get lost in the noise & quantization of the measurements. 11-13 threads stays at a flat 0.6s. The effect was more visible in an earlier version of the code that used doubly-linked instead of singly-linked lists.
  • This doesn't apply to BiggaTomato, which only has physical cores and no Hyper-threading.

@yakra
yakra merged commit 0f10e46 into TravelMapping:master Jan 2, 2021
@yakra

yakra commented Jan 2, 2021 •

Copy link
Copy Markdown
Contributor Author

Oops. Meant to leave this for Jim to merge. It'll be fine.

@yakra
yakra deleted the quadtree branch January 2, 2021 23:37
@yakra

yakra commented Jan 3, 2021

Copy link
Copy Markdown
Contributor Author
#regex='Finding terminal Quadtree nodes\|Sorting waypoints in Quadtree'
 regex='Sorting waypoints in Quadtree\|Finding unprocessed wpt files'
#regex='Finding terminal Quadtree nodes\|Finding unprocessed wpt files'

for box in BT lab1 lab1.5 lab2 lab3; do
  for exec in $execs; do
    ./taskscale.sh $box $exec "$regex" sulogs/2020-12-28 \
    | sed 's~.*| ~~' | head -n -1 > $exec
  done
  paste $execs <(paste $execs | sed -r 's~(.*)\t(.*)~-\1+\2~' | bc)
  echo
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant