Hi,

I want to test zero copy of pf-ring for receiving packets on multicast IP's. I am using '*Intel Corporation 82579LM Gigabit Network Connection*' NIC which is listed in pf-ring-aware NIC's. So these are the steps I have followed:

1. mounted hugepages as follows:-
1.1. echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages.
    1.2. mkdir /mnt/huge
    1.3. mount -t hugetlbfs nodev /mnt/huge
2. Installed pfring-dkms-6.0.3-dkms.noarch.rpm which placed pf_ring.ko file.
3. Installed e1000e-zc-3.2.7.1.368-1dkms.noarch.rpm which placed a file called e1000e_zc.ko parallel to pf_ring.ko.
4. used the following command in sequence:-
    4.1. insmod pf_ring.ko transparent_mode=2
    4.2. rmmod e1000e
    4.3. insmod e1000e_zc.ko
5. Executed zcount with the following command "./zcount -i em1 -c 1".

Now, as far as I can understand, If we use ZC then any other non-pfring application in unable to read the packets from the NIC. But I am able to capture packets using wireshark on the same interface on which zcount application is running. I am afraid that the packet capturing is opened in pfring mode rather than zero copy mode.

My system configuration is as follows:
OS: Centos 6.5
RAM: 8 GB
NICS:    1.  Intel Corporation 82579LM Gigabit Network Connection (em1)
2. Intel Corporation 82540EM Gigabit Ethernet Controller (eth0)

Am I doing something wrong? Can you guide me through zero copy module, apart from the above steps? Any help will be appreciated.

Thank you

Regards,
K Rahul


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

Reply via email to