--- Quote Start ---
originally posted by smalllight@Apr 17 2006, 11:05 AM
dear hippo!
i compare the status of boa process in your platform and my arm platform.
the result as follow:
my arm platform:
compare
mem: 157792 bytes
slack: 2876 bytes
shared: 0 bytes
your nios platform:
mem: 286112 bytes
slack: 52682 bytes
shared: 0 bytes
you can see nios plat forum user more memory than arm.
in my arm platform, the linux sourse verision is 2.4
if the application will consume more memory in the 2.6 kernel?
can you help me?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14414)
--- quote end ---
--- Quote End ---
I would expect Nios2's code efficency will not be as good as ARM's. Because Nios2 has fewer instruction set.
To reduce memory usage, there are some approaches.
1. rebuild the lib and code with "-Os" flag.
2. in Linux 2.6.12 or later, there is a CONFIG_BASE_SMALL, which will use smaller table size for kernel data.
3. hack the kernel or apps to reduce memory usage and slack.