Community discussions

MikroTik App
用户头像
Larsa
Forum Veteran
Forum Veteran
Topic Author
Posts: 892
加入: Sat Aug 29, 2015 7:40 pm
Location:The North Pole, Santa's Workshop

Bad routing performance in v7?

Wed Apr 19, 2023 7:15 pm

There has sometimes been buzzing on the forum that routing in v7 is significantly slower due to the removal of the global cache in the new linux kernel, but is that really true?

I've been studying how the global cache used to work in the old linux kernel which has now been replaced by more modular caches. Are there any current routing tests with v7 compared to v6? Could it possibly be architectural differences at play?

Some good reading on the subject:
Routing Decisions in the Linux Kernel - Part 1: Lookup and packet flow
Routing Decisions in the Linux Kernel - Part 2: Caching
Top
用户头像
mkx
Forum Guru
Forum Guru
Posts: 10405
加入: Thu Mar 03, 2016 10:23 pm

Re: Bad routing performance in v7?

Wed Apr 19, 2023 7:36 pm

Removal of route caches doesn't cause much of performance penalty in case where traffic is very mixed (e.g. ISP routers etc.). However route cache did a great job where there were only a few (high volume) connections (which is pretty typical in case of SOHO use and/or speed tests).

As many people, complaining about performance degradation after upgrade from v6 to v7, are using low-end devices in SOHO scenario, the effect of missing route cache is more prominent.
Top

Who is online

Users browsing this forum:Amazon [Bot],Bing [Bot],e17,m4uroand 61 guests