>
> Without TCP:
> System is 481 kB
> -rw-r--r--    1 root     root       496215 Jul  1 11:02 bzImage
> -rwxr-xr-x    1 root     root      1519072 Jul  1 11:02 vmlinux
>
> With TCP:
> System is 572 kB
> -rw-r--r--    1 root     root       589503 Jul  1 11:07 bzImage
> -rwxr-xr-x    1 root     root      1747611 Jul  1 11:07 vmlinux
>
> Around 90kB difference might not seem much on x86 but I bet extra 90kBs
> would be handy in a heavily constrained embedded solution that doesn't
> need TCP otherwise.  (Think of Helio and the pitiful 2MB+8MB) Though YMMV,
> this measurement is by no means reliable.

Right :).  For MIPS especially..., kernel for Agenda is 2MB uncompressed.  
So, basically multiply by 1 and a half normally.  (Though it's not as bad 
because kernel is non-PIC)  Helio and Agenda hardware wise are pretty 
similar, though Agendas got tons more flash, but the Toshiba processor in the 
Helio is a little higher horsepower.  (Faster, but the VR4181 is a bit more 
advanced in other areas... like this one that affects code size, VR4181s' 
pipeline is smart enough to stall if you load register and use it next cycle, 
where as with Toshiba the results are undefined)

> Since the change in behavior is really minimal (only changing few lines of
> code where socket is created, bound and connected) I'd say it's worth it.
>
> While I'm at it, I'd recommend trying to port PicoGUI to uClibc.  glibc2
> is bloated (libuClibc.so is only ~150kB).  OTOH uClibc is limited but at
> least busybox runs under it, so why not PicoGUI too.  Though at the moment
> there is only partial MIPS port of it (considering Helio again).  Someone
> with understanding of libc should cut-paste/hack the platform depended
> parts from glibc2.  (But as I see you're already active on the uClibc
> developer list, I guess you've thought about this already :-) )

Yes..., I could definetly do the port.  I'm ironing out ARM and uClibc, but 
as time allows I might be doing some uClibc work with MIPS.  Fundamentally I 
have a love hate relationship with MIPS though..., so damn simple, but such a 
pain in the butt when I look at those file sizes.  *sigh*  Anyway, it's on my 
"long todo list" as well as creating a replacement for libstdc++ for embedded 
enviros.  Though admittedly getting uClibc working for MIPS is higher up on 
the list :-).

Anyway, the unix domain socket thing is a good idea, but if you want to make 
Micahs life easy, you could change WANT_IN to UNIX_DOMAIN or something like 
that, and stick it into the configuration.

Thanks,
Shane Nay.

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to