On Wed, Mar 13, 2013 at 12:27 PM, Matthew Toseland
<toad at amphibian.dyndns.org> wrote:
> On Tuesday 12 Mar 2013 19:23:51 Kasper wrote:
>> Hello,
>>
>> I just wanted to share my success in making Freenet run on my NAS,
>> which is ARM architecture using Oracles Embedded Java 7. It required
>> me to manually replace the wrapper with the latest version 3.5.17
>> binary (as ARM support was only introduced in 3.5.16 forward), but
>> this worked fine with the old freenet-ext.jar file.  Then I changed
>> the wrapper.conf file to use SOCKET instead of PIPE,
>
> I wonder why this is necessary? It works fine on x86-64 linux.

I'm unsure, but it could be due to the limited Linux distro running on
the device, perhaps? If I used pipe it gave me errors about
wrapper.port being undefined in the log.


>> Only real problem I have now is that libjcpuid apparently only exists
>> for x86 and I can't find the sources to try and compile it for ARM
>> myself (if even possible). I do not know if that's the reason it uses
>> too much CPU - between 90-100% at all times.
>>

> How much memory does the device have, and what is the memory limit set to? If 
> the memory limit is too low you could easily see high CPU usage just from 
> garbage collection.
>
> Also are you doing any downloads?

That is likely the issue. The device only has 512MB ram + 512MB swap,
so I set max memory use to 192MB as a conservative estimate. I'll
tinker around a bit with more ram, but I'm aware the device is low on
RAM for running something like Freenet. It was/is a testbed for now.

No downloads, although it sees quite decent throughput just from what
other nodes send/receive through it having sent and received about 6GB
data total over the last 15 hours.

Reply via email to