[sheepdog] [PATCH V4 2/2] collie: optimize 'collie vdi check' command
Liu Yuan
namei.unix at gmail.com
Mon Sep 3 12:59:17 CEST 2012
On 09/03/2012 06:52 PM, Yunkai Zhang wrote:
> Yes we can do it in this way. But it's not so efficient:
>
> Collie should read the object, even if this object no belong to the
> node in collie side, and send it to target nodes. It will make network
> traffic increase rapidly in collie's machine.
1) data isn't always on the local node, for large enough cluster, data
is supposed to be distributed on the cluster.
2) it won't make traffic increase rapidly compared to your last patch,
because the whole operation is one read + nr_copy writes, and it is the
write take most of the traffic.
Further more, using read/write from collie also benefit us simpler code
in sheep.
Thanks,
Yuan
More information about the sheepdog
mailing list