[volunteergrid2-l] Recommended settings
Shawn Willden
shawn at willden.org
Wed Jun 29 12:11:15 PDT 2011
On Wed, Jun 29, 2011 at 7:41 AM, Marco Tedaldi <marco.tedaldi at gmail.com>wrote:
> Just one thought on the settings:
>
> Setting N to the number of nodes might not be the best idea anyway. At
> least if this node also provides storage. I think, there is not much sense
> in putting my data on my own node.
>
Setting N to T-1 (I'm going to use T to mean "total number of nodes" will
not prevent your node from getting a share. Server selection is basically
randomized so if all nodes in the grid are performing well, and T=10 and
N=9, your node will get one of your shares 90% of the time. If some of the
nodes in the grid are slow to respond, your node will get one of your shares
*more* than 90% of the time.
For the backup use case this behavior isn't ideal. But for a lot of other
use cases it makes a great deal of sense.
> Setting the values automatically has some benefits. But there would have to
> be quite some code behind it. Imagine a network with 50 nodes or more...
> Setting "shares.total" to 48 would not make too much sense in my oppinion.
>
Why not?
> Also automatically generating the config options does not seem too sensible
> to me, since the should change dynamically at runtime (especially in bigger
> and more volatile grids).
>
Right, my goal would be to calculate the N and K values dynamically, for
every upload.
--
Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/cgi-bin/mailman/private/volunteergrid2-l/attachments/20110629/274ac906/attachment.html>
More information about the volunteergrid2-l
mailing list