Closed SahithiKasim closed 11 months ago
@SahithiKasim is there a way that I can monitor CPU and RAM usage during the cloning process on the tower?
@VinhPham2106 you can use ‘htop’ command.
@SahithiKasim I'm seeing core_periphery.py running for several hours now and taking all CPU usage when can I test the cloning?
@VinhPham2106 You can proceed with the cloning codes. Every time something will be running in the background, so there's no need to be concerned about it.
@SahithiKasim multithreading code, results, problems are on the attached branch. Can you check it out and try to replicate the results when you have time?
@absol27 can you take a look at it and see if multi threading speeds up your cloning process?
@VinhPham2106 did you test locally if it speeds up the process, do you or @SahithiKasim have a token you could use?
TLDR rate-limiting limit will be reached quicker with multithreading, cloning the same number of repos. Also, keep in mind that space is an issue right now, so optimize space whatever the approach might be.
Optimize the repository cloning script for efficiency and explore faster cloning methods. Try parallel cloning or any other methods to reduce time. Also, improve error handling if there are any.
I am attaching the script as txt convert it into py! mine_repos.txt