svn commit: r243914 - projects/bpfjit
David Chisnall
theraven at theravensnest.org
Sat Dec 8 14:17:25 UTC 2012
On 8 Dec 2012, at 13:24, Aleksandr Rybalko wrote:
>> LLVM compilation took too much time to be useful:
>>
>> engine filter cycles compile cycles
>> - ---------------+---------------+----------------
>> jit-linux 106468 33126+72796
>> jit-freebsd 113958 48292+72796
>> llvm 157394 380843640+72796
>> pcap 276910 72796
>> linux 351391 9245+72796
As a further note: in the small print for this benchmark, it was done on 1,000 packets. On a typical network where you might want to use BPF, that's, what, 20-100ms of network traffic? If you're changing BPF rules over ten times per second, then you are probably in quite an unusual usecase. Alternatively, if you're on a network where 1,000 packets take so long to arrive that it's significant, then your packet filtering startup time is almost certainly not an issue - no one will notice if it takes even an extra few seconds before the first pigeon takes off...
David
More information about the svn-src-projects
mailing list