This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: TCP Transactions
- From: Matt Jerdonek <maj1224 at yahoo dot com>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: Discussion eCos <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 24 Oct 2003 09:38:00 -0700 (PDT)
- Subject: Re: [ECOS] TCP Transactions
Andrew,
Thanks for the clarification on the sysctl.
Regarding the retransmissions ... I'm not trying to
change the retransmit interval, but I'm trying to
limit the retransmit attempts.
For example, if the retransmit interval is 1sec, then
the retransmit attempts will occur at
1s, 2s, 4s, 8s, 16s, 32s, 64s, 64s, 64s, 64s etc ...
(12 times).
This is obviously way too long to wait for a
transaction timeout. (Imagine standing in line at a
checkout for 10 minutes for your transaction to
finish). In my company's existing products, we limit
the TCP retry attempts to 4, which provides a more
reasonable timeout.
So, I think I need to change the TCP_MAXRXTSHIFT from
12 to another value. Maybe I can assign this to a
global variable and use the sysctl interface to
manipulate it?
Any thoughts are appreciated,
-- Matt
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss