Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-28 Thread Olivier Cochard-Labbé
On Thu, Apr 25, 2013 at 11:28 AM, Andre Oppermann wrote: > > > Again one has to be really careful drawing any firm conclusions from this > as it was measured on a Pentium4 and UP kernel (GENERIC would add WITNESS > and INVARIANT overhead as well). > > The Pentium4 is about the worst micro-architec

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-26 Thread Ermal Luçi
Hello, would you mind running a performance test with a snapshot of tomorrow from this link http://snapshots.pfsense.org/ There are some optimizations in pfSense and it would be nicer to compare to FreeBSD itself how it behaves. That is before the lock changes in HEAD since its FreeBSD 8. Regard

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-25 Thread Adrian Chadd
On 25 April 2013 02:28, Andre Oppermann wrote: > Again one has to be really careful drawing any firm conclusions from this > as it was measured on a Pentium4 and UP kernel (GENERIC would add WITNESS > and INVARIANT overhead as well). > > The Pentium4 is about the worst micro-architecture when it

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-25 Thread Oliver Pinter
nice work! On 4/24/13, Olivier Cochard-Labbé wrote: > Hi all, > > here is the result of my simple-and-dummy bench script regarding > forwarding/ipfw/pf performance evolution on -current on a single-core > server with one flow only. > It's the result of more than 810 bench tests (including reboot

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-25 Thread Andre Oppermann
On 25.04.2013 07:40, Olivier Cochard-Labbé wrote: On Wed, Apr 24, 2013 at 1:46 PM, Sami Halabi wrote: 3. there some point of improved performance (without fw) that went down again somewhere before Clang got prod. Found it ! It's commit 242402: "Rework the known mutexes..." Again one has to

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-24 Thread Olivier Cochard-Labbé
On Wed, Apr 24, 2013 at 1:46 PM, Sami Halabi wrote: > 3. there some point of improved performance (without fw) that went down > again somewhere before Clang got prod. Found it ! It's commit 242402: "Rework the known mutexes..." ministat -s 242401.forwarding 242402.forwarding x 242401.forwarding

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-24 Thread Mike Tancsa
On 4/24/2013 6:45 AM, Olivier Cochard-Labbé wrote: > # Why all these benchs ? # > > I've found performance regression regarding packet forwarding/ipfw/pf > speed on -current comparing to 9.1 on my old server. BTW, how much of a drop in performance as compared to 9.1 ? ---Mike -- --

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-24 Thread Julian Elischer
On 4/24/13 6:45 PM, Olivier Cochard-Labbé wrote: Hi all, here is the result of my simple-and-dummy bench script regarding forwarding/ipfw/pf performance evolution on -current on a single-core server with one flow only. It's the result of more than 810 bench tests (including reboot between each)

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-24 Thread Andre Oppermann
On 24.04.2013 12:45, Olivier Cochard-Labbé wrote: Hi all, here is the result of my simple-and-dummy bench script regarding forwarding/ipfw/pf performance evolution on -current on a single-core server with one flow only. It's the result of more than 810 bench tests (including reboot between each)

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-24 Thread Olivier Cochard-Labbé
On Wed, Apr 24, 2013 at 1:46 PM, Sami Halabi wrote: > Oliver, > Great and impressive job. Thanks, > 3. there some point of improved performance (without fw) that went down > again somewhere before Clang got prod. => Yes, I'm still working on detected the commit that create this degradation. >

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-24 Thread Sami Halabi
Oliver, Great and impressive job. If I interpret the plot as is the result say (approximatly of course): 1. Forwarding using ipfw with single rule degrades ~25% the pps. 2. Forwarding with pf however gets ~50%+ of degredation if performance pps. 3. there some point of improved performance (without

forwarding/ipfw/pf evolution (in pps) on -current

2013-04-24 Thread Olivier Cochard-Labbé
Hi all, here is the result of my simple-and-dummy bench script regarding forwarding/ipfw/pf performance evolution on -current on a single-core server with one flow only. It's the result of more than 810 bench tests (including reboot between each) done twice for validating my methodology. # Discla