Skip to contentSkip to conversation

Per session rule matching (TC)

DISCUSSION Avi Lipa 2 participants 2 messages Sep 14, 2003 – Sep 15, 2003 netfilter

lore
Share & tools
lore

Avi Lipa

author
#0 lore raw

Dear Mr. Mrs.

As a Linux user and (from time to time ... developer) I spent some time studying the connection tracking module with in the netfilter and found it interesting and valuable.

I have a question regarding a possible missing feature which might help improving the performance of rule matching in the queuing discipline processing.

Today the rule/filter matching in the queuing discipline of each device is done
per packet (which is expensive once many rules are configured) with out any assumption on the session / connection which this packet belongs to (although hashing is allowed in the u32 classifier a standard
user might find it hard to configure).

I saw that for the NAT module in the Netfilter if a rule was found it is stored in a dedicated structure on the ip_conntrack, thus rule matching is done per session and not per packet

I think that supporting a dedicated entry in ip_conntrack for cached queuing discipline rule matching is a capability that would improve performance for system where numerous of classifiers are configured and deals with multiple sessions.

Regards,
Neo .M.

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

#1 lore raw

sön 2003-09-14 klockan 16.33 skrev Avi Lipa:

Quoted 5 lines

I think that supporting a dedicated entry in ip_conntrack for cached queuing discipline rule matching
is a capability that would improve performance for system where numerous of classifiers are configured and
deals with multiple sessions.

See the CONNMARK patch for one possible approach.

Regards
Henrik

Signature · 2 lines
Henrik Nordstrom <[email protected]>
MARA Systems AB