Hi All, I am a newbie to the SIP Express Router and the project I am currently working on requires me to port SER to a MIPS embedded system with limited memory space. So the code size and data memory size are my primary concerns. Since I am still having some issue with my MIPS cross compilation, I just worked the SER 0.9.6 on my SUSE PC. With all the default compiler option but removing the debug info (without the -g option) and i386 release target, the SER is about 490KB in code size (the .text section in the map file). I disabled the TCP, IPV6 and UDP MULTICAST support, the code size decreased to 423KB. The SER website mentions that footprint size: 300k core, all common modules (optional) up to 630k (http://www.iptel.org/ser). Am I missing something here or maybe the website is not up to date with the footprint? I only need the basic SER with authentication and PSNT gateway support. I loaded these moduels: mysql.so, sl.so, tm.so, rr.so, maxfwd.so, usrloc.so, registrar.so, auth.so, auth_db.so, uri.so, uri_db.so, domain.so, avpops.so and permissions.so. And these modules adds up to 432KB with tm.so as the biggest one(200KB). Is there any way to further reduce code size for the core and modules?
Of course, this is only the size for PC platform. I am hoping the MIPS should not differ too much. If anybody compile SER in MIPS, could you let me know what the code size is? Even for IPAQ compile result, I also would like to know it. As for the data memory, it seems the SER use the 1MB pool memory as default for dynamic memory allocation and 32MB shared memory. If I only need to support 3600 call per hour, about 1 call per second, and maximum 80 concurrent calls, is the default memory allocation too large? How far can I reduce from the default? Is there way I can monitor the memory usage for an active call? Thanks in advance! Regards, William _______________________________________________ Serdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/serdev
