Re: [PATCH] netfilter: finer grained nf_conn locking

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rick Jones
Date: Monday, March 30, 2009 - 3:44 pm

> Indeed, tbench is a mix of tcp and process scheduler test/bench

If I were inclined to run networking tests (eg netperf) over loopback and wanted 
to maximize the trips up and down the protocol stack while minimizing scheduler 
overheads, I might be inclinded to configure --enable-burst with netperf and then 
run N/2 concurrent instances of something like:

netperf -T M,N -t TCP_RR -l 30 -- -b 128 -D &

where M and N were chosen to have each netperf and netserver pair bound to a pair 
of suitable cores, and the value in the -b option wash picked to maximize the CPU 
utilization on those cores.  Then, in theory there would be little to no process 
to process context switching and presumably little in the way of scheduler effect.

What I don't know is if such a setup would have both netperf and netserver each 
consuming 100% of a CPU or if one of them might "peg" before the other.  If one 
did peg before the other, I might be inclined to switch to running N concurrent 
instances, with -T M to bind each  netperf/netserver pair to the same core. 
There would then be the process to process context switching though it would be 
limited to "related" processes.

rick jones
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFT 4/4] netfilter: Get rid of central rwlock in tcp conn ..., Stephen Hemminger, (Tue Feb 17, 10:19 pm)
Re: [RFT 4/4] netfilter: Get rid of central rwlock in tcp ..., Stephen Hemminger, (Wed Feb 18, 4:35 pm)
Re: [RFT 4/4] netfilter: Get rid of central rwlock in tcp ..., Stephen Hemminger, (Thu Feb 19, 3:03 pm)
[PATCH] netfilter: finer grained nf_conn locking, Eric Dumazet, (Sat Mar 28, 9:55 am)
Re: [PATCH] netfilter: finer grained nf_conn locking, Stephen Hemminger, (Sat Mar 28, 5:48 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Rick Jones, (Mon Mar 30, 11:57 am)
Re: [PATCH] netfilter: finer grained nf_conn locking, Eric Dumazet, (Mon Mar 30, 12:20 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Jesper Dangaard Brouer, (Mon Mar 30, 12:38 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Eric Dumazet, (Mon Mar 30, 12:54 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Eric Dumazet, (Mon Mar 30, 12:57 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Stephen Hemminger, (Mon Mar 30, 1:05 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Jesper Dangaard Brouer, (Mon Mar 30, 1:34 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Eric Dumazet, (Mon Mar 30, 1:41 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Jesper Dangaard Brouer, (Mon Mar 30, 2:25 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Rick Jones, (Mon Mar 30, 3:44 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Jesper Dangaard Brouer, (Tue Mar 31, 12:52 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Eric Dumazet, (Tue Mar 31, 1:23 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Rick Jones, (Tue Mar 31, 1:35 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Jesper Dangaard Brouer, (Tue Mar 31, 1:52 pm)
Re: [PATCH] netfilter: finer grained nf_conn locking, Patrick McHardy, (Mon Apr 6, 5:07 am)
Re: [PATCH] netfilter: finer grained nf_conn locking, Jan Engelhardt, (Mon Apr 6, 5:32 am)
Re: [PATCH] netfilter: finer grained nf_conn locking, Stephen Hemminger, (Mon Apr 6, 10:25 am)