gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Choice of block size for file-sharing


From: pukkamustard
Subject: Choice of block size for file-sharing
Date: Wed, 13 May 2020 16:26:49 +0200
User-agent: mu4e 1.2.0; emacs 26.3

Hello GNUnet,

I am interested in the reasons for using a block size of 32kB in the
file-sharing application [1].

In the paper "Efficient Sharing of Encrypted Data (2002)" [2] arguments
are made for using a block size of 1kB:

One could argue that a size of 1k is far too small. The rationale
behind thisfile size is that UDP, the transport mechanism used
bygnunet has (on Ethernet)an optimal packet size that is slightly
above 1k. Asgnunet must add headers tothe packets, the size
approximates this number. Furthermore, many file systemscan be
formatted with a block-size of 1k.

In "An Encoding for Censorship-Resistant Sharing (2003)" the block size
32kB is used without giving concrete arguments (or I missed them).

Is there a rationale for using 32kB? What are the experiences whit using
this block size? Would you use a different size today?

I initially posted this question on IRC. Thanks to @tg and @dvn for the
input and pointing me here.

-pukkamustard


[1] https://git.gnunet.org/gnunet.git/tree/src/fs/fs.h#n37
[2] https://grothoff.org/christian/esed.pdf
[3] https://grothoff.org/christian/ecrs.pdf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]