From owner-freebsd-net@FreeBSD.ORG Thu Feb 22 16:11:32 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CDF916A401 for ; Thu, 22 Feb 2007 16:11:32 +0000 (UTC) (envelope-from mav@alkar.net) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 8DC5C13C4A7 for ; Thu, 22 Feb 2007 16:11:31 +0000 (UTC) (envelope-from mav@alkar.net) Received: from [212.86.226.11] (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.0.11) with ESMTPA id 21089294; Thu, 22 Feb 2007 18:10:58 +0200 Message-ID: <45DDC091.3060903@alkar.net> Date: Thu, 22 Feb 2007 18:10:57 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8b) Gecko/20051108 MIME-Version: 1.0 To: Alex Povolotsky References: <1172056982.00691952.1172043601@10.7.7.3> <45DC2FC1.3030408@alkar.net> <45DC3718.7010804@webmail.sub.ru> <45DC39BC.5020707@alkar.net> <45DC44AF.30005@webmail.sub.ru> <45DC4640.8030309@alkar.net> <45DDBBB3.3020900@webmail.sub.ru> In-Reply-To: <45DDBBB3.3020900@webmail.sub.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd success stories, anyone? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 16:11:32 -0000 Alex Povolotsky wrote: > Thanks, it seems to be more or less stable; however, throughput is quite > little, lots of packets lost and "No buffer space available" on attempt > to ping VPN addresses (only VPN is affected). Have you tried to disable PPTP windowing in mpd config? ENOBUFS is the errno used by ng_pptp node's windowing code when outgoing window is full. It is not related to any system tunables. Maximum window size in current ng_pptp is 16 packets. It can be small for LFNs and can reduce speed. > I guess I should tune some kernel tunable, but what specific one? I can recomend you to set net.graph.maxdgram=524288 net.graph.recvspace=524288 to make 'ngctl list' command work, but it is not critical. -- Alexander Motin mav@alkar.net Optima Telecom