Re: Seeing large amounts of data on udp recv-q, only sending 1 byte of data



On May 25, 4:36 am, "ssuss...@xxxxxxxxxxxxxxxxxxx" <s...@xxxxxxxxxxx>
wrote:

I had that thought as well, but even the headers wouldn't account for
the extra data.

IP Hdr - 20 bytes
UDP Hdr - 8 bytes
payload - 1 byte

272-29 = 243 bytes remaining.

also if I up the payload to 10 bytes the amount of data on the recv
queue doubles to 544 bytes. The amount of overhead data should not
increase with a minimal amount of payload increases.

You would have to look at the specifics of how your particular
operating system stores datagrams internally. Many of them have a
surprisingly large amount of additional information that they store
along with the data. There is no generic way to figure out how much
input queue space a particular datagram will take.

Oddly, even for TCP data, some kernels allocate control structures and
count them against the receive buffer. The receive buffer is measured
in bytes, but what counts as a byte is far from clear.

DS

.



Relevant Pages

  • Re: Hypersonic skyhook
    ... You have a tether in LEO. ... The payload is winched up to the top of the tether and then released. ... said that it would pay for itself after just three deliveries. ... The amount of kinetic energy gained by the payload should equal the ...
    (rec.arts.sf.science)
  • Re: Whitsle tooling kit. CHEERS to Greg of Pyrotooling.com
    ... What exactly does "quite a large payload" amount to for weight? ... easily loft 300 grams? ...
    (rec.pyrotechnics)
  • Re: Preferred way of passing data
    ... "Rod" wrote in ... > large amount of data that you want to attempt to save and then report ... and server, increasing the page payload. ...
    (microsoft.public.dotnet.framework.aspnet)