<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged blocksize</title>
<link>https://www.multichain.com/qa/tag/blocksize</link>
<description>Powered by Question2Answer</description>
<item>
<title>Creating transactions takes much longer, when I set the block-size to absolute minimum.</title>
<link>https://www.multichain.com/qa/9847/creating-transactions-takes-longer-block-absolute-minimum</link>
<description>&lt;p&gt;Hello!&lt;/p&gt;&lt;p&gt;I started some stress tests with various multichain configurations and found out that, if I set the block size to minimum, creating new transactions on one node takes much longer.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here are my results with default multichain configuration:&lt;/p&gt;&lt;p&gt;Multichain Configuration (1st attempt):&lt;/p&gt;&lt;p&gt;target-block-time = 15&amp;nbsp;&lt;br&gt;maximum-block-size =&amp;nbsp;8388608&lt;br&gt;anyone-can-connect =&amp;nbsp;false&lt;br&gt;anyone-can-send =&amp;nbsp;false&amp;nbsp;&amp;nbsp;&lt;br&gt;anyone-can-receive =&amp;nbsp;false&lt;br&gt;mining-diversity =&amp;nbsp;0.3&lt;br&gt;mine-empty-rounds =&amp;nbsp;10&lt;br&gt;skip-pow-check =&amp;nbsp;false&lt;br&gt;pow-minimum-bits =&amp;nbsp;8&lt;br&gt;max-std-tx-size =&amp;nbsp;4194304&lt;/p&gt;&lt;p&gt;Result with default configuration (1st attempt):&lt;/p&gt;&lt;p&gt;&lt;strong&gt;200 000 Transactions 50 minutes 32 seconds.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Result with changed multichain configuration (2nd attempt):&lt;/p&gt;&lt;p&gt;target-block-time =&amp;nbsp;2&lt;br&gt;maximum-block-size =&amp;nbsp;1024&lt;br&gt;anyone-can-connect =&amp;nbsp;true&lt;br&gt;anyone-can-send =&amp;nbsp;true&amp;nbsp;&amp;nbsp;&lt;br&gt;anyone-can-receive =&amp;nbsp;true&lt;br&gt;mining-diversity =&amp;nbsp;0.0&lt;br&gt;mine-empty-rounds =&amp;nbsp;0&lt;br&gt;skip-pow-check =&amp;nbsp;true&lt;br&gt;pow-minimum-bits =&amp;nbsp;1&lt;br&gt;max-std-tx-size =&amp;nbsp;1024&lt;/p&gt;&lt;p&gt;Result 2nd attempt:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;200 000 Transactions 24 hours 15 minutes 20 seconds&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Why creating transactions with this configuration takes much longer, than with the default configuration. I thought, when I set the block size and the transaction size to minimum, the blockchain would generate transactions much faster. It is also striking, that the hardware (RAM, CPU, HDD) workload was much higher, than the first attempt.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Could you please explain that to me, or send me a link?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I really appreciate any help you can provide.&lt;/p&gt;&lt;p&gt;Best regards,&lt;/p&gt;&lt;p&gt;Sandjar&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/9847/creating-transactions-takes-longer-block-absolute-minimum</guid>
<pubDate>Thu, 31 May 2018 16:49:52 +0000</pubDate>
</item>
<item>
<title>Chain folder keeps growing</title>
<link>https://www.multichain.com/qa/1429/chain-folder-keeps-growing</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I ran a test last night, in which I wanted to issue 30 000 assets from one node to another - nothing new, we done it many times. The only parameter we changed in params.dat file before we started this test is &quot;mining-diversity&quot;, and set it to 0.75.&lt;br&gt;&lt;br&gt;The setup was: three nodes on three servers &quot;blockserver1&quot;, &quot;blockserver4&quot; and &quot;blockserver5&quot;. The last one was connected to blockchain but stayed idle.&lt;/p&gt;&lt;p&gt;However, very strange thing happened. After our program finished inserting assets on server &quot;blockserver1&quot; onto address of node on &quot;blockserver4&quot;, debug.log on &quot;blockserver4&quot; continued to write data (you can find most representative display in file &quot;bs4-utst6-tail-debug-excerpt.png&quot; of .zip archive I'll link later). We left it overnight, and when we came into the office this morning, folder &quot;utest6&quot; which was the name of the chain that we tested on was &lt;strong&gt;58GB in size.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;We left it for another 20ish minutes and checked it again. It grew to 59GB.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;listassets&lt;/span&gt; command lists just 30 000 assets, our program is not working anymore (triple-checked it with additional &lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;top&lt;/span&gt; and &lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;ps -ef&lt;/span&gt; commands on all servers).&lt;/p&gt;&lt;p&gt;We wanted to know why this strange thing had happened. Also, I zipped some screenshots of our terminal (it would be insane if I zipped whole directory) with &quot;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;du -h&lt;/span&gt;&quot; and &quot;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;tail -f debug.log&lt;/span&gt;&quot; commands, and you can find it on following link: &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;http://bit.ly/1MSdowd&quot;&gt;http://bit.ly/1MSdowd&lt;/a&gt; .&lt;/p&gt;&lt;p&gt;Also, if you have anything else you need, just send me a message, and I'll provide it to you.&lt;br&gt;&lt;br&gt;Thanks in advance,&lt;br&gt;Sloba&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1429/chain-folder-keeps-growing</guid>
<pubDate>Wed, 30 Mar 2016 10:22:20 +0000</pubDate>
</item>
<item>
<title>What does blocksize mean specifically?</title>
<link>https://www.multichain.com/qa/1118/what-does-blocksize-mean-specifically</link>
<description>What does blocksize mean specifically?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1118/what-does-blocksize-mean-specifically</guid>
<pubDate>Thu, 10 Mar 2016 14:19:42 +0000</pubDate>
</item>
</channel>
</rss>