L2tp Performance
Posted: 16 Feb 2020, 14:54
I am so happy because I got rid of cisco LNS
I am using accel-ppp in my production environment and this is my machine info:
##########################
$ less /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
stepping : 2
microcode : 0x15
cpu MHz : 2399.381
cache size : 12288 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss ht syscall nx rdtscp lm con
stant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hy
pervisor lahf_lm kaiser tsc_adjust arat
######################################################
$ htop
https://pasteboard.co/IUXCppn.png
########################################################
accel-ppp# show stat
accel-ppp# show stat
uptime: 5.04:02:34
cpu: 3%
mem(rss/virt): 64876/388584 kB
core:
mempool_allocated: 18799111
mempool_available: 452023
thread_count: 4
thread_active: 1
context_count: 2097
context_sleeping: 0
context_pending: 0
md_handler_count: 4329
md_handler_pending: 0
timer_count: 6288
timer_pending: 0
sessions:
starting: 0
active: 2065
finishing: 0
l2tp:
tunnels:
starting: 0
active: 24
finishing: 0
sessions (control channels):
starting: 0
active: 2065
finishing: 0
sessions (data channels):
starting: 0
active: 2065
finishing: 0
radius(1, 192.168.2.X):
state: active
fail count: 0
request count: 0
queue length: 0
auth sent: 129970
auth lost(total/5m/1m): 4624/0/0
auth avg query time(5m/1m): 42/117 ms
acct sent: 217080
acct lost(total/5m/1m): 3835/0/0
acct avg query time(5m/1m): 2/2 ms
interim sent: 491519
interim lost(total/5m/1m): 2052/0/0
interim avg query time(5m/1m): 2/2 ms
#####################################################
thank you Dimka88
I am using accel-ppp in my production environment and this is my machine info:
##########################
$ less /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
stepping : 2
microcode : 0x15
cpu MHz : 2399.381
cache size : 12288 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss ht syscall nx rdtscp lm con
stant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hy
pervisor lahf_lm kaiser tsc_adjust arat
######################################################
$ htop
https://pasteboard.co/IUXCppn.png
########################################################
accel-ppp# show stat
accel-ppp# show stat
uptime: 5.04:02:34
cpu: 3%
mem(rss/virt): 64876/388584 kB
core:
mempool_allocated: 18799111
mempool_available: 452023
thread_count: 4
thread_active: 1
context_count: 2097
context_sleeping: 0
context_pending: 0
md_handler_count: 4329
md_handler_pending: 0
timer_count: 6288
timer_pending: 0
sessions:
starting: 0
active: 2065
finishing: 0
l2tp:
tunnels:
starting: 0
active: 24
finishing: 0
sessions (control channels):
starting: 0
active: 2065
finishing: 0
sessions (data channels):
starting: 0
active: 2065
finishing: 0
radius(1, 192.168.2.X):
state: active
fail count: 0
request count: 0
queue length: 0
auth sent: 129970
auth lost(total/5m/1m): 4624/0/0
auth avg query time(5m/1m): 42/117 ms
acct sent: 217080
acct lost(total/5m/1m): 3835/0/0
acct avg query time(5m/1m): 2/2 ms
interim sent: 491519
interim lost(total/5m/1m): 2052/0/0
interim avg query time(5m/1m): 2/2 ms
#####################################################
thank you Dimka88