Re: [dispatch] SIP-CLF: text versus binary
"Vijay K. Gurbani" <vkg@alcatel-lucent.com> Fri, 01 May 2009 20:25 UTC
Return-Path: <vkg@alcatel-lucent.com>
X-Original-To: dispatch@core3.amsl.com
Delivered-To: dispatch@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 23D1F3A6CD3 for <dispatch@core3.amsl.com>; Fri, 1 May 2009 13:25:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.528
X-Spam-Level:
X-Spam-Status: No, score=-2.528 tagged_above=-999 required=5 tests=[AWL=0.071, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2HhjHiVaic-F for <dispatch@core3.amsl.com>; Fri, 1 May 2009 13:25:00 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by core3.amsl.com (Postfix) with ESMTP id 229503A6C51 for <dispatch@ietf.org>; Fri, 1 May 2009 13:24:59 -0700 (PDT)
Received: from umail.lucent.com (h135-3-40-61.lucent.com [135.3.40.61]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id n41KQMEE014193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 May 2009 15:26:22 -0500 (CDT)
Received: from [135.185.236.17] (il0015vkg1.ih.lucent.com [135.185.236.17]) by umail.lucent.com (8.13.8/TPES) with ESMTP id n41KQMA3012749; Fri, 1 May 2009 15:26:22 -0500 (CDT)
Message-ID: <49FB5AEE.10109@alcatel-lucent.com>
Date: Fri, 01 May 2009 15:26:22 -0500
From: "Vijay K. Gurbani" <vkg@alcatel-lucent.com>
Organization: Bell Labs Security Technology Research Group
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Adam Roach <adam@nostrum.com>
References: <AF689C4E-9D79-4C82-87D5-7623D7A08007@standardstrack.com> <49FB13E8.2070108@nostrum.com>
In-Reply-To: <49FB13E8.2070108@nostrum.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Cc: dispatch@ietf.org
Subject: Re: [dispatch] SIP-CLF: text versus binary
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dispatch>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 May 2009 20:25:01 -0000
Adam Roach wrote: > Vijay's initial implementation was pretty much spot-on, with one > easily fixed exception. Adam: Thanks, and once again, I take the blame for not paying enough attention to the binary CLF write function (but that is the whole reason why I published the source as well -- just in case I did not account for something egregious.) > In either case, the speed of processing one versus the other stands at > 5x to 10x by any reasonable metric. To be sure, you are saying that a perl script finding a certain record in an ASCII CLF file is about 5x to 10x times slower than a C program or perl script finding the same record in a binary CLF file. If so, yes, that is so. The writes are about even, with binary writes taking up a bit less time. There are other technical discussions that I will like to continue with you on the merits and demerits of ASCII vs. binary, but will wait for a short while until we decide to see how the SIP CLF work progresses in dispatch (hopefully we can conduct those on a separate technical discussion list.) Ciao, - vijay -- Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent 1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60566 (USA) Email: vkg@{alcatel-lucent.com,bell-labs.com,acm.org} Web: http://ect.bell-labs.com/who/vkg/
- [dispatch] SIP-CLF: text versus binary Eric Burger
- Re: [dispatch] SIP-CLF: text versus binary Simon Perreault
- Re: [dispatch] SIP-CLF: text versus binary Bob Penfield
- Re: [dispatch] SIP-CLF: text versus binary Paul Kyzivat
- Re: [dispatch] SIP-CLF: text versus binary Adam Roach
- Re: [dispatch] SIP-CLF: text versus binary Tom Taylor
- Re: [dispatch] SIP-CLF: text versus binary Vijay K. Gurbani
- Re: [dispatch] SIP-CLF: text versus binary Christian Groves