How to avoid sector transfer among two workers? #7238
-
I have two docker worker running on the same machine.
How to disable the sector transfer, and let them to do all the job themselves? I have tested iperf3 among this two docker (30Gbit speed can be get). I do not know why it takes more than 2 hours to transfer 500GB cache data. I know it's useless to complain. But the developers really need to learn how to write efficient code for data transfer (use C/C++ please, Go is a garbage language). And the so called task/resources window is really stupidly designed. Hardware:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You can't stop the sectors transfer for now when you have more than two workers. The reason why it takes as long as 2Hrs to transfer 500Gb maybe is your disk write/read limit or you have your task parallel running. Every language has its advantages. and i think mybe you can file an issue about how to schedule/asign task to different worker instead of complaining here. |
Beta Was this translation helpful? Give feedback.
-
@potato1992 venus implementation offers Logic behind is simple. When selecting workers for P2, check if the |
Beta Was this translation helpful? Give feedback.
-
@potato1992 I think with new storage group coming into picture, this particular problem has been resolved. Please check the below link for details about the feature. |
Beta Was this translation helpful? Give feedback.
@potato1992 I think with new storage group coming into picture, this particular problem has been resolved. Please check the below link for details about the feature.
#7453
filecoin-project/lotus-docs#32