Networking Forums

Networking Forums > Computer Networking > Linux Networking > policy routing

Reply
Thread Tools Display Modes

policy routing

 
 
Alex Harsch
Guest
Posts: n/a

 
      11-22-2004, 05:25 PM
Hello,

I have the task to implement a routing protocol as a kernel module. The
algorithm for the routing protocol is dynamic, meaning, that it may change
the routing table once in a second. During heavy traffic even more
frequently.
Now I wonder how it will affect performance if I change the rules so
frequently. Basically, all I need to change often is the weights of the
routes, e.g.
for destination A route
2/3 of the packets over interface1 and 1/3 over interface2
to
1/3 of the packets over interface1 and and 2/3 over interface2

I know that there is a cache for routing, because it is way faster than
doing a lookup on the routing table. Now I wonder:
1. is it possible to change the routing table so often?
2. how much CPU is it going to cost me?
3. can I change the cache directly?
4. how much faster is a cache lookup compared to a routing table lookup?
5. should I ask all these questions in a kernel developer NG?

Thanks in advance.
With kind regards, Alex
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone know how to debug Routing Policy Database (RPDB)? Treker Linux Networking 2 05-17-2008 08:05 AM
Cant locate wireless network policy in group policy Tom Windows Networking 0 05-11-2005 01:28 PM
policy-based routing and NAT with iptables Florian Pressler Windows Networking 0 02-19-2005 01:45 AM
policy-based routing and NAT with iptables Florian Pressler Linux Networking 0 02-19-2005 01:45 AM
policy routing and NAT jens Linux Networking 0 08-28-2003 04:23 PM



1 2 3 4 5 6 7 8 9 10 11