[netflow-tools] flowd benchmark
gijs at looze.net
Wed Jul 13 20:27:03 EST 2005
Gijs Molenaar wrote:
> Maybe it has to do something with the fact that with flow-tools I do a
> readlines() to load the whole file in memory. With flowd it 'walks'
> trough the file, which can be much slower. But I'm not sure. flowtools
> python libary is also completely written in C.
Again I have to correct myself. It doesn't do a readlines, it loops
trough an FlowSet object that looks like a list in python. I still think
io is the bottleneck.
More information about the netflow-tools