[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Yum .hdr files massive



> Well if you wanted to be super careful not to waste bandwidth you might
> choose to use setsockopt( ..., SO_RCVBUF, ...) at least. A value from
> 2800 to 4200 might be about right. The reason is that between the time
> you do the final read(2) and the time you do the close(2) or shutdown(2)
> you will probably still have other packets in flight. Of course to
> really cut down on all wastage you'd have to micromanage the advertised
> tcp window to a greater extent.
> 

I don't want to be supercareful. In fact, getting this involved in the
way the packages get downloaded is not worth the time.

-sv



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]