On Jan 7, 2011, at 6:35 PM, Adrian Rapa wrote:

> Hi
> it spans automaticaly over multiple cores?
Linux does that
> With tcpdump  i can capture packets and store them to hdd without any loss 
> even without pf_ring, so i dont think it is a capture problem.
This is what I have just told you
> But the ntop stays at 100% but i have 4 cores available with hyperthreding, 
> totaly 8 cores.
> the loss rate is about 1000% :)
> 
This is what I mean CPU bound

Luca

> Cu respect,
> Adrian Rapa
> Millennium IT
> 
> tel.: 0372-168.638
> fax.: 021-569.79.99
> e-mail: [email protected]
> web: www.mitnet.ro
> 
> 
> On 07.01.2011 18:03, Luca Deri wrote:
>> Adrian
>> cores have nothing to do with the your question. ntop is multithread and 
>> threads can be spawn to multiple cores
>> 
>> Luca
>> 
>> On Jan 7, 2011, at 4:18 PM, Adrian Rapa wrote:
>> 
>>> hi,
>>> so it can use only one core?
>>> 
>>> Cu respect,
>>> Adrian Rapa
>>> Millennium IT
>>> 
>>> tel.: 0372-168.638
>>> fax.: 021-569.79.99
>>> e-mail: [email protected]
>>> web: www.mitnet.ro
>>> 
>>> 
>>> On 07.01.2011 15:02, Luca Deri wrote:
>>>> Adrian
>>>> ntop is CPU bound that means that even if you accelerate packet capture, 
>>>> ntop performance will not increase much. Please use nprobe are 
>>>> preprocessor of packets that are converted to flows and analyzed by ntop
>>>> 
>>>> Regards Luca
>>>> 
>>>> On Jan 1, 2011, at 6:48 PM, Adrian Rapa wrote:
>>>> 
>>>>> hi,
>>>>> i am trying to do a ntop pfring setup.
>>>>> I compiled pf_ring, e1000e and libpcap drivers from svn.
>>>>> I compiled ntop with ./configure --with-rrd-home=/opt/rrdtool-1.4.5/ 
>>>>> --with-pcap-root=/kit/pf_ring/PF_RING/userland/libpcap-1.0.0-ring/ 
>>>>> LIBS="-lpcap -lpfring -lpthread"
>>>>> I have eth1 which is a port mirror with about 700Mb of trafic RX+tx.
>>>>> 
>>>>> If i start ntop -i eth1 i have a lot of packet loss. If i use top, i see 
>>>>> that a single cpu is used to capture packets.
>>>>> As i know pf_ring should increase the packet capture rate, but it is 
>>>>> acting as normal linux  pcap.
>>>>> 
>>>>> is it normal for ntop to use a single cpu, or can i do somenthing to use 
>>>>> all 8 CPU?
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Cu respect,
>>>>> Adrian Rapa
>>>>> Millennium IT
>>>>> 
>>>>> tel.: 0372-168.638
>>>>> fax.: 021-569.79.99
>>>>> e-mail: [email protected]
>>>>> web: www.mitnet.ro
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Ntop mailing list
>>>>> [email protected]
>>>>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>>> ---
>>>> 
>>>> "Debugging is twice as hard as writing the code in the first place. 
>>>> Therefore, if you write the code as cleverly as possible, you are, by 
>>>> definition, not smart enough to debug it. - Brian W. Kernighan
>>>> 
>>>> _______________________________________________
>>>> Ntop mailing list
>>>> [email protected]
>>>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>>> 
>> ---
>> We can't solve problems by using the same kind of thinking we used when we 
>> created them - Albert Einstein
>> 
>> 
> 

---

"Debugging is twice as hard as writing the code in the first place. Therefore, 
if you write the code as cleverly as possible, you are, by definition, not 
smart enough to debug it. - Brian W. Kernighan

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to