[lkml]   [2000]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectwhy does "ip route flush cache" take two seconds to run?

    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?



    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:
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:41    [W:0.019 / U:5.500 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site