[Freeswitch-users] FreeSWITCH on Raspberry Pi - OpenVPN gateway, B2BUA
Dmitry Lysenko
dvl36.ripe.nick at gmail.com
Thu Mar 28 00:15:38 MSK 2013
This is strange. I build vanilla kernels using debians make-kpkg without
any problem. Swap does not used.
Maybe freeswitch .deb build script writes intermediate sources to tmpfs (in
RAM)?
2013/3/27 Michael Whapples <mwhapples at aim.com>
> Yes that is right, you will not hit out of memory issues if just doing a
> compile, but if using the debian packaging stuff you will. I think it is
> within the part where it gets the various sources and then produces the
> debian source tarball, so is not actually the compile stage.
>
> Michael Whapples
>
> On 27/03/2013 16:47, Dmitry Lysenko wrote:
>
> Hi!
> I builded freeswitch from sources on Seagate Goflex Home (1200Mhz ARMv5TE,
> *128Mb*, Debian Wheezy) many, many times. Never experiences 'out of
> memory'. Has HDD connected and swap enabled, but vm.swapiness set to 0, so
> swap do not even used. I checked this. Swap used in 'top' is always 0.
> But I never used debian package build system for freeswitch.
> Best Regards,
> Dmitry.
>
>
> 2013/3/27 Michael Whapples <mwhapples at aim.com>
>
>> While not necessarily being much faster for compiling, I found you can
>> build raspbian packages using the debian package stuff by using qemu on
>> another computer. If you want to build raspbian packages I found that on my
>> raspberrypi (a model B with 512MB of RAM) that it ran out of memory (I
>> believe it happened in the earlier stages where it was getting the various
>> source and either extracting or packing it into a source archive) and to
>> use swap files is very slow and probably not good for the SD card anyway,
>> qemu does overcome these limits.
>>
>> I know that cross compiling might be faster but I never found enough
>> information out there to help me get such a system up and running and I was
>> unsure whether this would lead to a system where I could compile a raspbian
>> package using the debian stuff of freeswitch. Qemu was relatively simple to
>> set up (I think I mainly used a wiki page from the raspberrypi section of
>> elinux.org).
>>
>> Michael Whapples
>>
>> On 27/03/2013 00:22, Raymond Chandler wrote:
>>
>> On 13-03-26 05:52 AM, Peter P GMX wrote:
>>
>> Freeswitch compiled native from GIT (this really takes a while)
>>
>>
>> For what it's worth, I've been playing with using ccache and distcc on a
>> beefier box to cross-compile freeswitch from my raspi. I haven't done
>> verifiable benchmarks, but it does seem to cut the compile time down
>> considerably when you offload the compiling. Raspi seems to be gaining
>> enough traction that it might be worthwhile to add a wiki page or two
>> devoted to them with little tips and tricks to make life easier.
>>
>> -Ray
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130327/79089063/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list