[flow-tools] Patch for 0.57: use #define for socket buffer size constant
Jos Backus
jos@catnook.com
Thu, 25 Apr 2002 17:51:47 -0701
On Thu, Apr 25, 2002 at 01:51:08AM -0400, Mark Fullmer wrote:
> Will be in 0.58.
Great, thanks.
> Are there actually systems that will accept those larger buffer sizes
> without kernel tweaks? If so it would probably be worth auto scaling up
> FT_SO_BUFSIZE when compression is enabled.
To be honest, I'm not sure; it depends on the OS. I had to tweak them on
Solaris, where I use 2048*1024 together with
/usr/sbin/ndd -set /dev/udp udp_max_buf 2097152
/usr/sbin/ndd -set /dev/udp udp_recv_hiwat 65535
Note that the patch retains the current value, which on Solaris at least does
not require any tuning.
> > Only in flow-tools-0.57-dist/lib: ftpaths.h
>
> What's this about?
In order to generate the diffs I extracted the distribution twice, once into
flow-tools-0.57-dist and once into flow-tools-0.57. A make distclean removes
this file, which explains why it only showed up in the original distribution.
Arguably it should not be in the distributed tarball?
--
Jos Backus _/ _/_/_/ Santa Clara, CA
_/ _/ _/
_/ _/_/_/
_/ _/ _/ _/
jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer;