summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf.5
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-06-05 14:24:31 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-06-05 14:27:57 +0400
commitfa315a7a7584f6f4954888c010e3cc84c2b33330 (patch)
tree778396449f9e19c52d8b83e7fabdb1c37706e16f /accel-pppd/accel-ppp.conf.5
parent6f01783f2b67cd0b82805240f2aeea9a39606d65 (diff)
downloadaccel-ppp-fa315a7a7584f6f4954888c010e3cc84c2b33330.tar.gz
accel-ppp-fa315a7a7584f6f4954888c010e3cc84c2b33330.zip
ppp: implemented unit cache
If enabled accel-pppd will not destroy interface immediately after corresponding session is terminated, instead interface will be brought down and placed to cache for later use for new sessions. It should reduce kernel interface creation/deletion rate lack and increase responsibility of daemon
Diffstat (limited to 'accel-pppd/accel-ppp.conf.5')
-rw-r--r--accel-pppd/accel-ppp.conf.54
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5
index 21e59238..046c48e5 100644
--- a/accel-pppd/accel-ppp.conf.5
+++ b/accel-pppd/accel-ppp.conf.5
@@ -177,6 +177,10 @@ Specifies maximum number of echo-requests may be sent without valid echo-reply,
.BI "lcp-echo-timeout=" sec
Specifies timeout in seconds to wait for any peer activity. If this option specified it turns on adaptive lcp echo functionality and "lcp-echo-failure" is not used.
.TP
+.BI "unit-cache=" n
+Specifies number of interfaces to keep in cache. It means that don't destory interface after corresponding session is destoyed, instead place it to cache and use it later for new sessions repeatedly.
+This should reduce kernel-level interface creation/deletion rate lack.
+.TP
.SH [dns]
.TP
.BI "dns1=" x.x.x.x