marca56 wrote:1. what did you change in the makefile and can you post it here?
I did not make any changes, except just did a scripts/feeds update on the root directory of my local OpenWRT SVN trunk to update all packages, including FreeSwitch (FS), in the feeds directory.
2. compared to Asterisk, how much more memory and footprint does Freeswitch take and are the modules you selected roughly the same?
First, I have not tried nor installed Asterisk on my WGT634U, yet. Also, I installed the default (not minimal) FS package. Then, I captured the process activities using top utility before/after FS was launched and excerpted both output below:
Before FS was launched:
Mem: 8152K used, 21360K free, 0K shrd, 164K buff, 1348K cached
CPU: 0% usr 0% sys 0% nic 98% idle 0% io 0% irq 0% sirq
Load average: 0.07 0.34 0.29 1/40 2065
PID PPID USER STAT VSZ %MEM %CPU COMMAND
2065 2063 root R 1420 5% 1% top
645 1 root S 1416 5% 0% telnetd -l /bin/login.sh
609 1 root S 1516 5% 0% /bin/sh /usr/lib/ddns/dynamic_dns_upd
606 1 root S 1516 5% 0% /bin/sh /usr/lib/ddns/dynamic_dns_upd
607 1 root S 1516 5% 0% /bin/sh /usr/lib/ddns/dynamic_dns_upd
608 1 root S 1516 5% 0% /bin/sh /usr/lib/ddns/dynamic_dns_upd
604 1 root S 1516 5% 0% /bin/sh /usr/lib/ddns/dynamic_dns_upd
615 1 root S 1516 5% 0% /bin/sh /usr/lib/ddns/dynamic_dns_upd
372 1 root S 1428 5% 0% syslogd -C16
2055 645 root S 1428 5% 0% /bin/ash --login
1 0 root S 1424 5% 0% init
360 1 root S 1424 5% 0% init
374 1 root S 1412 5% 0% klogd
2063 2055 root S 1412 5% 0% /bin/sh /usr/sbin/drop-caches
2040 606 root S 1412 5% 0% sleep 600
2044 609 root S 1412 5% 0% sleep 600
2043 608 root S 1412 5% 0% sleep 600
2053 615 root S 1412 5% 0% sleep 600
2054 607 root S 1412 5% 0% sleep 600
2051 604 root S 1412 5% 0% sleep 600
After FS was launch:
Mem: 22052K used, 7460K free, 0K shrd, 164K buff, 4756K cached
CPU: 30% usr 33% sys 0% nic 35% idle 0% io 0% irq 0% sirq
Load average: 1.27 0.96 0.57 1/63 2224
PID PPID USER STAT VSZ %MEM %CPU COMMAND
2176 2144 root S 19536 66% 20% /usr/bin/freeswitch -conf /etc/freesw
2175 2144 root S 19536 66% 20% /usr/bin/freeswitch -conf /etc/freesw
2157 2144 root S 19536 66% 11% /usr/bin/freeswitch -conf /etc/freesw
2185 2144 root S 19536 66% 10% /usr/bin/freeswitch -conf /etc/freesw
2177 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2145 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2178 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2143 2140 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2163 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2161 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2154 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2158 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2150 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2151 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2144 2143 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2165 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2172 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
2153 2144 root S 19536 66% 0% /usr/bin/freeswitch -conf /etc/freesw
If you compare the two excerpts as shown above, you will notice, when FS is fully loaded, FS takes more RAM and CPU resources.