Re: [rohc] COPY-LITERAL and COPY-OFFSET torture test

Cristian CONSTANTIN <constantin@fokus.fraunhofer.de> Wed, 06 July 2005 20:25 UTC

Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA23192 for <rohc-archive@ietf.org>; Wed, 6 Jul 2005 16:25:26 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1DqGtZ-0002V5-Aj for rohc-archive@ietf.org; Wed, 06 Jul 2005 16:53:25 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DqGSA-0007Ak-Tc; Wed, 06 Jul 2005 16:25:06 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DqGS9-0007AZ-NL for rohc@megatron.ietf.org; Wed, 06 Jul 2005 16:25:05 -0400
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA23133 for <rohc@ietf.org>; Wed, 6 Jul 2005 16:25:03 -0400 (EDT)
Received: from mailhub.fokus.fraunhofer.de ([193.174.154.14]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1DqGtB-0002BF-MK for rohc@ietf.org; Wed, 06 Jul 2005 16:53:03 -0400
Received: from tipau.fokus.fraunhofer.de (tipau [10.147.65.84]) by mailhub.fokus.fraunhofer.de (8.11.6p2/8.11.6) with ESMTP id j66KP1x05402; Wed, 6 Jul 2005 22:25:01 +0200 (MEST)
Received: from tipau.fokus.fraunhofer.de (localhost [127.0.0.1]) by tipau.fokus.fraunhofer.de (8.12.7/8.8.8) with ESMTP id j66KOusF024976; Wed, 6 Jul 2005 22:24:56 +0200
Received: (from cco@localhost) by tipau.fokus.fraunhofer.de (8.12.7/8.12.1/Debian -1) id j66KOuCx024975; Wed, 6 Jul 2005 22:24:56 +0200
From: Cristian CONSTANTIN <constantin@fokus.fraunhofer.de>
Date: Wed, 06 Jul 2005 22:24:56 +0200
To: "Surtees, Abigail" <abigail.surtees@roke.co.uk>
Subject: Re: [rohc] COPY-LITERAL and COPY-OFFSET torture test
Message-ID: <20050706202456.GA24870@terix.fokus.gmd.de>
References: <3F2E01E1D7B04F4EBEC92D3FA324D8803D6136@rsys004a> <20050706171147.GF24463@terix.fokus.gmd.de>
Mime-Version: 1.0
In-Reply-To: <20050706171147.GF24463@terix.fokus.gmd.de>
User-Agent: Mutt/1.5.5.1+cvs20040105i
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 057ebe9b96adec30a7efb2aeda4c26a4
Cc: rohc@ietf.org
X-BeenThere: rohc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Robust Header Compression <rohc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:rohc@ietf.org>
List-Help: <mailto:rohc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0350303410=="
Sender: rohc-bounces@ietf.org
Errors-To: rohc-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 6ffdee8af20de249c24731d8414917d3

On Wed, Jul 06, 2005 at 07:11:47PM +0200, Cristian CONSTANTIN wrote:
> On Tue, Jul 05, 2005 at 03:45:34PM +0100, Surtees, Abigail wrote:
> > Hi Cristian,
> > 
> > You are quite right.  The offset value of 1 is not used and this test does require a large amount of memory.  There isn't really anyway for the interpreter to guess the amount of memory needed.  If a large amount of memory is needed then it should be written in the draft as part of the test.
> > 
> > However, I think this test could be done without needing an extra large amount of memory.  I've uploaded an updated version of the draft with a new test at <http://sigcomp.srmr.co.uk/~ahs/draft-ietf-rohc-sigcomp-torture-tests-01.txt> (see my previous email).  I'd appreciate any comments, particularly on the COPY and COPY-LITERAL and COPY-OFFSET tests.
> 
> cristian: hi! I have run the COPY and COPY-LITERAL and COPY-OFFSET tests;
> got the same output as you did. no memory problems this time.
> 
> I find the comments really helpful.

cristian: I mean the comments inside the udvm code examples.
> 
> bye now!
> cristian
> > 
> > Best regards,
> > 
> > Abbie
> > 
> > Cristian wrote:
> > 
> > hi!
> > 
> > about test "2.7  COPY-LITERAL and COPY-OFFSET" in the draft "SigComp
> > Torture Tests".
> > in different memory configurations I get different results.
> > when interpreting the sigcomp payload spec'ed in the annex 
> > "A.1.7  COPY-LITERAL and COPY-OFFSET" of the same draft, the
> > instruction:
> > 
> > LOAD ($offset, 1)
> > 
> > unless the udvm memory is over 0x4042 bytes, causes a memory fault, 
> > trying to access memory outside the total memory available for the udvm.
> > am I wrong or is it suppossed to be so?
> > was the "$" intended (i.e writing through indirection)? the next
> > instruction:
> > 
> > COPY-OFFSET ($offset, 5, $destination)
> > 
> > does not seem to make use of what the previous LOAD has written.
> > that of course if my udvm has behaved itself up to the 
> > LOAD ($offset, 1).
> > using:
> > 
> > LOAD (offset, 1)
> > 
> > doesn't lead to this kind of problem; the output would be differrent,
> > though.
> > and since I'm at it: how can the interpreter "guess" the minimum udvm
> > memory size needed to run such a bytecode?
> > 
> > bye now!
> > cristian
> 
> -- 
>  _          | There are many people who use UNIX or Linux  
> (_'_        | who IMHO do not understand UNIX.
>   (_'rist   |              --David Korn  
> GPG public key at wwwkeys.de.pgp.net



> _______________________________________________
> Rohc mailing list
> Rohc@ietf.org
> https://www1.ietf.org/mailman/listinfo/rohc


-- 
 _          | There are many people who use UNIX or Linux  
(_'_        | who IMHO do not understand UNIX.
  (_'rist   |              --David Korn  
GPG public key at wwwkeys.de.pgp.net
_______________________________________________
Rohc mailing list
Rohc@ietf.org
https://www1.ietf.org/mailman/listinfo/rohc