From owner-freebsd-net@FreeBSD.ORG Thu Oct 14 06:03:16 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79655106566B for ; Thu, 14 Oct 2010 06:03:16 +0000 (UTC) (envelope-from gigabyte.tmn@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 063558FC14 for ; Thu, 14 Oct 2010 06:03:15 +0000 (UTC) Received: by ewy21 with SMTP id 21so1512719ewy.13 for ; Wed, 13 Oct 2010 23:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:reply-to:x-priority :message-id:to:cc:subject:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=LEJzQYnf09zbzYxI5lm6VCImR2N900bF9zcTCLD6qus=; b=Ne7yzrwAlQrRzos2zz+xhokqaV8V3DHfLPqLQPQdBTvOo+/6nqZlt0fcxyyWQz9mx/ g5U8GR0QCnfAZs8k9+ujLqpq7CgOwLSsFjGq0F5pA1OBWDjOfEdnJroonXq4fCGSTg9M rimqK9OugUwTFdoguKpbkU6kGXG9lvHto+dI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:reply-to:x-priority:message-id:to:cc:subject:in-reply-to :references:mime-version:content-type:content-transfer-encoding; b=Fjo6EVVCWKKLbonWkRBCjIEao/uOz83ZmXHyeI3spKxSaq8aH3+7q1AyLo1MOZrdzc QKQudRokkXo3E/q52L9vwltQRswrHwezBKroZqJewrZYd86G8SteDOjMbejD7BKaBi55 BDlRbY7T+OYxhfb0IB4iT5aKQDYxyFgyu3tIg= Received: by 10.213.28.196 with SMTP id n4mr1340924ebc.48.1287036194970; Wed, 13 Oct 2010 23:03:14 -0700 (PDT) Received: from 76.dynamic-n195.in72.ru ([91.211.195.76]) by mx.google.com with ESMTPS id p53sm8836460eeh.7.2010.10.13.23.03.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Oct 2010 23:03:14 -0700 (PDT) Date: Thu, 14 Oct 2010 12:03:00 +0600 From: =?windows-1251?B?xOzo8vDo6SDH4Ozz8ODl4iAoRG1pdHJpeSBaYW11cmFldik=?= X-Priority: 3 (Normal) Message-ID: <1861551856.20101014120300@gmail.com> To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= In-Reply-To: <8710276544.20101014084846@yandex.ru> References: <8710276544.20101014084846@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: help tune X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?xOzo8vDo6SDH4Ozz8ODl4iAoRG1pdHJpeSBaYW11cmFldik=?= List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 06:03:16 -0000 > Help me pls, to tune those drops. Clear _ALL_ tuning, use kernel-config-option maxusers 512 NOTE: kern.maxusers in /boot/loader.conf may not been used on some releases, but in newer releases must to be. > I do this tuning: > /etc/sysctl.conf > hw.pci.enable_msix=3D1 > hw.pci.enable_msi=3D1 > kern.ipc.nmbclusters=3D262144 > kern.ipc.shmall=3D65536 > kern.ipc.shmmax=3D268435456 > kern.ipc.somaxconn=3D4096 > kern.ipc.semmap=3D512 > kern.maxfiles=3D204800 > kern.maxfilesperproc=3D200000 > kern.ipc.maxsockets=3D262144 > kern.coredump=3D1 > net.graph.maxdgram=3D128000 > net.graph.recvspace=3D128000 > ddb.panic=3D5 > /boot/loader.conf > kern.ipc.nmbclusters=3D262144 > kern.ipc.maxsockets=3D262144 > net.graph.maxalloc=3D2048 > kern.maxusers=3D1024 > kern.ipc.maxpipekva=3D268435456 > kern.maxfiles=3D204800 > net.graph.maxdata=3D2048 > kern.maxfilesperproc=3D200000 > kern.ipc.maxsockbuf=3D524288