Single vs multi files
-
I wonder about something.
Lets say I have 500 GB space in my drive and I have 2 scenarios:
- Plot 500 GB space into a single file.
- Plot 50 GB size of 10 different files.
What is the difference? I want to understand the logic behind to having single or multi files.
Thanks in advance.
-
@moonjeina Some of the miners can parallel mine - so if the files were in different directories, they could all be processed in parallel - one CPU thread per file. But for 500GB, it's not likely to make much of a difference. On a multi TB setup parallelism helps - I have one mining rig with 10x4TB drives - each drive is plotted with a single 4TB plot files. It mines much faster than if the files were processed sequentially.
H.
-
@haitch 500 GB size is just example. So, single file is more effective than multi files (in same directory) as far as I understand, right?
-
@moonjeina Yes. Generally the best approach is a single large file on each drive. Multiple directories on the same drive works and gives you the parallelism but causes a lot more disk seeks as you switch from reading dir1 then dir2 then dir3 then dir1 .... The buffering/caching the miners do reduces that impacy, but I still prefer one big one.
-
@haitch now I understood it fully. Thanks again :)
