* Re: owner-Match in 2.6.20-rc5 (fwd) [not found] <Pine.LNX.4.64.0701252121190.26664@blackhole.kfki.hu> @ 2007-01-25 21:01 ` David Miller 2007-01-25 21:07 ` Jan Engelhardt 0 siblings, 1 reply; 5+ messages in thread From: David Miller @ 2007-01-25 21:01 UTC (permalink / raw) To: kadlec; +Cc: netdev, netfilter-devel From: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Date: Thu, 25 Jan 2007 21:31:56 +0100 (CET) > The report below was posted on the netfilter user list. Isn't there any > ill side effect by reverting the change? Performance regression :-( This optimization saves a whole handful of heavy atomic operations in the packet transmit path of TCP. As I understand it, the owner-Match is not in the upstream tree, and it's the only thing that cares, so I see no reason to cater for it. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: owner-Match in 2.6.20-rc5 (fwd) 2007-01-25 21:01 ` owner-Match in 2.6.20-rc5 (fwd) David Miller @ 2007-01-25 21:07 ` Jan Engelhardt 2007-01-25 22:01 ` David Miller 0 siblings, 1 reply; 5+ messages in thread From: Jan Engelhardt @ 2007-01-25 21:07 UTC (permalink / raw) To: David Miller; +Cc: kadlec, netdev, netfilter-devel >> The report below was posted on the netfilter user list. Isn't there any >> ill side effect by reverting the change? > >Performance regression :-( > >This optimization saves a whole handful of heavy atomic operations in >the packet transmit path of TCP. > >As I understand it, the owner-Match is not in the upstream tree, and >it's the only thing that cares, so I see no reason to cater for it. For me, it's there. -rw-r--r-- 1 jengelh users 2247 Jan 25 21:37 /erk/kernel/linux-2.6.20-rc6/net/ipv4/netfilter/ipt_owner.c -`J' -- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: owner-Match in 2.6.20-rc5 (fwd) 2007-01-25 21:07 ` Jan Engelhardt @ 2007-01-25 22:01 ` David Miller 2007-01-25 22:14 ` Jan Engelhardt 0 siblings, 1 reply; 5+ messages in thread From: David Miller @ 2007-01-25 22:01 UTC (permalink / raw) To: jengelh; +Cc: kadlec, netdev, netfilter-devel From: Jan Engelhardt <jengelh@linux01.gwdg.de> Date: Thu, 25 Jan 2007 22:07:07 +0100 (MET) > > >> The report below was posted on the netfilter user list. Isn't there any > >> ill side effect by reverting the change? > > > >Performance regression :-( > > > >This optimization saves a whole handful of heavy atomic operations in > >the packet transmit path of TCP. > > > >As I understand it, the owner-Match is not in the upstream tree, and > >it's the only thing that cares, so I see no reason to cater for it. > > For me, it's there. > -rw-r--r-- 1 jengelh users 2247 Jan 25 21:37 > /erk/kernel/linux-2.6.20-rc6/net/ipv4/netfilter/ipt_owner.c Ok, I'll see what I can do about this :-) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: owner-Match in 2.6.20-rc5 (fwd) 2007-01-25 22:01 ` David Miller @ 2007-01-25 22:14 ` Jan Engelhardt 2007-01-26 9:05 ` David Miller 0 siblings, 1 reply; 5+ messages in thread From: Jan Engelhardt @ 2007-01-25 22:14 UTC (permalink / raw) To: David Miller; +Cc: kadlec, netdev, netfilter-devel >> >> The report below was posted on the netfilter user list. Isn't there any >> >> ill side effect by reverting the change? >> > >> >Performance regression :-( >> > >> >This optimization saves a whole handful of heavy atomic operations in >> >the packet transmit path of TCP. >> > >> >As I understand it, the owner-Match is not in the upstream tree, and >> >it's the only thing that cares, so I see no reason to cater for it. >> >> For me, it's there. >> -rw-r--r-- 1 jengelh users 2247 Jan 25 21:37 >> /erk/kernel/linux-2.6.20-rc6/net/ipv4/netfilter/ipt_owner.c > >Ok, I'll see what I can do about this :-) > People really depend on this. Much more than than pid/comm/smpunsafe stuff. For example, a web server [cgi enabled, etc.] which also runs squid, to force all webtraffic through it: -A OUTPUT -p tcp --dport 80 -m owner ! --uid-owner squid -j REDIRECT --to-ports 3128 -`J' -- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: owner-Match in 2.6.20-rc5 (fwd) 2007-01-25 22:14 ` Jan Engelhardt @ 2007-01-26 9:05 ` David Miller 0 siblings, 0 replies; 5+ messages in thread From: David Miller @ 2007-01-26 9:05 UTC (permalink / raw) To: jengelh; +Cc: kadlec, netdev, netfilter-devel From: Jan Engelhardt <jengelh@linux01.gwdg.de> Date: Thu, 25 Jan 2007 23:14:49 +0100 (MET) > People really depend on this. Much more than than pid/comm/smpunsafe stuff. > For example, a web server [cgi enabled, etc.] which also runs squid, > to force all webtraffic through it: > > -A OUTPUT -p tcp --dport 80 -m owner ! --uid-owner > squid -j REDIRECT --to-ports 3128 FWIW I've simply reverted the change in question to fix this. Will push to Linus soon. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-26 9:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.64.0701252121190.26664@blackhole.kfki.hu>
2007-01-25 21:01 ` owner-Match in 2.6.20-rc5 (fwd) David Miller
2007-01-25 21:07 ` Jan Engelhardt
2007-01-25 22:01 ` David Miller
2007-01-25 22:14 ` Jan Engelhardt
2007-01-26 9:05 ` David Miller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox