Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jul 2011 19:30:32 +0700
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Adrian Minta <gygy@stsnet.ro>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD 8.2 and MPD5 stability issues - update
Message-ID:  <4E11B268.5090406@rdtc.ru>
In-Reply-To: <4E117A3B.4070400@stsnet.ro>
References:  <f9d8cfb9ee20ba5ab730820fc5c45962.squirrel@mail.stsnet.ro>	<4E10C8F3.2050006@rdtc.ru> <4E10C97C.2030200@rdtc.ru> <4E117A3B.4070400@stsnet.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
04.07.2011 15:30, Adrian Minta пишет:

> if I undestand corectly, in order to increase the connection rate I need 
> to replace 60 with 600 and 10 with 100 like this:
> 
>    #define SETOVERLOAD(q)        do {                                    \
>                                      int t = (q);                        \
>                                      if (t > 600) {                      \
>                                          gOverload = 100;                \
>                                      } else if (t > 100) {               \
>                                          gOverload = (t - 100) * 2;      \
>                                      } else {                            \
>                                          gOverload = 0;                  \
>                                      }                                   \
>                                  } while (0)
> 
>   Is this enough, or I need to modify something else ?

It seems, enough. But, are you sure your L2TP client will wait
for overloaded daemon to complete connection? The change will proportionally increase
responsiveness of mpd - it has not enough CPU horsepower to process requests timely.

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E11B268.5090406>