Mr. Alfredo, Many thanks for all these helpful information. Wang
Sent from my iPad > On Jan 21, 2020, at 12:42 AM, Alfredo Cardigliano <[email protected]> > wrote: > > Do you mean between hw distribution with RSS and > software distribution with zbalance_ipc? > The former provides higher performance, the latter > higher flexibility. > > Alfredo > >> On 20 Jan 2020, at 17:30, Yong Wang <[email protected]> wrote: >> >> is there any difference between the performance of these two? >> >> Sent from my iPhone >> >>>> On Jan 21, 2020, at 12:24 AM, Alfredo Cardigliano <[email protected]> >>>> wrote: >>>> >>> Correct. A zbalance_ipc queue is a software queue belonging to the >>> cluster created by zbalance_ipc. You can use zcount to open a RSS queue. >>> >>> Alfredo >>> >>>> On 20 Jan 2020, at 17:22, Yong Wang <[email protected]> wrote: >>>> >>>> so is this because the zc queue created by zbalance_ipc is a software >>>> queue? If I use rss to do the load balance, will zcount work? >>>> >>>> Sent from my iPhone >>>> >>>>>> On Jan 21, 2020, at 12:07 AM, Alfredo Cardigliano <[email protected]> >>>>>> wrote: >>>>>> >>>>> Hi >>>>> please use zcount_ipc to attack to a ZC queue created by zbalance_ipc, >>>>> the zcount example you are using is meant to be used to capture from >>>>> an interface (it creates a cluster). >>>>> >>>>> Alfredo >>>>> >>>>>> On 20 Jan 2020, at 17:04, Wang <[email protected]> wrote: >>>>>> >>>>>> Hi there, >>>>>> >>>>>> I am using zbalance_ipc to spread packets to multiple applications, say >>>>>> zcount for example. I got this error from zcount: >>>>>> pfring_zc_create_cluster error [Socket operation on non-socket] Please >>>>>> check that pf_ring.ko is loaded and hugetlb fs is mounted >>>>>> >>>>>> When I switched to pfcount -i zc:10@0 and pfcount -i zc:10@1, it worked. >>>>>> So, is this still zero copy? it means I cannot use zc api with >>>>>> zbalance_ipc? >>>>>> >>>>>> Thanks >>>>>> _______________________________________________ >>>>>> Ntop-misc mailing list >>>>>> [email protected] >>>>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>>>> >>>>> _______________________________________________ >>>>> Ntop-misc mailing list >>>>> [email protected] >>>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>>> _______________________________________________ >>>> Ntop-misc mailing list >>>> [email protected] >>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>> >>> _______________________________________________ >>> Ntop-misc mailing list >>> [email protected] >>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >> _______________________________________________ >> Ntop-misc mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
