Convergence

Bringing IT to a point …

Convergence header image 2

SS7 Performance Testing

July 16th, 2008 · 4 Comments

With activity increasing on using Asterisk to interconnect to core TDM networks, Convergence is going to be performing SS7 options analysis and reporting on the performance and pros and cons of each option. Initially, we’re going to test libss7 from Digium, chan_ss7 from Sifira and Sangoma’s Signalling Media Gateway.

The questions asked are:

  1. Can a simple p4 3 ghz based asterisk box handle 4E1 of ss7 signaled calls?
  2. Can it do the same number of SIP + SS7 calls (signaling and media gateway)
  3. Whats needed for 8E1? 16E1?
  4. Whats the load increase for 10cps? 20? 30?
  5. How much CPU load is utilized in this? Interrupts? Context switches? RAM?
  6. Which of the three channel drivers handle it best? By how much?

We intend to use 2 identical hw machines. Test bed will be a Gentoo 2008.0 Linux distribution, latest stable kernel (2.6.25). Normalization / Control tests will be SIP-SIP and IAX-IAX calls between the two servers.

Next, we’ll also normalize the TDM drivers, by testing ISDN PRI. For all HW related tests, three sets will be conducted (Sangoma – Sangoma), (Sangoma – Digium) and (Digium – Digium). We intend to use the latest software and drivers available for each component, so that the tests have the longest relevance, shelf-life.

The second phase is to perform homogenous tests (SMG – SMG), (chan_ss7 – chan_ss7), (libss7 – libss7). The third phase will test SMG, chan_ss7 and libss7 in heteregenous environments.

The performance metrics we’re currently looking at are cpu utilization, ram utilization, context switches, interrupts, call setup / teardown time.

Tags: Asterisk · SS7

4 responses so far ↓

  • 1 wasim // Jul 17, 2008 at 12:12 pm

    Pawel of halo-kwadarat fame, has also done an analysis for SMG on 16E1, read his great analysis and testing methodology.

  • 2 wasim // Jul 18, 2008 at 10:30 pm

    Could only rustle up a 1.8ghz and a 2.4 ghz dell, will redo the tests later on once same spec servers are available

    Machine #1 (pippin)

    pippin src # cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 15
    model : 3
    model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
    stepping : 3
    cpu MHz : 2394.226
    cache size : 1024 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 5
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc up pebs bts sync_rdtsc pni monitor ds_cpl cid
    bogomips : 4790.87
    clflush size : 64

    pippin src # free
    total used free shared buffers cached
    Mem: 512776 228820 283956 0 22316 185692
    -/+ buffers/cache: 20812 491964
    Swap: 999896 0 999896
    pippin src # lspci
    00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
    00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
    00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
    00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
    00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC’97 Audio Controller (rev 02)
    01:07.0 Network controller: Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card
    01:08.0 Bridge: PLX Technology, Inc. Unknown device d00d (rev 01)
    01:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
    pippin src # uname -a
    Linux pippin 2.6.23-gentoo #3 SMP Fri May 16 00:10:23 PKT 2008 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
    pippin src # lsmod
    Module Size Used by
    e1000 112320 0
    pippin src # ps aux
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.1 1584 552 ? Ss 20:27 0:00 init [3]
    root 2 0.0 0.0 0 0 ? S< 20:27 0:00 [kthreadd]
    root 3 0.0 0.0 0 0 ? S< 20:27 0:00 [migration/0]
    root 4 0.0 0.0 0 0 ? S< 20:27 0:00 [ksoftirqd/0]
    root 5 0.0 0.0 0 0 ? S< 20:27 0:00 [events/0]
    root 6 0.0 0.0 0 0 ? S< 20:27 0:00 [khelper]
    root 73 0.0 0.0 0 0 ? S< 20:27 0:00 [kblockd/0]
    root 76 0.0 0.0 0 0 ? S< 20:27 0:00 [kacpid]
    root 77 0.0 0.0 0 0 ? S< 20:27 0:00 [kacpi_notify]
    root 151 0.0 0.0 0 0 ? S< 20:27 0:00 [ata/0]
    root 152 0.0 0.0 0 0 ? S< 20:27 0:00 [ata_aux]
    root 153 0.0 0.0 0 0 ? S< 20:27 0:00 [ksuspend_usbd]
    root 159 0.0 0.0 0 0 ? S< 20:27 0:00 [khubd]
    root 162 0.0 0.0 0 0 ? S< 20:27 0:00 [kseriod]
    root 192 0.0 0.0 0 0 ? S< 20:27 0:00 [kapmd]
    root 203 0.0 0.0 0 0 ? S 20:27 0:00 [pdflush]
    root 204 0.0 0.0 0 0 ? S 20:27 0:00 [pdflush]
    root 205 0.0 0.0 0 0 ? S< 20:27 0:00 [kswapd0]
    root 255 0.0 0.0 0 0 ? S< 20:27 0:00 [aio/0]
    root 266 0.0 0.0 0 0 ? S< 20:27 0:00 [cifsoplockd]
    root 267 0.0 0.0 0 0 ? S< 20:27 0:00 [cifsdnotifyd]
    root 933 0.0 0.0 0 0 ? S< 20:27 0:00 [scsi_eh_0]
    root 935 0.0 0.0 0 0 ? S< 20:27 0:00 [scsi_eh_1]
    root 982 0.0 0.0 0 0 ? S< 20:27 0:00 [kpsmoused]
    root 1024 0.0 0.0 0 0 ? S< 20:27 0:00 [rpciod/0]
    root 1026 0.0 0.0 0 0 ? S< 20:27 0:00 [kjournald]
    root 1118 0.0 0.1 1992 800 ? S< 20:27 0:00 /sbin/udevd –daemon
    root 2302 0.0 0.0 0 0 ? S< 20:31 0:00 [kjournald]
    root 2303 0.0 0.0 0 0 ? S< 20:31 0:00 [kjournald]
    root 2304 0.0 0.0 0 0 ? S< 20:31 0:00 [kjournald]
    root 2305 0.0 0.0 0 0 ? S< 20:31 0:00 [kjournald]
    root 2306 0.0 0.0 0 0 ? S< 20:31 0:00 [kjournald]
    root 2307 0.0 0.0 0 0 ? S< 20:31 0:00 [kjournald]
    root 5588 0.0 0.1 1628 624 ? Ss 20:31 0:00 /usr/sbin/syslogd -r -m 0
    root 5600 0.0 0.3 2920 1848 ? Ss 20:31 0:00 /usr/sbin/klogd -c 3 -2
    root 6217 0.0 0.1 1744 516 ? Ss 20:31 0:00 /sbin/dhcpcd -h glassy eth0
    root 7571 0.0 0.2 4084 1044 ? Ss 20:31 0:00 /usr/sbin/sshd
    101 7765 0.0 0.1 2276 800 ? Ss 20:31 0:00 /usr/bin/dbus-daemon –system
    root 8413 0.0 0.1 1584 552 tty2 Ss+ 20:31 0:00 /sbin/agetty 38400 tty2 linux
    root 8414 0.0 0.1 1584 552 tty3 Ss+ 20:31 0:00 /sbin/agetty 38400 tty3 linux
    root 8415 0.0 0.1 1584 552 tty4 Ss+ 20:31 0:00 /sbin/agetty 38400 tty4 linux
    root 8416 0.0 0.1 1584 544 tty5 Ss+ 20:31 0:00 /sbin/agetty 38400 tty5 linux
    root 8417 0.0 0.1 1584 552 tty6 Ss+ 20:31 0:00 /sbin/agetty 38400 tty6 linux
    root 8472 0.0 0.2 2456 1212 tty1 Ss 20:35 0:00 /bin/login –
    root 8473 0.0 0.3 2936 1688 tty1 S+ 20:35 0:00 -bash
    root 8501 0.0 0.4 6904 2284 ? Ss 20:37 0:00 sshd: root@pts/0
    root 8503 0.0 0.3 2936 1692 pts/0 Ss 20:37 0:00 -bash
    root 12409 0.0 0.1 2224 884 pts/0 R+ 21:17 0:00 ps aux

    Machine #2 (merry)

    merry ~ # cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 15
    model : 2
    model name : Intel(R) Pentium(R) 4 CPU 1.80GHz
    stepping : 4
    cpu MHz : 1794.854
    cache size : 512 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
    bogomips : 3591.13
    clflush size : 64

    merry ~ # free
    total used free shared buffers cached
    Mem: 513996 498432 15564 0 357568 117380
    -/+ buffers/cache: 23484 490512
    Swap: 995988 0 995988
    merry ~ # lspci
    00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
    00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
    00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
    00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 12)
    00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
    00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 12)
    00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
    00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC’97 Audio Controller (rev 12)
    01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF
    02:07.0 Network controller: Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card
    02:08.0 Network controller: Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card
    02:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
    merry ~ # uname -a
    Linux merry 2.6.22-gentoo-r8 #4 Mon May 12 20:44:58 PKT 2008 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz GenuineIntel GNU/Linux
    merry ~ # lsmod
    Module Size Used by
    3c59x 40104 0
    merry ~ # ps aux
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.1 1560 540 ? Ss 20:22 0:00 init [3]
    root 2 0.0 0.0 0 0 ? S< 20:22 0:00 [kthreadd]
    root 3 0.0 0.0 0 0 ? SN 20:22 0:00 [ksoftirqd/0]
    root 4 0.0 0.0 0 0 ? S< 20:22 0:00 [events/0]
    root 5 0.0 0.0 0 0 ? S< 20:22 0:00 [khelper]
    root 45 0.0 0.0 0 0 ? S< 20:22 0:00 [kblockd/0]
    root 46 0.0 0.0 0 0 ? S< 20:22 0:00 [ata/0]
    root 47 0.0 0.0 0 0 ? S< 20:22 0:00 [ata_aux]
    root 48 0.0 0.0 0 0 ? S< 20:22 0:00 [ksuspend_usbd]
    root 51 0.0 0.0 0 0 ? S< 20:22 0:00 [khubd]
    root 53 0.0 0.0 0 0 ? S< 20:22 0:00 [kseriod]
    root 84 0.0 0.0 0 0 ? S< 20:22 0:00 [kapmd]
    root 91 0.0 0.0 0 0 ? S 20:22 0:00 [pdflush]
    root 92 0.0 0.0 0 0 ? S 20:22 0:00 [pdflush]
    root 93 0.0 0.0 0 0 ? S< 20:22 0:00 [kswapd0]
    root 94 0.0 0.0 0 0 ? S< 20:22 0:00 [aio/0]
    root 95 0.0 0.0 0 0 ? S< 20:22 0:00 [cifsoplockd]
    root 96 0.0 0.0 0 0 ? S< 20:22 0:00 [cifsdnotifyd]
    root 757 0.0 0.0 0 0 ? S< 20:22 0:00 [kpsmoused]
    root 769 0.0 0.0 0 0 ? S< 20:22 0:00 [kjournald]
    root 863 0.0 0.1 1792 588 ? S< 20:22 0:00 /sbin/udevd –daemon
    root 3114 0.0 0.1 1600 604 ? Ss 20:25 0:00 /usr/sbin/syslogd -m 0
    root 3126 0.0 0.3 2696 1652 ? Ss 20:25 0:00 /usr/sbin/klogd -c 3 -2
    root 3915 0.0 0.2 2380 1164 tty1 Ss 20:25 0:00 /bin/login –
    root 3916 0.0 0.1 1596 616 tty2 Ss+ 20:25 0:00 /sbin/agetty 38400 tty2 linux
    root 3917 0.0 0.1 1596 616 tty3 Ss+ 20:25 0:00 /sbin/agetty 38400 tty3 linux
    root 3918 0.0 0.1 1600 620 tty4 Ss+ 20:25 0:00 /sbin/agetty 38400 tty4 linux
    root 3919 0.0 0.1 1596 616 tty5 Ss+ 20:25 0:00 /sbin/agetty 38400 tty5 linux
    root 3920 0.0 0.1 1596 616 tty6 Ss+ 20:25 0:00 /sbin/agetty 38400 tty6 linux
    root 3973 0.0 0.4 6788 2228 ? Ss 20:37 0:00 sshd: root@pts/0
    root 3975 0.0 0.3 2792 1608 pts/0 Ss 20:37 0:00 -bash
    root 5650 0.0 0.3 2792 1600 tty1 S+ 20:45 0:00 -bash
    root 6942 0.0 0.1 1712 516 ? Ss 20:46 0:00 /sbin/dhcpcd -h merry eth0
    root 10744 0.0 0.2 3964 1044 ? Ss 20:55 0:00 /usr/sbin/sshd
    root 11064 0.0 0.1 2192 884 pts/0 R+ 21:19 0:00 ps aux

  • 3 wasim // Jul 18, 2008 at 10:44 pm

    installed libpri-1.4.4, zaptel-1.4.11, wanpipe-3.2.5, libss7-trunk, asterisk-1.4.20, chan_ss7-0.9, smginstall-2008-04-09

  • 4 wasim // Jul 18, 2008 at 10:49 pm

    pippin wanpipe-3.2.5 # wanrouter hwprobe

    ——————————-
    | Wanpipe Hardware Probe Info |
    ——————————-
    1 . AFT-A104-SH : SLOT=7 : BUS=1 : IRQ=16 : CPU=A : PORT=1 : HWEC=128 : V=24
    2 . AFT-A104-SH : SLOT=7 : BUS=1 : IRQ=16 : CPU=A : PORT=2 : HWEC=128 : V=24
    3 . AFT-A104-SH : SLOT=7 : BUS=1 : IRQ=16 : CPU=A : PORT=3 : HWEC=128 : V=24
    4 . AFT-A104-SH : SLOT=7 : BUS=1 : IRQ=16 : CPU=A : PORT=4 : HWEC=128 : V=24

    Card Cnt: S508=0 S514X=0 S518=0 A101-2=0 A104=1 A300=0 A200=0 A108=0

    merry wanpipe-3.2.5 # wanrouter hwprobe

    ——————————-
    | Wanpipe Hardware Probe Info |
    ——————————-
    1 . AFT-A104-SH : SLOT=7 : BUS=2 : IRQ=16 : CPU=A : PORT=1 : HWEC=0 : V=25
    2 . AFT-A104-SH : SLOT=7 : BUS=2 : IRQ=16 : CPU=A : PORT=2 : HWEC=0 : V=25
    3 . AFT-A104-SH : SLOT=7 : BUS=2 : IRQ=16 : CPU=A : PORT=3 : HWEC=0 : V=25
    4 . AFT-A104-SH : SLOT=7 : BUS=2 : IRQ=16 : CPU=A : PORT=4 : HWEC=0 : V=25
    5 . AFT-A102-SH : SLOT=8 : BUS=2 : IRQ=17 : CPU=A : PORT=1 : HWEC=0 : V=31
    6 . AFT-A102-SH : SLOT=8 : BUS=2 : IRQ=17 : CPU=A : PORT=2 : HWEC=0 : V=31

    Card Cnt: S508=0 S514X=0 S518=0 A101-2=1 A104=1 A300=0 A200=0 A108=0

You must log in to post a comment.