[dsc] Performance Issues Qname and Client Subnet

Daniel Griggs daniel at pch.net
Sun May 5 01:37:18 UTC 2013


Hi all,

Does it make a performance difference to it if the all of the local ip's are not listed?

On 3/05/2013, at 1:17 PM, Daniel Griggs <daniel at pch.net> wrote:

> 
> I have compiled the latest version of DSC from the svn repository on CentOS 5 and am running into an issue.
> 
> I have configured the following rules;
> 
> dataset qtype dns All:null Qtype:qtype queries-only;
> dataset rcode dns All:null Rcode:rcode replies-only;
> dataset opcode dns All:null Opcode:opcode queries-only;
> dataset qname dns All:null Qname:qname queries-only;
> dataset clientsub dns All:null ClientSubnet:client_subnet queries-only;
> dataset addr_qname dns Qname:qname ClientSubnet:client_subnet queries-only;
> 
> Running without the last rule it hovers at around 8% CPU and very little memory (less than 10Megs) for the packet capturing processing and amount of time spend processing the captured data to the text file in the spin off process is less than a second. But when I add in the final rule the CPU hovers around 16-12%, the memory usage grows to over 200Megs, that's fine, but when it comes to writing the results out to disk it becomes painfully slow, pegging the CPU at 100% and taking minutes to complete, only writing kb's a second to the disk. In total taking just over 5 minutes and the final file is 10Mbs.
> 
> I assume from the way it uses memory that it collating the data as it goes so I am confused as to why it's taking so long to express the data into XML.
> 
> Any ideas?
> Is this a regression, expected behaviour or a new interesting problem?
> 
> --
> Daniel
> 
> 
> _______________________________________________
> dsc mailing list
> dsc at measurement-factory.com
> http://www.measurement-factory.com/mailman/listinfo/dsc

--
Daniel




More information about the dsc mailing list