why does "ip route flush cache" take two seconds to run?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I'm trying to swap an IP alias from one network card to another, and so
I'm flushing the route cache.  To measure how long this takes, I have
"route -C" running in one window with a timestamp (seconds and
microseconds) after each iteration.

I then issue the "ip route flush cache" command with a timestamp after
it in another window.  This returns right away.

However, from the time the command is issued until the cache is actually
cleared is two whole seconds.  I would have expected it to be
essentially instantaneous.

Does anyone know why this is taking so long and maybe how I could speed
it up?


Thanks,

Chris


-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux