Re: [tor-dev] Memory usage of Tor daemon

2016-05-21 Thread Rob van der Hoeven
> > But do we really need to? > > No. The person is complaining about something with 16 MiB of > non-volatile storage anyway. > I'm not complaining. I just care about Tor on the router. Memory usage is a concern, and I was wondering if something can be done about it *before* it becomes a proble

Re: [tor-dev] Memory usage of Tor daemon

2016-05-20 Thread Yawning Angel
On Fri, 20 May 2016 12:03:59 -0400 Tim Wilson-Brown - teor wrote: > > On 20 May 2016, at 11:59, Yawning Angel > > wrote: > > > > What's strange about it. The client does the path selection. To > > build a circuit, the client must know the public keys/ip/port for > > the entire path and the ex

Re: [tor-dev] Memory usage of Tor daemon

2016-05-20 Thread Rob van der Hoeven
> > I'm running Tor on a router and was wondering why the Tor daemon uses so > > much memory. > > To clarify, do you mean "running a Tor client on a home Internet router"? > What version of Tor? > I'm running version 0.2.5.12 (git-99d0579ff5e0349f) The router I use is an GL-AR150 with 64MB RAM,

Re: [tor-dev] Memory usage of Tor daemon

2016-05-20 Thread Tim Wilson-Brown - teor
> On 20 May 2016, at 11:59, Yawning Angel wrote: > > What's strange about it. The client does the path selection. To build > a circuit, the client must know the public keys/ip/port for the entire > path and the exit policy. Clients could get away with only knowing the key fingerprints for rel

Re: [tor-dev] Memory usage of Tor daemon

2016-05-20 Thread Yawning Angel
On Fri, 20 May 2016 12:03:35 +0200 Rob van der Hoeven wrote: > This worries me. If in the future the router list grows, my router > (and many other routers running Tor) can run out of memory. For me, > it looks a little bit strange to have an in-memory database of the > router list. Is there a rea

Re: [tor-dev] Memory usage of Tor daemon

2016-05-20 Thread Tim Wilson-Brown - teor
> On 20 May 2016, at 06:03, Rob van der Hoeven wrote: > > Hi, > > I'm running Tor on a router and was wondering why the Tor daemon uses so > much memory. To clarify, do you mean "running a Tor client on a home Internet router"? What version of Tor? > Did a pmap: > > pmap `pidof tor` > > And

[tor-dev] Memory usage of Tor daemon

2016-05-20 Thread Rob van der Hoeven
Hi, I'm running Tor on a router and was wondering why the Tor daemon uses so much memory. Did a pmap: pmap `pidof tor` And got the following result: 1703: /usr/sbin/tor --PidFile /var/run/tor.pid 0040 1024K r-x-- /usr/sbin/tor 0050f000 4K r /usr/sbin/tor 0051 20K rw--