Re: Regarding Netmap internal memory allocation.

2015-01-05 Thread Carlos Ferreira
etmap. On 30 December 2014 at 18:55, Carlos Ferreira wrote: > Well... due to budget constraints I'm using USB 100Mb ports :) > This is for experimental purposes only for now. > > Btw, can netmap work with wireless interfaces? I believe you once answered > this question, but I

Re: Regarding Netmap internal memory allocation.

2014-12-30 Thread Carlos Ferreira
wrote: > On Tue, Dec 30, 2014 at 6:38 PM, Carlos Ferreira > wrote: > > Ok, I'm having some trouble in tuning the amount of memory for netmap. > > > > I have been following the man page from FreeBSD in other to understand > the > > values at /sys/modules/netm

Re: Regarding Netmap internal memory allocation.

2014-12-30 Thread Carlos Ferreira
educe by lowering NM_BRIDGS). > The saving is probably not worth the effort. > > cheers > luigi > > On Tue, Dec 30, 2014 at 5:08 PM, Carlos Ferreira > wrote: > > By the way, another question. > > Is there a way to not compile the code regarding the VALE switch? I'm

Re: Regarding Netmap internal memory allocation.

2014-12-30 Thread Carlos Ferreira
By the way, another question. Is there a way to not compile the code regarding the VALE switch? I'm only interested in using netmap with Tap Devices and NICs, so I was hoping to save some memory. On 30 December 2014 at 15:47, Carlos Ferreira wrote: > You mean netmap_mem2.c ? It was the

Re: Regarding Netmap internal memory allocation.

2014-12-30 Thread Carlos Ferreira
You mean netmap_mem2.c ? It was there where I found the NETMAP_BUF_MAX_NUM define. On 30 December 2014 at 15:43, Carlos Ferreira wrote: > Ok thanks. I was hoping not having to recompile the module, but it's ok. > Thank you for the info! > > > On 30 December 2014 at 15:38

Re: Regarding Netmap internal memory allocation.

2014-12-30 Thread Carlos Ferreira
t; cheers > luigi > > > On Tue, Dec 30, 2014 at 4:12 PM, Carlos Ferreira > wrote: > > Update: > > > > I noticed that the netmap module was still crashing, after changing the > > OpenWRT VM ram to 256MB. I now raised to 1GB and it no longer crashed. > The &g

Re: Regarding Netmap internal memory allocation.

2014-12-30 Thread Carlos Ferreira
Update: I noticed that the netmap module was still crashing, after changing the OpenWRT VM ram to 256MB. I now raised to 1GB and it no longer crashed. The netmap module is now consuming about 350MB of Ram, which for my objectives is just too much... On 30 December 2014 at 14:06, Carlos Ferreira

Regarding Netmap internal memory allocation.

2014-12-30 Thread Carlos Ferreira
To Luigi and to whom may be able to help Hello all. Is it possible to reduce the size of the memory buffer allocated by the netmap module? I'm asking this because I was implementing some testing code, using NICs and a Tap device in an OpenWRT VM with 64MB of RAM. Because of the small RAM amount,

Re: tutorial on Netmap in Mountain View - Aug.28

2014-08-18 Thread Carlos Ferreira
Hi Luigi. Do you have presentations or tutorial code from that tutorial, that you can share here? On 4 August 2014 10:55, Luigi Rizzo wrote: > In case someone (especially those in the bay area) is interested: > I will give a half day tutorial on netmap at Hot Interconnects, > in Mountain View o

Re: fastforward/routing: a 3 million packet-per-second system?

2014-07-24 Thread Carlos Ferreira
n Tue, Jul 22, 2014 at 12:23 PM, Carlos Ferreira > wrote: > >> I think the results presented at the paper are regarding one port sending >> or receiving at 14.88Mpps. Using several ports at the same time will >> surely >> give much lower results. But then again, if on

Re: fastforward/routing: a 3 million packet-per-second system?

2014-07-22 Thread Carlos Ferreira
I think the results presented at the paper are regarding one port sending or receiving at 14.88Mpps. Using several ports at the same time will surely give much lower results. But then again, if one wants 8, 16, 24 or even more ports at 10Gb/s, then it should look for FPGA implementations. On 22 J

Re: netmap

2014-07-12 Thread Carlos Ferreira
d the real_num_rx_queues field depends now on CONFIG_SYSFS field. On 12 July 2014 15:36, Carlos Ferreira wrote: > Ok it seems that Symmetric MultiProcessing is broken for the IXP4xx arch > when compiling the OpenWRT linux kernel. Since netmap requires SMP to be > active. Netmap uses the real

Re: netmap

2014-07-12 Thread Carlos Ferreira
just posted at the OpenWRT development mailing list, requesting info and also, contacted Ryan Erbstoesser at Gateworks to also request info. On 12 July 2014 11:52, Carlos Ferreira wrote: > Ok,I solved that problem that I was having but now I have another one. For > what I was able to determin

Re: netmap

2014-07-12 Thread Carlos Ferreira
ting if this is really the problem and if it is, if it is possible to overcome. I will try to keep regular updates on this situation. Carlos On 11 July 2014 22:54, Carlos Ferreira wrote: > OK, ignore what I said in the last e-mail. My Makefile is nor working > properly and I'm trying

Re: netmap

2014-07-11 Thread Carlos Ferreira
OK, ignore what I said in the last e-mail. My Makefile is nor working properly and I'm trying to figure out why. OpenWRT documentation for module Makefiles creation is scarce and confuse... On 11 July 2014 18:27, Carlos Ferreira wrote: > I'm building for OpenWRT (trunk) for the

Re: netmap

2014-07-11 Thread Carlos Ferreira
I'm building for OpenWRT (trunk) for the IXP4xx target. Attached goes the output for the compile attempt. Maybe I'm missing something very basic... On 11 July 2014 17:13, Luigi Rizzo wrote: > > > > On Fri, Jul 11, 2014 at 6:07 PM, Carlos Ferreira > wrote: > >&g

Re: netmap

2014-07-11 Thread Carlos Ferreira
Luigi one question. Does netmap requires a processor with 64 bits? I'm having some trouble in compiling netmap, using the same Makefile I used previously, but for an Intel IXP435 CPU (Gateworks Cambria). On 28 June 2014 14:07, Carlos Ferreira wrote: > Hello to all. > Unfortunately,

Re: Please help

2014-07-02 Thread Carlos Ferreira
Sanuri, in order to achieve your goal, you should look for service distribution over several systems (computers), basically a Cloud architecture. Depending on the language that your system is implemented, you should look for the appropriate framework. My regards, Carlos On 2 July 2014 10:08, Lui

Re: netmap

2014-06-28 Thread Carlos Ferreira
iating an RXSYNC and whenever in user space I find >> that there is nothing on the ring (probably half way down the ring size), I >> do an RXSYNC to get more packets thus saving system calls. >> >> But on tx side, I have noticed that unless I do a TXSYNC, the packet does >>

Re: MTU not regrowing?

2014-06-24 Thread Carlos Ferreira
don't forget the header of the ping. the -s flag specifies the amount of data that the ping carries. By specifying a size of 500, you are creating a ping packet larger than the MTU. On 24 June 2014 19:43, Andrea Venturoli wrote: > Hello. > > Today I experienced something weird (at least for me)

Re: netmap

2014-06-17 Thread Carlos Ferreira
Great! :) I will give you the results as soon as I can get them :) On 17 June 2014 12:55, Luigi Rizzo wrote: > On Mon, Jun 16, 2014 at 5:30 PM, Carlos Ferreira > wrote: > >> Ok, thanks for the enlightenment regarding the loss of performance. >> >> One question

Re: netmap

2014-06-17 Thread Carlos Ferreira
Just a remainder, so that the question doesn't get lost in time. On 16 June 2014 16:30, Carlos Ferreira wrote: > Ok, thanks for the enlightenment regarding the loss of performance. > > One question, just to be sure. Does the kernel module contains the VALA > switch code

Re: netmap

2014-06-16 Thread Carlos Ferreira
, thank you for the support. On 14 June 2014 11:15, Luigi Rizzo wrote: > On Fri, Jun 13, 2014 at 10:55:54AM +0100, Carlos Ferreira wrote: > > Hello Luigi (and to all) > > > > I was able to successfully compile the netmap module for OpenWRT but > > without drivers. Accordin

Re: netmap

2014-06-13 Thread Carlos Ferreira
egradation should be expected. I would like to run some tests to see if everything is ok and if the port was successful. Thank you for the help! On 12 June 2014 11:48, Carlos Ferreira wrote: > First of all, thank you for the quick answer! > > I will try it myself to compile jus

Re: netmap

2014-06-12 Thread Carlos Ferreira
First of all, thank you for the quick answer! I will try it myself to compile just the netmap module without the drivers and report the results back to you. Once again, thank you! On 12 June 2014 11:41, Luigi Rizzo wrote: > > > > On Thu, Jun 12, 2014 at 12:35 PM, Carlos Ferre

netmap

2014-06-12 Thread Carlos Ferreira
Hello! First of all, to Luigi and the dev team, great piece of work that netmap is! This is a piece of software that I was looking for quite some time. Your team effort is appreciated! Now the question. I know that this is a FreeBSD mailing list but I was wondering, since you have a PKGBUILD file