Hello, I'm trying to get some more performance out of the LinkSys NSLU2 to run my application. When I run it under nslu2-linux (slugosbe) I get enough performace. The CPU usage is < 30%. When I compile and run it under OpenWrt the CPU hits 99.5% and the application in unusable. I've been thinking of what could cause this.
* uClibc: Is uClibc known to be slower than glibc? * -Os compiler flag (optimize for size): I have changed the default compiler flags (CONFIG_TARGET_OPTIMIZATION) to include "-O2" instead of "-Os" but I can't see a big difference. I also unchecked the kernel option "optimize for size" (CONFIG_CC_OPTIMIZE_FOR_SIZE). I can see that some libs are still compiled with "-Os" (like the gcc libs). Maybe this will impact performance. I've tried to find where the "-Os" option is set but failed. Suggestions? * Same instruction set? OpenWrt is not using the thumb instruction set, is it? I understand that is slower. * Something else? New ideas are very welcome. I'm running Kamikaze from Subversion (06 sep 2007). Best regards, Tobias _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel