Replies: 1 comment 7 replies
-
Greyhole works on each file operation (executed on Samba) in sequence, using a queue system (operations get queued in For fsck runs, the order in which folders & files are checked is undefined. I think it uses PHP's For file copies specifically, there is a config named |
Beta Was this translation helpful? Give feedback.
-
I'm curious if Greyhole copies data from the samba shares to the storage drives in some parallel way or if it happens sequentially. For example, let's assume I configured there to be two copies of each file on a specific share. During the fsck, is the file first copied to the first drive and only when that succeeds to the second? Or is the writing parallelized? How about parallelization for copying multiple files at once?
Also, in what order are files processed? Maybe there's an iteration through adjacent disk locations?
Just to clarify, I'm not having any issues with Greyhole. I think it works very well. These questions are just for my education and so I can figure out how important sequential vs random read and write speed of my disks is for optimal performance.
Thanks for your work!
Beta Was this translation helpful? Give feedback.
All reactions