LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-12-2004, 03:27 PM   #1
RSalameh
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Disable Route Caching


System Information:
Linux OS: Suse 9.1 Professional
Version/Release: 2-6.5-7.111-default

Is there a way to disable the routing cache? Using the command ip route flush cache only temporarily erases entries in the kernel's cache file. The same goes with writing to the file /proc/sys/net/ipv4/route/flush. I have not been able to find anywhere on the Internet a way to actually disable it so that the kernel doesn't even maintain a cache. I believe this requires a modification of the kernel. Does anybody have a solution or any info to this problem? Help would be greatly appreciated.

If I find a way to disable the routing cache, I would also like to do disable the multicast routing cache. Using the following command displays the multicast routing cache:
ip route mroute show


Ramzi
 
Old 02-01-2005, 08:30 PM   #2
homerklees
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
BUMP: Same problem

I'm bumping this thread as I have the same requirements for Redhat 9.

The reasoning for wanting to disable the route cache is to effectively use load balacing with two net connections. By using multi-threaded clients for HTTP/FTP you can achieve a higher combined transfer rate by routing multiple requests to the same download out each connection.

The problems is obviously that with a route cache, it routes each subsequent connection to a host out the same interface, which basically defeats the purpose of the load balancing.

I have used the same techniques as RSalameh to flush the cache, but I've found it causes issues with existing connections (connection resets etc).

I am not a linux expert and get the feeling im trying to run before I walk.

Any input would be greatly appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable read and write caching in filesystems Kumar Programming 1 11-11-2005 03:36 AM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
if a route fails in a multipath route? eantoranz Linux - Networking 5 07-03-2005 02:03 PM
ADSL as a Alternate route or backup route bhagat2000 Linux - Networking 0 05-27-2004 03:17 PM
Working with 'route' and unwanted route entries pioniere Linux - Networking 6 02-05-2003 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration