ra reads argus file very slow

Zi Hu zihu at usc.edu
Thu Oct 31 18:28:51 EDT 2013


Jesper Skou Jensen <jesper.skou.jensen <at> uni-c.dk> writes:

> 
> What about avoiding writing to disk at all, but instead redirecting to 
> /dev/null, that way it's only the reading that's an issue.
>

I just tried to redirecting the output to /dev/null. It is still very slow. 
 
> This should be very fast, as fast as your HDD can read.
> time cat tmp/201320d-060000.argus > /dev/null
> 
> Using RA is much more CPU intensive, and will take considerable longer.
> These two should take almost the same time.
> time ra -r tmp/201320d-060000.argus > /dev/null
> time ra -nr tmp/201320d-060000.argus > /dev/null
> 
> On my system a quick test shows that it takes about 430 times longer to 
> process the ra commands than the cat.

On my test, it is about 200 times longer than "cat". 
I didn't expect parsing the argus data would be so slow. 
That's why I am guessing "ra" does more than just parsing the argus data. 

-Zi 


> 
> --
> Regards
> Jesper
> 







More information about the argus mailing list