From owner-freebsd-performance@FreeBSD.ORG Mon Aug 3 10:17:52 2009 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9905106566C for ; Mon, 3 Aug 2009 10:17:52 +0000 (UTC) (envelope-from fabrizio.invernizzi@telecomitalia.it) Received: from GRFEDG701BA020.telecomitalia.it (grfedg701ba020.telecomitalia.it [156.54.233.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2BAC58FC16 for ; Mon, 3 Aug 2009 10:17:52 +0000 (UTC) (envelope-from fabrizio.invernizzi@telecomitalia.it) Received: from GRFHUB702BA020.griffon.local (10.188.101.112) by GRFEDG701BA020.telecomitalia.it (10.188.45.100) with Microsoft SMTP Server (TLS) id 8.1.340.0; Mon, 3 Aug 2009 12:17:51 +0200 Received: from GRFMBX702BA020.griffon.local ([10.188.101.11]) by GRFHUB702BA020.griffon.local ([10.188.101.112]) with mapi; Mon, 3 Aug 2009 12:17:50 +0200 From: Invernizzi Fabrizio To: =?iso-8859-1?Q?Istv=E1n?= Date: Mon, 3 Aug 2009 12:17:48 +0200 Thread-Topic: Test on 10GBE Intel based network card Thread-Index: AcoUIWdeWsXwwxKeTc2y0JXhwyqdEQAAhwvQ Message-ID: <36A93B31228D3B49B691AD31652BCAE9A4560DF961@GRFMBX702BA020.griffon.local> References: <36A93B31228D3B49B691AD31652BCAE9A4560DF911@GRFMBX702BA020.griffon.local> <0E567C7E-4EAA-4B89-9A8D-FD0450D32ED7@moneybookers.com> <36A93B31228D3B49B691AD31652BCAE9A4560DF947@GRFMBX702BA020.griffon.local> In-Reply-To: Accept-Language: it-IT Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: it-IT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-performance@freebsd.org" , Stefan Lambrev Subject: RE: Test on 10GBE Intel based network card X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2009 10:17:53 -0000 HI These are the sysctl vars you pointed out kern.ipc.somaxconn: 128 net.inet.tcp.recvspace: 65536 net.inet.tcp.sendspace: 32768 kern.ipc.shmmax: 33554432 kern.ipc.shmmni: 192 kern.ipc.shmseg: 128 kern.ipc.semmni: 10 net.local.stream.sendspace: 8192 net.local.stream.recvspace: 8192 net.inet.tcp.local_slowstart_flightsize: 4 net.inet.tcp.nolocaltimewait: 0 net.inet.tcp.hostcache.expire: 3600 kern.maxusers: 384 kern.ipc.nmbclusters: 65635 kern.ipc.maxsockets: 65635 kern.ipc.maxsockbuf: 262144 net.inet.tcp.tcbhashsize: 512 net.inet.tcp.hostcache.hashsize: 512 Fabrizio ________________________________________ From: Istv=E1n [mailto:leccine@gmail.com] Sent: luned=EC 3 agosto 2009 12.02 To: Invernizzi Fabrizio Cc: Stefan Lambrev; freebsd-performance@freebsd.org Subject: Re: Test on 10GBE Intel based network card what about your sysctls? I would like to see what have you done yet. Here is a previous conversation about that: http://www.mail-archive.com/fre= ebsd-performance@freebsd.org/msg02293.html Actually I am not aware of the changes in 7.2 or what could be the best val= ue set for you, worth to try to fine tune these. Regards, Istvan On Mon, Aug 3, 2009 at 10:53 AM, Invernizzi Fabrizio wrote: Hi > -----Original Message----- > From: Stefan Lambrev [mailto:stefan.lambrev@moneybookers.com] > Sent: luned=EC 3 agosto 2009 11.22 > To: Invernizzi Fabrizio > Cc: freebsd-performance@freebsd.org > Subject: Re: Test on 10GBE Intel based network card > > Hi, > > The limitation that you see is about the max number of packets that > FreeBSD can handle - it looks like your best performance is reached at > 64 byte packets? If you are meaning in term of Packet per second, you are right. These are t= he packet per second measured during tests: 64 byte: 610119 Pps 512 byte: 516917 Pps 1492 byte: 464962 Pps > Am I correct that the maximum you can reach is around 639,000 packets > per second? Yes, as you can see the maximum is 610119 Pps. Where does this limit come from? > Also you are not routing the traffic, but instead the server handles > the requests itself and eat CPU to reply? Correct. In these first tests I want to "tune" the system, so I am using th= e (let me say) worst scenario. > > _______________________________________________ > > freebsd-performance@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > > To unsubscribe, send any mail to "freebsd-performance- > unsubscribe@freebsd.org > > " > > -- > Best Wishes, > Stefan Lambrev > ICQ# 24134177 > > > > Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle per= sone indicate. La diffusione, copia o qualsiasi altra azione derivante dall= a conoscenza di queste informazioni sono rigorosamente vietate. Qualora abb= iate ricevuto questo documento per errore siete cortesemente pregati di dar= ne immediata comunicazione al mittente e di provvedere alla sua distruzione= , Grazie. This e-mail and any attachments is confidential and may contain privileged = information intended for the addressee(s) only. Dissemination, copying, pri= nting or use by anybody else is unauthorised. If you are not the intended r= ecipient, please delete this message and any attachments and advise the sen= der by return e-mail, Thanks. _______________________________________________ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.o= rg" -- the sun shines for all Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle per= sone indicate. La diffusione, copia o qualsiasi altra azione derivante dall= a conoscenza di queste informazioni sono rigorosamente vietate. Qualora abb= iate ricevuto questo documento per errore siete cortesemente pregati di dar= ne immediata comunicazione al mittente e di provvedere alla sua distruzione= , Grazie. This e-mail and any attachments is confidential and may contain privileged = information intended for the addressee(s) only. Dissemination, copying, pri= nting or use by anybody else is unauthorised. If you are not the intended r= ecipient, please delete this message and any attachments and advise the sen= der by return e-mail, Thanks.