Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/25/05 19:15
Read: times


 
#92329 - Careless talk
Responding to: ???'s previous message
I dunno, you just mention something in an aside, then it all blows up in yer face... ;-)

Michael Karas said:
My opinion on this dynamic resizing concept is that it is total intellectual bull shit.

No, it's not just BS; it certainly has its place - but whether this is it is, I agree, highly doubtful!

How can you decide how far through a "failed" packet that data has begun to fail?

I dunno. But, rather than worry about it, you'd probably go for error-correcting schemes instead; eg, Reed-Solomon coding (as used on CDs).

How can you decide that some other size packet is better for "right now" throuh your transmission medium?

You can never tell "right now" - It has to be based on statistics.

How can you decide that the extra protocol needed to "re-negotiate" the transfer process is in and of itself reliable?

Very true - that's why I asked how he intended testing his implementation!

What do you gain by this scheme? In the end the data either gets to its destination or it does not.

Again, it's down to statistics:
A small packet size means that the framing overhead is repeated more often so has a greater impact on the overall performance, but a smaller packet size means that retransmitting a single packet will have little impact;
bigger packets mean a higher chance of getting an error in a packet, and a bigger impact when the whole lot has to be retransmitted...

A CRC only indicates, with a finite degree of uncertainty, that the data, handshake or control transfer arrived correctly.

Which does tend to argue towards a smaller packet size - as there's less risk of multiple errors "cancelling-out"

There can be NO real way to evaluate subjectively that some other packet size will make it through your transmission medium any better or not!!!

It's a matter of balancing the likelihood of an error against the overhead of detecting it, and the overhead of recovering from it.
I'm sure you can do all sorts of statistical analysis - and, no doubt, the big telecom network carriers do. But probably more significant in an 8051 design is sizing things so that everything can be handled with 8-bit numbers!





List of 18 messages in thread
TopicAuthorDate
PC to 8051f020 Communication            01/01/70 00:00      
   Protocol            01/01/70 00:00      
      Protocols            01/01/70 00:00      
   Packet Protocol....            01/01/70 00:00      
   way to complex            01/01/70 00:00      
   The Project            01/01/70 00:00      
      Review            01/01/70 00:00      
         Search Keywords            01/01/70 00:00      
            RFC935            01/01/70 00:00      
   Got it right!!            01/01/70 00:00      
      dynamic resizing            01/01/70 00:00      
         Re: dynamic resizing            01/01/70 00:00      
            My Opinion, whether you want it or not..            01/01/70 00:00      
               Careless talk            01/01/70 00:00      
         Re: dynamic resizing            01/01/70 00:00      
            No good!            01/01/70 00:00      
            testing            01/01/70 00:00      
   Re: My Opinion, whether ....            01/01/70 00:00      

Back to Subject List