public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] tuning FreeBSD stack
@ 2005-10-20 12:28 Steve West
  0 siblings, 0 replies; only message in thread
From: Steve West @ 2005-10-20 12:28 UTC (permalink / raw)
  To: ECOS

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-20 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-20 12:28 [ECOS] tuning FreeBSD stack Steve West

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).