|
From: <si...@p6...> - 2007-06-19 15:23:10
|
Hi! I see my openvpn handling a lot of small packets (around 100 bytes) at a high rate. I have seen packing smaller packets into one bigger packet suggested but the idea always rejected for various reasons. Anyways, I made a little patch to do that (works agains 2.1rc4), and did a couple of quick tests. I run 50 ping -i 0 -s 153 for 30 seconds, observing CPU usage and made note of bytes transfered over the link. In both cases, 18.7MB was pushed back and forth (pings, you know). I looked at CPU usage with top, so it is a tad subjective measure, but with multipacketing the cpu usage was mostly something like 10%-15%, but without it more like 20% (I used UDP transport with TLS layer). So it can probably give an advantage in some cases. I submit the patch to your scrutiny Siim Põder |