insmod igb.ko RSS=N,N,N,N Where N is the number of queues. You can see the actual number of RX/TX RSS queues in /proc/net/pf_ring/dev/ethX/info
Alfredo > On 26 Oct 2015, at 04:57, 王勇 <[email protected]> wrote: > > Thank you, so how to enable RSS? I am using a 82576 4-port netcard with > pf-ring 5.6.1 pfring-aware driver. > > Alan > > > > -----原始邮件----- > > 发件人: "Alfredo Cardigliano" <[email protected]> > > 发送时间: 2015年10月14日 星期三 > > 收件人: [email protected] > > 抄送: > > 主题: Re: [Ntop-misc] Packet lose observed in ifconfig > > > > > > > On 14 Oct 2015, at 07:56, 王勇 <[email protected]> wrote: > > > > > > Hi, all > > > > > > I have a box equipped with 32 cores (2 cpus and hyperthread is enabled) > > > and a 4-port intel 82576 card. There are 2 nprobe running on this machine > > > listening 2 ports which having about 200Mbps(less then 100kpps) on each > > > of them. The pf-ring version is 5.6 in mode 2. > > > > > > what I observed about the packet dropping is: > > > 1. the tot pkt lost in /proc/net/pfring/info is 0 > > > > /proc/net/pf_ring/info does not contain drop stats.. > > > > > 2. the tot packet drop in ifconfig for the port is not zero and keep > > > increasing on the rate of several thousands packet a second. > > > > This means kernel is not able to move packets off the card fast enough. > > > > > 3. the num free slot remains above 0. so that means the nprobe is fast > > > enough. > > > > Correct. > > > > > > > > so, in this situation, what is the root cause of the packet drop, thank > > > you for any comment! > > > > The NAPI mechanism seems to be the bottleneck, please try playing with RSS, > > otherwise you should try with ZC drivers. > > > > Alfredo > > > > > > > > Alan > > > _______________________________________________ > > > 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
