Community discussions

MikroTik App
 
yudhi
newbie
Topic Author
Posts: 29
Joined: Mon Mar 06, 2006 9:27 am
Location: World wide web

v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon May 12, 2008 3:22 am

Hi All.
On my v3.3 system, I have 2 GB RAM installed, but only have 524288 maximum entries on conntrack, same as system with 512 MB RAM.
After upgrading both systems into v3.9, both systems still showing 524288 as maximum conntrack entries.

While on v.2.9.51 with 1 GB RAM have 2 million maximum entries.

Is this bug can't get fixed since from v3.3 ???

Somebody could help me with this ?
Thanks.
1GBv2-9-51.jpg
You do not have the required permissions to view the files attached to this post.
 
User avatar
hulk-bd
Member Candidate
Member Candidate
Posts: 231
Joined: Mon Sep 03, 2007 7:19 pm
Location: Uttara, Dhaka, Bangladesh

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon May 12, 2008 9:56 am

Dear yudhi,

It's definitely a bug and I don't know why MT haven't fixed this bug yet.

Thanks
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon May 12, 2008 3:16 pm

the only question I have: DO you need more than 524288 entries on conntrack? =)
 
yudhi
newbie
Topic Author
Posts: 29
Joined: Mon Mar 06, 2006 9:27 am
Location: World wide web

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon May 12, 2008 4:29 pm

the only question I have: DO you need more than 524288 entries on conntrack? =)
Doesn't care I need it or not, bug is a bug need to be fixed !

Because in the future you or me or somebody else may need it.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon May 12, 2008 4:38 pm

i have 256 Mb RAM on routers, and Max Entries is 475136 on first and 491520 on second - it doesn't correlate with RAM, as I see. so call it 'a feature', not a bug =)
 
yudhi
newbie
Topic Author
Posts: 29
Joined: Mon Mar 06, 2006 9:27 am
Location: World wide web

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon May 12, 2008 4:53 pm

i have 256 Mb RAM on routers, and Max Entries is 475136 on first and 491520 on second - it doesn't correlate with RAM, as I see. so call it 'a feature', not a bug =)
Don't you see on the picture I attached ?
1 GB RAM have 2 million entries allowed on v2.9.51, 2 GB RAM only have 500k entries on v3.9....its not a feature....but its a backward.
 
User avatar
hulk-bd
Member Candidate
Member Candidate
Posts: 231
Joined: Mon Sep 03, 2007 7:19 pm
Location: Uttara, Dhaka, Bangladesh

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Tue May 13, 2008 12:01 pm

it doesn't correlate with RAM, as I see. so call it 'a feature', not a bug =)
Dear Chupaka,

As far I know it's correlated with RAM, and few guys from here said it too, search the forum.

Thanks n Peace
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Tue May 13, 2008 1:44 pm

hulk-bd
64 Mb RAM = 96k entries
256 Mb RAM = 464k entries
512 Mb RAM = 512k(?) entries...

what correlation is there? =)
 
yudhi
newbie
Topic Author
Posts: 29
Joined: Mon Mar 06, 2006 9:27 am
Location: World wide web

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Tue May 13, 2008 5:50 pm

hulk-bd
64 Mb RAM = 96k entries
256 Mb RAM = 464k entries
512 Mb RAM = 512k(?) entries...

what correlation is there? =)
more RAM more entries you got.....simple math

btw if you don't rely on conntrack at all...then you don't need to aware with this topic I think
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Tue May 13, 2008 7:24 pm

linux 2.4 vs 2.6 kernel does things differently. Here is a document that explains some algorithms. I'm not saying RouterOS uses this method or netfilter, just pointing out an explanation between the kernel versions.

http://www.wallfire.org/misc/netfilter_ ... k_perf.txt

am
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Wed May 14, 2008 12:21 am

yep...
for systems with more than 1GB of RAM, default CONNTRACK_MAX value is limited to 65536 (but can of course be set to more manually)
- it's like this, but 512 Mb and 524288 max =) so if you need more - email support :D
 
yudhi
newbie
Topic Author
Posts: 29
Joined: Mon Mar 06, 2006 9:27 am
Location: World wide web

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Fri May 16, 2008 6:45 pm

so no solution/answer yet from mikrotik crew :shock:
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Sat May 17, 2008 5:15 pm

so if you need more - email support :D
... because it seems like it is hardcoded into ROS =)
 
gwzph
just joined
Posts: 6
Joined: Sun Sep 24, 2006 10:11 am

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Sun Dec 14, 2008 7:30 pm

No solution yet ?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon Dec 15, 2008 10:14 am

If you actually need more than the max entries, ask support and explain why
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon Dec 15, 2008 1:19 pm

conn-track entry count is calculated differently between versions. that is all that there is. nothing to worry about.
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon Dec 15, 2008 1:53 pm

My guess is that v3.x chews on packets longer before it spits 'em out, creating more CPU+RAM work per packet, leaving less resources and higher CPU usage statistics. Could be due to Layer 7 functionality or due to source code used not optimized enough.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: v3.9 - 2GB RAM = 512MB RAM same maximum entries at Conntrack

Mon Dec 15, 2008 2:20 pm

no, it is just the algorithm that calculates how much contrack entries you can support with current amount of RAM. it does not take longer, or shorter time - just the number is different.

Who is online

Users browsing this forum: Bing [Bot], CoMMyz, mrman187 and 143 guests