[Asterisk-bsd] MeetMe drift
Corey Smith
corsmith at gmail.com
Sun Jul 29 00:20:12 CDT 2007
> On Fri, 27 Jul 2007 17:10:07 -0700, David G Lawrence wrote:
> Attached is a slightly improved version of my ztdummy.c that should
> work if system HZ is larger than 1000.
I appreciate your help with this problem. FWIW here are some zttest
results with and without your patch:
NTP is enabled on this host. System not busy:
last pid: 35192; load averages: 0.00, 0.00, 0.00 up
1+01:24:15 01:18:12
36 processes: 2 running, 34 sleeping
CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Mem: 18M Active, 217M Inact, 118M Wired, 32K Cache, 111M Buf, 643M Free
Swap: 2022M Total, 2022M Free
# uname -a
FreeBSD zttest 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Wed May 2
15:19:20 EDT 2007 root at zttest:/usr/src/sys/i386/compile/CUSTOM
i386
# diff GENERIC CUSTOM
2c2
< # GENERIC -- Generic kernel configuration file for FreeBSD/i386
---
> # CUSTOM -- Generic kernel configuration file for FreeBSD/i386
19c19
< # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09
18:41:36 simon Exp $
---
> # $FreeBSD: src/sys/i386/conf/CUSTOM,v 1.429.2.13 2006/10/09 18:41:36 simon Exp $
22,23d21
< cpu I486_CPU
< cpu I586_CPU
25c23
< ident GENERIC
---
> ident CUSTOM
28,30c26
< #hints "GENERIC.hints" # Default places to
look for devices.
<
< makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
---
> #hints "CUSTOM.hints" # Default places to look for devices.
61a58
> device carp
# pkg_info | egrep '^(asterisk|zaptel)'
asterisk-1.4.9 An Open Source PBX and telephony toolkit
zaptel-1.4.6_2 A FreeBSD Driver for FXO, FXS, BRI and PRI Telephony Cards
Normal zaptel:
# ( zttest > zttest.txt & ); sleep 300; killall -INT zttest; tail -2 zttest.txt
--- Results after 292 passes ---
Best: 100.000000 -- Worst: 98.449707 -- Average: 99.935727
With your ztdummy.c:
# ( zttest > zttest.txt & ); sleep 300; killall -INT zttest; tail -2 zttest.txt
--- Results after 292 passes ---
Best: 99.694824 -- Worst: 99.328613 -- Average: 99.529350
Digium says zttest should report > 99.98 for there not to be timing issues.
-Corey Smith
More information about the Asterisk-BSD
mailing list