
Sat, 06/25/2022 - 12:33
Hi everyone,
There are about a few thousand file in my project.They are all very small, about 20Kb.
So i use 4 threads to read these files.
I was also shocked that the read speed didn't change.
During debugging, I randomly interrupt the program and find that each thread is executing the BRepTools::read() function at different stages.
Can someone please tell me why this?
At least I verified the thread safety of this function. :)
Thanks for any help.
Attachments:
Sat, 06/25/2022 - 21:24
Why would you expect reading speed to be changed? Never heard about HDD or SSD drives that could show more speed by using multiple CPU threads - for that your files should be placed at different physical drives.