Re: Test on 10GBE Intel based network card

2009-08-04 Thread Jack Vogel
Your nmbclusters is very low, you list it twice so I'm assuming the second value is what it ends up being, 32K :( I would set it to: kern.ipc.nmbclusters=262144 Also, I thought you were using the current driver, but now it looks like you are using something fairly old, use my latest code which

Re: Test on 10GBE Intel based network card

2009-08-04 Thread Julian Elischer
Invernizzi Fabrizio wrote: The limitation that you see is about the max number of packets that FreeBSD can handle - it looks like your best performance is reached at 64 byte packets? If you are meaning in term of Packet per second, you are right. These are the packet per second measured during

RE: Test on 10GBE Intel based network card

2009-08-04 Thread Invernizzi Fabrizio
Hi all. Going on with my tests. I noticed that I have always a (received) pps/interrupt ratio(per second) that is always about 14 (a very low ratio in my opinion). If I disable aim via sysctl sysctl -w dev.ix.0.enable_aim=0 dev.ix.0.enable_aim: 1 -> 0 this ration remain the same. Something goi

RE: Test on 10GBE Intel based network card

2009-08-04 Thread Invernizzi Fabrizio
Ray, >To me it looks like interrupt coalescing is not switched on for some reason. >Are you passing any parameters to the driver in boot.conf. This is my loader.conf kern.ipc.nmbclusters=65635 kern.hz=1000 net.bpf_jitter.enable=1 # net.graph.threads=32 #

RE: Test on 10GBE Intel based network card

2009-08-04 Thread Invernizzi Fabrizio
> >> The limitation that you see is about the max number of packets that > >> FreeBSD can handle - it looks like your best performance is reached at > >> 64 byte packets? > > > > If you are meaning in term of Packet per second, you are right. These > are the packet per second measured during tests: