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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to