Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Vector performance on a specific situation
Vector performance on a specific situation [message #40131] Tue, 18 June 2013 09:01 Go to previous message
crydev is currently offline  crydev
Messages: 151
Registered: October 2012
Location: Netherlands
Experienced Member
Hello,

I have a question about the Vector's performance in a specific situation. I have a program that utilizes 8 threads on new systems, heavy utilization of paralellism. Say I have a Vector containing 300 items. I split the indexes of those items over 8 threads, meaning the Vector will be accessed from 8 threads simultaniously, but every thread accesses a different item. The same memory location is never modified.

I have read something about Vector cache lines. What is the performance of the U++ implementation of the Vector in this situation? I tried to copy the thread-specific data into arrays and passed them into the functions, but it seems like just as fast.

If there is a better way to do this, I appreciate any suggestions. Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error in XML Read
Next Topic: Troubles compiling code with -fPIC
Goto Forum:
  


Current Time: Tue Jun 17 14:36:20 CEST 2025

Total time taken to generate the page: 0.05114 seconds