Unfortunately the state doesn&#39;t provide a complete bandwidth history - if you check on line 1168 of src/or/rephist.c you&#39;ll see:<br><br>/** How many bandwidth usage intervals do we remember? (derived) */<br>#define NUM_TOTALS (NUM_SECS_BW_SUM_IS_VALID/NUM_SECS_BW_SUM_INTERVAL)<br>
<br>This is used later when writing to the state (line 1441 of the same file) - honestly I&#39;m green enough with C that I got lost pretty quick once it started juggling smart lists and buffers around but I&#39;ll take the comments at their word ;)<br>
<br>This is why I don&#39;t use it to populate past bandwidth data in arm. Cheers! -Damian<br><br><div class="gmail_quote">On Sun, Mar 7, 2010 at 3:16 AM, Paul Menzel <span dir="ltr">&lt;<a href="mailto:paulepanter@users.sourceforge.net">paulepanter@users.sourceforge.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Am Freitag, den 05.03.2010, 23:54 +0100 schrieb Paul Menzel:<br>
<div class="im">&gt; Am Freitag, den 05.03.2010, 10:17 -0500 schrieb <a href="mailto:andrew@torproject.org">andrew@torproject.org</a>:<br>
&gt; &gt; On Fri, Mar 05, 2010 at 09:32:59AM +0100, <a href="mailto:paulepanter@users.sourceforge.net">paulepanter@users.sourceforge.net</a> wrote 1.4K bytes in 39 lines about:<br>
&gt; &gt; : &gt; What did you configure for your bandwidth limits or accountingmax?<br>
&gt; &gt; :<br>
&gt; &gt; : I did not configure them and so the defaults are used. arm is displaying<br>
&gt; &gt; : »(cap: 5 MB, burst: 10 MB)«.<br>
&gt; &gt;<br>
&gt; &gt; Ok, then Tor will figure out how much bandwidth it can reliably provide.<br>
&gt;<br>
&gt; On what conditions does that depend?<br>
&gt;<br>
&gt; &gt; If you look at your (datadirectory)/state file, it will show you how<br>
&gt; &gt; much bandwidth tor has been providing over time.<br>
&gt;<br>
&gt; I guess arm is using this or something similar to display the bandwidth<br>
&gt; usage of Tor.<br>
<br>
</div>On average arm’s values are the same as the ones in<br>
`(datadirectory)/state`.<br>
<br>
[…]<br>
<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Paul<br>
</font></blockquote></div><br>