author | Florian Forster <octo@collectd.org> | |
Wed, 8 Feb 2012 09:25:59 +0000 (10:25 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 8 Feb 2012 09:25:59 +0000 (10:25 +0100) | ||
commit | b44c85528c7449e9db4610e325fd9550f6ea1dd4 | |
tree | ac57149c82d24153d9113b98eefafce9ca616eb8 | tree | snapshot |
parent | 93b9e0876f661e5c26523a776d10c97635a55ace | commit | diff |
write_graphite plugin: Decrese buffer size.
The larger the buffer, the longer you need to wait for the data to be written
to Carbon. The new buffer size assumes an MTU of 1500 bytes (Ethernet payload)
and keeps margins for IPv6 and TCP (with timestamps). This should decrease the
number of packets needed (because data is now cleanly aligned to the packet
size) and decrease the overall time spent buffered.
Change-Id: I73021608f1ff0f22f9e73cd62b7fb5ea79421546
The larger the buffer, the longer you need to wait for the data to be written
to Carbon. The new buffer size assumes an MTU of 1500 bytes (Ethernet payload)
and keeps margins for IPv6 and TCP (with timestamps). This should decrease the
number of packets needed (because data is now cleanly aligned to the packet
size) and decrease the overall time spent buffered.
Change-Id: I73021608f1ff0f22f9e73cd62b7fb5ea79421546
src/write_graphite.c | diff | blob | history |