# What's the default block size in farmer benchmark prove test?

**URL:** <https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151>\
**Category:** Support\
**Created:** [April 7, 2024, 2:06pm UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151 "2024-04-07T14:06:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![keens312](https://avatars.discourse-cdn.com/v4/letter/k/90ced4/32.png) [@keens312](https://forum.autonomys.xyz/u/keens312)\
**Post date:** [April 7, 2024, 2:06pm UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151/1 "2024-04-07T14:06:14Z")

</div>

What’s the default block size in benchmark prove test?

How can we change it ( for better performance, we need to tune the block size parameter)

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/nazar-pc/32/6_2.png) [@nazar-pc](https://forum.autonomys.xyz/u/nazar-pc)\
**Post date:** [April 7, 2024, 4:14pm UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151/2 "2024-04-07T16:14:26Z")

</div>

Proving benchmark measures proving performance, it doesn’t produce blocks, there are no blocks involved, so your questions doesn’t make sense to me.

---

<div class="post-metadata">

**Author:** ![keens312](https://avatars.discourse-cdn.com/v4/letter/k/90ced4/32.png) [@keens312](https://forum.autonomys.xyz/u/keens312)\
**Post date:** [April 7, 2024, 11:28pm UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151/3 "2024-04-07T23:28:54Z")

</div>

Will proving benchmark write to disk and read from disk?

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/nazar-pc/32/6_2.png) [@nazar-pc](https://forum.autonomys.xyz/u/nazar-pc)\
**Post date:** [April 8, 2024, 5:48am UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151/4 "2024-04-08T05:48:54Z")

</div>

It will read, but not write anything

---

<div class="post-metadata">

**Author:** ![keens312](https://avatars.discourse-cdn.com/v4/letter/k/90ced4/32.png) [@keens312](https://forum.autonomys.xyz/u/keens312)\
**Post date:** [April 8, 2024, 11:41am UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151/5 "2024-04-08T11:41:25Z")

</div>

I use strace to log the read syscall. I want to know how many bytes are read in prove.

The log shows very small amount of data was read. Is that all the data prove read?

> **output**
>
> read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0@\257\0\0\0\0\0\0”…, 832) = 832  
> read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\3008\0\0\0\0\0\0”…, 832) = 832  
> read(3, “\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\330\\0\0\0\0\0\0”…, 832) = 832  
> read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0`+\0\0\0\0\0\0”…, 832) = 832  
> read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\320\16\0\0\0\0\0\0”…, 832) = 832  
> read(3, “\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\340\10\2\0\0\0\0\0”…, 832) = 832  
> read(3, “0\n”, 32) = 2  
> read(3, “557d84a000-557ea0c000 r-xp 00000”…, 1024) = 1024  
> read(3, “.so\n7f90a48000-7f90a58000 —p 0”…, 1024) = 1024  
> read(3, "0 r–p 00016000 08:07 1860 "…, 1024) = 1024  
> read(3, "m-2.27.so\n7f90b8c000-7f90b8d000 "…, 1024) = 771  
> read(3, “12:blkio:/user.slice\n11:debug:/\n”…, 8192) = 326  
> read(3, “”, 8192) = 0  
> read(3, “22 0 8:7 / / ro,relatime shared:”…, 8192) = 4069  
> read(9, “0-7\n”, 8192) = 4  
> read(10, “481\n”, 63) = 4  
> read(10, “Snapdragon\n”, 63) = 11  
> read(10, “2.1\n”, 63) = 4  
> read(9, “rcupdate.rcu\_expedited=1 rcu\_noc”…, 1024) = 870  
> read(9, “Processor\t: AArch64 Processor re”…, 1024) = 1024  
> read(9, “38.40\nFeatures\t: fp asimd evtstr”…, 1024) = 951  
> read(9, “”, 1024) = 0  
> read(9, “/dev/root / ext4 ro,relatime 0 0”…, 1024) = 1024  
> read(10, “”, 1023) = 0  
> read(9, “er 0 0\ncgroup /sys/fs/cgroup/net”…, 1024) = 1024  
> read(9, “/\n”, 127) = 2  
> read(9, “0-7\n”, 4097) = 4  
> read(9, “0\n”, 4097) = 2  
> read(9, “0-7\n”, 4097) = 4  
> read(9, “01\n”, 4097) = 3  
> read(9, “0\n”, 10) = 2  
> read(9, “0f\n”, 4097) = 3  
> read(9, “0\n”, 10) = 2  
> read(9, “01\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Data\n”, 19) = 5  
> read(9, “32K\n”, 10) = 4  
> read(9, “64\n”, 10) = 3  
> read(9, “128\n”, 10) = 4  
> read(9, “01\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Instruction\n”, 19) = 12  
> read(9, “01\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “128K\n”, 10) = 5  
> read(9, “64\n”, 10) = 3  
> read(9, “512\n”, 10) = 4  
> read(9, “ff\n”, 4097) = 3  
> read(9, “3\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “4096K\n”, 10) = 6  
> read(9, “64\n”, 10) = 3  
> read(9, “4096\n”, 10) = 5  
> read(9, “02\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “0f\n”, 4097) = 3  
> read(9, “02\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Data\n”, 19) = 5  
> read(9, “32K\n”, 10) = 4  
> read(9, “64\n”, 10) = 3  
> read(9, “128\n”, 10) = 4  
> read(9, “02\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Instruction\n”, 19) = 12  
> read(9, “02\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “128K\n”, 10) = 5  
> read(9, “64\n”, 10) = 3  
> read(9, “512\n”, 10) = 4  
> read(9, “ff\n”, 4097) = 3  
> read(9, “04\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “0f\n”, 4097) = 3  
> read(9, “04\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Data\n”, 19) = 5  
> read(9, “32K\n”, 10) = 4  
> read(9, “64\n”, 10) = 3  
> read(9, “128\n”, 10) = 4  
> read(9, “04\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Instruction\n”, 19) = 12  
> read(9, “04\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “128K\n”, 10) = 5  
> read(9, “64\n”, 10) = 3  
> read(9, “512\n”, 10) = 4  
> read(9, “ff\n”, 4097) = 3  
> read(9, “08\n”, 4097) = 3  
> read(9, “3\n”, 10) = 2  
> read(9, “0f\n”, 4097) = 3  
> read(9, “08\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Data\n”, 19) = 5  
> read(9, “32K\n”, 10) = 4  
> read(9, “64\n”, 10) = 3  
> read(9, “128\n”, 10) = 4  
> read(9, “08\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Instruction\n”, 19) = 12  
> read(9, “08\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “128K\n”, 10) = 5  
> read(9, “64\n”, 10) = 3  
> read(9, “512\n”, 10) = 4  
> read(9, “ff\n”, 4097) = 3  
> read(9, “10\n”, 4097) = 3  
> read(9, “0\n”, 10) = 2  
> read(9, “70\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “10\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Data\n”, 19) = 5  
> read(9, “64K\n”, 10) = 4  
> read(9, “64\n”, 10) = 3  
> read(9, “256\n”, 10) = 4  
> read(9, “10\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Instruction\n”, 19) = 12  
> read(9, “10\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “256K\n”, 10) = 5  
> read(9, “64\n”, 10) = 3  
> read(9, “512\n”, 10) = 4  
> read(9, “ff\n”, 4097) = 3  
> read(9, “20\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “70\n”, 4097) = 3  
> read(9, “20\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Data\n”, 19) = 5  
> read(9, “64K\n”, 10) = 4  
> read(9, “64\n”, 10) = 3  
> read(9, “256\n”, 10) = 4  
> read(9, “20\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Instruction\n”, 19) = 12  
> read(9, “20\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “256K\n”, 10) = 5  
> read(9, “64\n”, 10) = 3  
> read(9, “512\n”, 10) = 4  
> read(9, “ff\n”, 4097) = 3  
> read(9, “40\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “70\n”, 4097) = 3  
> read(9, “40\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Data\n”, 19) = 5  
> read(9, “64K\n”, 10) = 4  
> read(9, “64\n”, 10) = 3  
> read(9, “256\n”, 10) = 4  
> read(9, “40\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Instruction\n”, 19) = 12  
> read(9, “40\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “256K\n”, 10) = 5  
> read(9, “64\n”, 10) = 3  
> read(9, “512\n”, 10) = 4  
> read(9, “ff\n”, 4097) = 3  
> read(9, “80\n”, 4097) = 3  
> read(9, “0\n”, 10) = 2  
> read(9, “80\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “80\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Data\n”, 19) = 5  
> read(9, “64K\n”, 10) = 4  
> read(9, “64\n”, 10) = 3  
> read(9, “256\n”, 10) = 4  
> read(9, “80\n”, 4097) = 3  
> read(9, “1\n”, 10) = 2  
> read(9, “Instruction\n”, 19) = 12  
> read(9, “80\n”, 4097) = 3  
> read(9, “2\n”, 10) = 2  
> read(9, “Unified\n”, 19) = 8  
> read(9, “512K\n”, 10) = 5  
> read(9, “64\n”, 10) = 3  
> read(9, “1024\n”, 10) = 5  
> read(9, “ff\n”, 4097) = 3  
> read(9, “1804800\n”, 10) = 8  
> read(9, “351\n”, 10) = 4  
> read(9, “1804800\n”, 10) = 8  
> read(9, “351\n”, 10) = 4  
> read(9, “1804800\n”, 10) = 8  
> read(9, “351\n”, 10) = 4  
> read(9, “1804800\n”, 10) = 8  
> read(9, “351\n”, 10) = 4  
> read(9, “2419200\n”, 10) = 8  
> read(9, “871\n”, 10) = 4  
> read(9, “2419200\n”, 10) = 8  
> read(9, “871\n”, 10) = 4  
> read(9, “2419200\n”, 10) = 8  
> read(9, “871\n”, 10) = 4  
> read(9, “2841600\n”, 10) = 8  
> read(9, “1024\n”, 10) = 5  
> read(9, “MemTotal: 11869440 kB\nMemF”…, 4095) = 1221  
> read(10, “0\n”, 63) = 2  
> read(9, “{"v0":{"id":"01HS124G5A2FCF5DP7G”…, 254) = 254  
> read(9, “”, 32) = 0  
> read(9, “12:blkio:/user.slice\n11:debug:/\n”…, 128) = 128  
> read(9, “r.slice\n6:schedtune:/\n5:net\_cls,”, 32) = 32  
> read(9, “net\_prio:/\n4:freezer:/\n3:perf\_ev”…, 96) = 96  
> read(9, “0.slice/session-c1.scope\n0::/use”…, 256) = 70  
> read(9, “”, 186) = 0  
> read(17, “{"sampling\_mode":"Flat","iters":”…, 219) = 219  
> read(17, “”, 32) = 0  
> read(17, “{"mean":{"confidence\_interval":{”…, 768) = 768  
> read(17, “”, 32) = 0  
> read(17, “{"sampling\_mode":"Flat","iters":”…, 224) = 224  
> read(17, “”, 32) = 0  
> read(17, “{"mean":{"confidence\_interval":{”…, 776) = 776  
> read(17, “”, 32) = 0  
> +++ exited with 0 +++

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/nazar-pc/32/6_2.png) [@nazar-pc](https://forum.autonomys.xyz/u/nazar-pc)\
**Post date:** [April 8, 2024, 12:37pm UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151/6 "2024-04-08T12:37:40Z")

</div>

Yes, thought your question kind of contains an answer already. If you are curious about such things, it might be good to start by reading [Introduction | Autonomys Academy](https://academy.autonomys.net/subspace-protocol/introduction)

---

<div class="post-metadata">

**Author:** ![keens312](https://avatars.discourse-cdn.com/v4/letter/k/90ced4/32.png) [@keens312](https://forum.autonomys.xyz/u/keens312)\
**Post date:** [April 9, 2024, 12:08am UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151/7 "2024-04-09T00:08:03Z")

</div>

Could you please show me the docs link about benchmark prove? I want to know the work flow of the prove test and what have been done in the test.

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/nazar-pc/32/6_2.png) [@nazar-pc](https://forum.autonomys.xyz/u/nazar-pc)\
**Post date:** [April 9, 2024, 5:54am UTC](https://forum.autonomys.xyz/t/whats-the-default-block-size-in-farmer-benchmark-prove-test/3151/8 "2024-04-09T05:54:14Z")

</div>

For that you should just look at the code. Proving is doing what the specification and [Introduction | Autonomys Academy](https://academy.autonomys.net/subspace-protocol/introduction) say it should do, benchmarking code only runs it in a loop to measure time.
