Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance assumption for multicore operation #9

Open
mrd opened this issue Aug 2, 2023 · 0 comments
Open

Performance assumption for multicore operation #9

mrd opened this issue Aug 2, 2023 · 0 comments

Comments

@mrd
Copy link

mrd commented Aug 2, 2023

time_dif <- round(cores * ((as.numeric(difftime(Sys.time(), start_time, units = "s"))*1000) / nrow(address)), 2)

This seems to assume that there is a 1:1 inverse proportional correlation between number of 'cores' used for processing and running time. But that is not something you can assume, it would only be the case if the task was perfectly parallelisable and there were no other issues (e.g. contention on the bus).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant