<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] FreeSWITCH on Raspberry Pi - OpenVPN gateway, B2BUA</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>People that put /tmp in tmpfs should be shot!<BR>
<BR>
<BR>
On 3/27/13 4:15 PM, "Dmitry Lysenko" <<a href="dvl36.ripe.nick@gmail.com">dvl36.ripe.nick@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>This is strange. I build vanilla kernels using debians make-kpkg without any problem. Swap does not used.<BR>
Maybe freeswitch .deb build script writes intermediate sources to tmpfs (in RAM)? <BR>
<BR>
<BR>
2013/3/27 Michael Whapples <<a href="mwhapples@aim.com">mwhapples@aim.com</a>><BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
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.<BR>
<FONT COLOR="#888888"> <BR>
Michael Whapples<BR>
</FONT><BR>
<BR>
On 27/03/2013 16:47, Dmitry Lysenko wrote:<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
Hi!<BR>
<BR>
I builded freeswitch from sources on Seagate Goflex Home (1200Mhz ARMv5TE, <B><U>128Mb</U></B>, 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.<BR>
<BR>
But I never used debian package build system for freeswitch.<BR>
<BR>
Best Regards,<BR>
<BR>
Dmitry.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
2013/3/27 Michael Whapples <<a href="mwhapples@aim.com">mwhapples@aim.com</a>><BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
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.<BR>
<BR>
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 <<a href="http://elinux.org">http://elinux.org</a>> ).<BR>
<FONT COLOR="#888888"> <BR>
Michael Whapples</FONT> <BR>
<BR>
<BR>
<BR>
On 27/03/2013 00:22, Raymond Chandler wrote:<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
On 13-03-26 05:52 AM, Peter P GMX wrote:<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> Freeswitch compiled native from GIT (this really takes a while) <BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> 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.<BR>
<BR>
-Ray<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>