Re: network buffer problem -/- natd

2002-02-21 Thread Rogier R. Mulhuijzen
At 21:19 19-2-2002 +0100, Marcel de Vries wrote: >I use mpd to setup a PPTP (gre encapsulation) connection between interface >ep0 (public) and my Alcatel ADSL modem. >Don't ask me why but it's the concept of a BIG telecom company we all love >to hate in the Netherlands. KPN TELECOM. > >And most

Re: network buffer problem -/- natd

2002-02-19 Thread Marcel de Vries
Hi all, Unrelated but for everybody unknown with mpd: FYI: DESCRIPTION mpd is a user mode PPP daemon using the netgraph(4) networking system. By using Netgraph, mpd combines the robustness and flexibility of a user- mode PPP implementation with the speed and reliability of ker

Re: network buffer problem -/- natd

2002-02-19 Thread Luigi Rizzo
On Tue, Feb 19, 2002 at 07:24:09PM +0100, Marcel de Vries wrote: > After 4 hours of pinging and listening to a shoutcast stream natd rised to > his state of eating 34% proctime (top) > Connection timed out, did a restart of mpd and everything is running normal > agian. somewhat unrelated, but..

RE: network buffer problem -/- natd

2002-02-19 Thread Marcel de Vries
After 4 hours of pinging and listening to a shoutcast stream natd rised to his state of eating 34% proctime (top) Connection timed out, did a restart of mpd and everything is running normal agian. Bugs me. Grtz, Marcel At 15:40 19-02-2002 +, you wrote: > i too am currently looking in

RE: network buffer problem -/- natd

2002-02-19 Thread Tariq Rashid
i too am currently looking into natd - it seems to eat more cpu as the number of connections it handles goes uip - not just the throughput. - i'm not an expert but truss, strace and grof show that most of the time is spent in sendto() ... ... i find this odd becuase recvfrom seems not to

Re: network buffer problem

2002-02-19 Thread Marcel de Vries
Sirs, Thank you for the clarification about 'no buffer space available' . First of all I want to bring a new flavor of a test I did. Switched back using natd again, used ping -s 4096 www.bart.nl and off course a 128k/bits winamp stream from digitally imported ;-) to see what will happen. I wa

Re: network buffer problem

2002-02-18 Thread Luigi Rizzo
On Tue, Feb 19, 2002 at 09:00:42AM +0200, Girnet Vladimir wrote: > > > OK, I use such rulez: > ipfw pipe 10 config bw 33600bit/s queue 5K > ipfw pipe 11 config bw 64Kbit/s queue 10K > ipfw pipe 12 config bw 128Kbit/s queue 15K > > and, the rule - ipfw add 500 pipe XX ip from any to a.b.c.d/e

RE: network buffer problem

2002-02-18 Thread Girnet Vladimir
> -Original Message- > From: Luigi Rizzo [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 19, 2002 8:38 AM > To: Girnet Vladimir > Cc: '[EMAIL PROTECTED]' > Subject: Re: network buffer problem > > > On Tue, Feb 19, 2002 at 08:21:01AM +0200, Gi

Re: network buffer problem

2002-02-18 Thread Luigi Rizzo
On Tue, Feb 19, 2002 at 08:21:01AM +0200, Girnet Vladimir wrote: > > I found, that NO_MATTER what type of interface do you use on FreeBSD 4.5R. > When DUMMYNET is enabled, and use some pipe rulez, ping with packets more > than 4096 always got > ping: sendto: No buffer space available The "al

RE: network buffer problem

2002-02-18 Thread Girnet Vladimir
>On Mon, 18 Feb 2002, Randy Bush wrote: > > If you have 4.5 and enough memory one option is to use > > MAXUSERS=0 and remove and "options NMBCLUSTERS" >> >> that's how it is now. >> >> before the latest builds, it uses to be MAXUSERS=96. maybe i should >> revert that. >> >> and i have to open t

Re: network buffer problem

2002-02-18 Thread Mike Silbersack
On Mon, 18 Feb 2002, Randy Bush wrote: > > If you have 4.5 and enough memory one option is to use > > MAXUSERS=0 and remove and "options NMBCLUSTERS" > > that's how it is now. > > before the latest builds, it uses to be MAXUSERS=96. maybe i should > revert that. > > and i have to open the box s

Re: network buffer problem

2002-02-18 Thread Randy Bush
> As i suspected, you have a quite small number of mbuf clusters > in the system. I am unsure on how much memory you have and how > your box is used, but mbufs are used quite a bit in the system. 128mb heavy net use: apache/ssl servers, 100k/day email service, ... > If you have 4.5 and enough me

Re: network buffer problem

2002-02-18 Thread Luigi Rizzo
As i suspected, you have a quite small number of mbuf clusters in the system. I am unsure on how much memory you have and how your box is used, but mbufs are used quite a bit in the system. Each fxp device allocates 64 clusters in the receive queue, and can have up to 128 in the NIC transmit queu

Re: network buffer problem

2002-02-18 Thread Luigi Rizzo
Ok, I have refrained from jumping into this thread but the noise is increasing and I think some clarifications are really necessary now. First of all: at various levels in the protocol stack, when a packet cannot be forwarded to the next layer, more often than not a ENOBUFS error is returned, wh

Re: network buffer problem

2002-02-18 Thread Randy Bush
>> /kernel: fxp0: cluster allocation failed, packet dropped! >> /kernel: m_clalloc failed, consider increase NMBCLUSTERS value > can you show the output of "netstat -m" ? # netstat -m 306/2352/6016 mbufs in use (current/peak/max): 264 mbufs allocated to data

Re: network buffer problem

2002-02-18 Thread Marcel de Vries
Well it could be mpd, but my good old friend ;-) tested a view things. First he used DUMMYNET to simulate his ADSL connection in a LAN environment (100baseT) So he put in some packet loss and bandwidth limitations on his LAN and started pinging some hosts. He gets the same result of packets be

Re: network buffer problem

2002-02-18 Thread Luigi Rizzo
On Mon, Feb 18, 2002 at 04:21:14PM -0800, Randy Bush wrote: > i had a jillion of these the other day while i was out of town. > > /kernel: fxp0: cluster allocation failed, packet dropped! > /kernel: m_clalloc failed, consider increase NMBCLUSTERS value > > no net access, of course. it

Re: network buffer problem

2002-02-18 Thread Randy Bush
i had a jillion of these the other day while i was out of town. /kernel: fxp0: cluster allocation failed, packet dropped! /kernel: m_clalloc failed, consider increase NMBCLUSTERS value no net access, of course. it cleared itself up, no reboot. been running for five days since the pro

Re: network buffer problem

2002-02-18 Thread Kevin Oberman
Just for the record, this one bit me (with an xl card) last week. It had never happened with 4.4-Release on the same system (my office desktop) but happened about a week after installing 4.5-Release. netstat -m showed no problems, but I could not ping, open an ssh connection to a remote system or

Re: network buffer problem

2002-02-18 Thread Julian Elischer
On Mon, 18 Feb 2002, Mike Silbersack wrote: > be looking at. If by chance a mpd guru does not wander into this thread, > I suggest that you look through the old mailing list archives, see who > has had experience with it before, and drop them an e-mail. contact [EMAIL PROTECTED] To Unsubscr

Re: network buffer problem

2002-02-18 Thread Mike Silbersack
On Mon, 18 Feb 2002, Marcel de Vries wrote: > I really want to make a point, is it third party software ‘mpd-3.7 > Multi-link PPP daemon based on netgraph(4)’ that is causing this or is it > something in the TCP/IP stack of BSD that is changed or the driver support. > > We had these problems in

Re: network buffer problem

2002-02-18 Thread Marcel de Vries
Thanks for the quick reply. But I want to come back first about the identical system a friend of my is using only with the xl driver for his public interface. But today he told me when pinging to a host like ping -s 4096 www.bart.nl and meanwhile enjoying the sound from the digitally imported sh

Re: network buffer problem

2002-02-18 Thread M. Warner Losh
Yes. I was going to commit this fix to -stable at bsdcon, but the number of problem laptops that I wanted to look at closely didn't allow it. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: network buffer problem

2002-02-18 Thread Mike Silbersack
On Mon, 18 Feb 2002, Marcel de Vries wrote: > Hi all, > > I'm getting alot of buffer problems with my internet connection. > > I'm using a (Dutch) Mxstream ADSL for Broadband internet connection. > The ISDN Alcatel ADSL modem is loaded with firmware: Active : GSV7AA3.270 > > Setting NMBClusters

Re: network buffer problem

2002-02-18 Thread Marcel de Vries
Hi, Thanks for your reply. added sysctl, Set the default value's of 4.3 in the kernel. net.inet.tcp.sendspace=16384 net.inet.tcp.recvspace=16384 But still no buffer space messages when pinging a host. Can I try something else? also tried to lower udp.recvspace, but did not help :( But I neve