From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 25 Jan 2017 04:02:22 +0100 From: Andrew Lunn Message-ID: <20170125030222.GA25360@lunn.ch> References: <98a77a75-ac8e-455a-6060-343b9020cd27@viisauksena.de> <2809895.eiDvevZ9tY@bentobox> <946ed248-8900-a0e2-4f35-ff288b04e360@viisauksena.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <946ed248-8900-a0e2-4f35-ff288b04e360@viisauksena.de> Subject: Re: [B.A.T.M.A.N.] limit of if per batman List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Wed, Jan 25, 2017 at 03:21:58AM +0100, jens wrote: > On 24.01.2017 14:39, Sven Eckelmann wrote: > > There is no artificial limit added by batman-adv. But transmitting a lot of > > broadcasts over 255 virtual links sharing the same physical link > > might get interesting (independent of batman-adv). > > this made me curious , and i modified your script a bit - turns out > after the 127. IF you add to batman-adv you get an Error - > all 510 gretap links was succesfully build ... > # ifconfig |grep gre| wc -l > 515 > # batctl if|sort|wc -l > 127 > the error is mainly > *Error - can't write to file > '/sys/class/net/gre128/batman_adv/mesh_iface': Cannot allocate memory Hi Jens What sort of machine are you running this on? How much RAM does it have? My guess is, you are running it on a little box with not much RAM. If you tried again on your desktop with a few Giga byte of RAM, you will get a different limit. Andrew