Help! Performance issues..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




(all of the OS and information about the GK is at the end of the email).

Hello,

The machine is a dual xeon 2.4 ghz, with hyperthreading disabled.

I am running gnugk 2.2.2, which is gatekeeping for about 3 or 4 cisco gateways, and a couple Cisco CCMs. 99% of the time, everything is A-OK. 99% of the time, the system is not busy -- perhaps 1 to 10 calls per minute.

However, we have a application that triggers a huge amount of inbound calls, perhaps 10 to 30 per second, several times per week. It will largely fill up several ISDN-PRIs for a period of about 10 to 25 minutes.

During this time, the gatekeeper does not crash; however, it does seem to be entirely consumed handling setups and teardowns (many, many of these calls are rejected due to capacity issues on the terminated gateway).

The config file running on the GK is pretty vanilla, with the exception that there are about 1,950 RewriteE164 lines.

During this time CPU is pretty pegged at about 60% (which is across both processors). I am making the assumption that gnugk is taking a non-threaded approach and killing one CPU, and the other is doing god knows what.

So, my questions:

a) should gnugk kill/bring to it's knees a dual xeon 2.4 with 10 to 30 setups/teardowns per second?

b) Am I missing something planly obvious?

The GK normally sits around at about 0 to 3% CPU with the above 99% normal low load. However, when I sit at my desk and redial/hangup from an ip phone 2 times a second, CPU rides up to about 8%. Does this sound right? Seems that it shouldn't be _that_ busy doing this.

Any help appreciated.




--------------------------------------------
#
# gnugk.ini, made by gk-ini.pl, Mon Jun 27 21:34:22 2005
#

[Gatekeeper::Main]
Fourtytwo=42
Name=zz1.yyy
TimeToLive=300

[RasSrv::RRQFeatures]
AcceptGatewayPrefixes=1

[RasSrv::PermanentEndpoints]
10.10.10.10=dead;99999#

[RoutedMode]
GKRouted=1
H245Routed=0
RemoveH245AddressOnTunneling=0
SendReleaseCompleteOnDRQ=0

[Endpoint]
TimeToLive=900

[RasSrv::RewriteE164]
800zzz2920=10002#800zzz2920
800zzz3384=10002#800zzz3384
800zzz3404=10002#800zzz3404
800zzz0328=10002#800zzz0328
[...]

--------------------------------------------








-rw-r--r--   1 root  wheel   562982 Apr 27 06:04 gnugk-2.2.2.tar.gz
-rw-r--r--   1 root  wheel  3735815 Nov 29  2004 openh323-v1_15_2-src-tar.gz
-rw-r--r--   1 root  wheel  1900922 Nov 29  2004 pwlib-v1_8_3-src-tar.gz


LARGE_FDSET=16384

FreeBSD zzz1.yyy.voice.nac.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Mon Jun 20 11:59:25 EDT 2005 root@xxxxxxxxxxxxxx:/usr/src/sys/i386/compile/GATEKEEPER i386


Gatekeeper(GNU) Version(2.2.2) Ext(pthreads=1,radius=1,mysql=0,pgsql=0,large_fdset=16384)
	Build(Jun 26 2005, 18:04:39) Sys(FreeBSD i386 5.4-RELEASE)

GkStatus: Version(2.0) Ext()

Toolkit: Version(1.0) Ext(basic)


-- Endpoint Statistics --
Total Endpoints: 6  Terminals: 0  Gateways: 6  NATed: 0
Cached Endpoints: 0  Terminals: 0  Gateways: 0
-- Call Statistics --
Current Calls: 1 Active: 1 From Neighbor: 0 From Parent: 0
Total Calls: 22015  Successful: 11935  From Neighbor: 19  From Parent: 0
Startup: Sun, 10 Jul 2005 20:13:43 -0400   Running: 5 days 03:14:29


root@gk1:/usr/local/src# dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #0: Mon Jun 20 11:59:25 EDT 2005
    root@xxxxxxxxxxxxxx:/usr/src/sys/i386/compile/GATEKEEPER
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7

Features=0xbfebfbff<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,HTT,TM,PBE>
real memory  = 1073676288 (1023 MB)
avail memory = 1045323776 (996 MB)
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  6
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pci2: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci2
pci4: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0xd800-0xd83f mem 0xfe9e0000-0xfe9fffff irq 48 at device 1.0 on pci4
em0: Ethernet address: 00:e0:81:26:3c:55
em0:  Speed:N/A  Duplex:N/A
pci2: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci2
pci3: <ACPI PCI bus> on pcib3
twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xc800-0xc80f mem 0xfe000000-0xfe7fffff irq 24 at device 3.0 on pci3
twe0: 4 ports, Firmware FE7X 1.05.00.063, BIOS BE7X 1.08.00.048
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0xe800-0xe81f irq 16 at device 29.0 on pci0
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib4
pci1: <display, VGA> at device 2.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc8fff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to accept, logging unlimited
Interrupt storm detected on "irq9: acpi0"; throttling interrupt source
acd0: CDROM <CDU5211/YYS7> at ata1-master PIO4
twed0: <Unit 0, TwinStor, Normal> on twe0
twed0: 76318MB (156299440 sectors)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/twed0s1a
em0: Link is up 100 Mbps Full Duplex


--
Alex Rubenstein, AR97, K2AHR, alex@xxxxxxx, latency, Al Reuben
Net Access Corporation, 800-NET-ME-36, http://www.nac.net



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux