We have upto 1000 threads running somesort of network io, what we did was
the following to get the performance we needed:
1) set POSIX fileio sockets/descrip to 2048
2) set number of selects to 2048 (in select.c or include)
3) set Network memory to at least 20 meg (for 200 threads)
4) set Network sockets to 2048
5) set Network pending to 2048 ???? Don't have a good feel for this yet
6) modify the eCos time base for 1000 ticks/second
7) modify socket include structure for timeouts from uint16 to uint32
(uint16 will overflow with 1000 ticks/sec)
8) modify network stack for new timebase (in sys ecos includes)
Steve
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss