* Re: [PATCHv2] [DCCP]: Use higher timeout value for nofeedback timer
@ 2006-12-01 13:14 Gerrit Renker
2006-12-01 13:29 ` Arnaldo Carvalho de Melo
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Gerrit Renker @ 2006-12-01 13:14 UTC (permalink / raw)
To: dccp
Hi Arnaldo,
many thanks for the detailed feedback - that has taught me some things I did not know.
I will reshape the patch with regards to comments. While at it, would like
to increase resolution up to units of 100ms, with a default value of 10
corresponding to the TCP RTO value - as per earlier email by Mark Handley.
| - "r_sample=%uus\n", dccp_role(sk), sk,
| + "r_sample=%us\n", dccp_role(sk), sk,
|
| wrong, as r_sample is in microseconds, it comes from a timeval_delta,
| that gets it from dccp_timestamp and the elapsed times, originally in
| tenths of microsoeconds but multiplied by 10 to get back to
| microseconds.
Disagree with the above, since r_sample is not changed and t_elapsed is
converted from units of 10*microseconds to microsecond by multiplication:
r_sample = timeval_delta(&now, &packet->dccphtx_tstamp);
t_elapsed = dp->dccps_options_received.dccpor_elapsed_time * 10;
I will put that into a different patch, as I am just going over previous ones
that I have sent and checking each one of them.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCHv2] [DCCP]: Use higher timeout value for nofeedback timer 2006-12-01 13:14 [PATCHv2] [DCCP]: Use higher timeout value for nofeedback timer Gerrit Renker @ 2006-12-01 13:29 ` Arnaldo Carvalho de Melo 2006-12-01 13:40 ` Gerrit Renker 2006-12-01 13:43 ` Arnaldo Carvalho de Melo 2 siblings, 0 replies; 4+ messages in thread From: Arnaldo Carvalho de Melo @ 2006-12-01 13:29 UTC (permalink / raw) To: dccp On 12/1/06, Gerrit Renker <gerrit@erg.abdn.ac.uk> wrote: > Hi Arnaldo, > > many thanks for the detailed feedback - that has taught me some things I did not know. > > I will reshape the patch with regards to comments. While at it, would like > to increase resolution up to units of 100ms, with a default value of 10 > corresponding to the TCP RTO value - as per earlier email by Mark Handley. > > > | - "r_sample=%uus\n", dccp_role(sk), sk, > | + "r_sample=%us\n", dccp_role(sk), sk, > | > | wrong, as r_sample is in microseconds, it comes from a timeval_delta, > | that gets it from dccp_timestamp and the elapsed times, originally in > | tenths of microsoeconds but multiplied by 10 to get back to > | microseconds. > Disagree with the above, since r_sample is not changed and t_elapsed is > converted from units of 10*microseconds to microsecond by multiplication: > > r_sample = timeval_delta(&now, &packet->dccphtx_tstamp); > t_elapsed = dp->dccps_options_received.dccpor_elapsed_time * 10; > > I will put that into a different patch, as I am just going over previous ones > that I have sent and checking each one of them. We're agreeing Gerrit... you jumped to conclusions too fast because you didn't read what I said in the next paragraph, that I quote here: ------------------------ Clarification on this one, you had _fixed_ it in your previous patch, then removed this bit :) ------------------------ I.e. originally the printk message was using the '%us' mask, that would erroneously print the r_sample value as if it was in seconds, then you correctly changed it to '%uus' in the first patch, then, on the one you asked me to replace the first one, you removed this fix, what I said was that I kept this fix, i.e. changing from '%us' to '%uus', which is the right thing. - Arnaldo ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCHv2] [DCCP]: Use higher timeout value for nofeedback timer 2006-12-01 13:14 [PATCHv2] [DCCP]: Use higher timeout value for nofeedback timer Gerrit Renker 2006-12-01 13:29 ` Arnaldo Carvalho de Melo @ 2006-12-01 13:40 ` Gerrit Renker 2006-12-01 13:43 ` Arnaldo Carvalho de Melo 2 siblings, 0 replies; 4+ messages in thread From: Gerrit Renker @ 2006-12-01 13:40 UTC (permalink / raw) To: dccp Quoting Arnaldo Carvalho de Melo: | We're agreeing Gerrit... you jumped to conclusions too fast because | you didn't read what I said in the next paragraph, that I quote here: | | ------------------------ | Clarification on this one, you had _fixed_ it in your previous patch, | then removed this bit :) | ------------------------ Oh, I apologise. I just got an email from Colin Perkins (do you read dccp@ietf?) who says that it should be 16..20msec. I think will change to milliseconds, use the default of 100msec suggested by Mark Handley, and update the configuration menu once again. Gerrit ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCHv2] [DCCP]: Use higher timeout value for nofeedback timer 2006-12-01 13:14 [PATCHv2] [DCCP]: Use higher timeout value for nofeedback timer Gerrit Renker 2006-12-01 13:29 ` Arnaldo Carvalho de Melo 2006-12-01 13:40 ` Gerrit Renker @ 2006-12-01 13:43 ` Arnaldo Carvalho de Melo 2 siblings, 0 replies; 4+ messages in thread From: Arnaldo Carvalho de Melo @ 2006-12-01 13:43 UTC (permalink / raw) To: dccp On 12/1/06, Gerrit Renker <gerrit@erg.abdn.ac.uk> wrote: > Quoting Arnaldo Carvalho de Melo: > | We're agreeing Gerrit... you jumped to conclusions too fast because > | you didn't read what I said in the next paragraph, that I quote here: > | > | ------------------------ > | Clarification on this one, you had _fixed_ it in your previous patch, > | then removed this bit :) > | ------------------------ > Oh, I apologise. > > I just got an email from Colin Perkins (do you read dccp@ietf?) who says > that it should be 16..20msec. I think will change to milliseconds, use the > default of 100msec suggested by Mark Handley, and update the configuration > menu once again. Yes, I do, saw that message :-) - Arnaldo ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-12-01 13:43 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-12-01 13:14 [PATCHv2] [DCCP]: Use higher timeout value for nofeedback timer Gerrit Renker 2006-12-01 13:29 ` Arnaldo Carvalho de Melo 2006-12-01 13:40 ` Gerrit Renker 2006-12-01 13:43 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox