Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2007 18:10:57 +0200
From:      Alexander Motin <mav@alkar.net>
To:        Alex Povolotsky <tarkhil@webmail.sub.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: mpd success stories, anyone?
Message-ID:  <45DDC091.3060903@alkar.net>
In-Reply-To: <45DDBBB3.3020900@webmail.sub.ru>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45DDC091.3060903>