From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA18258 for caml-redistribution; Thu, 11 Mar 1999 13:35:30 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id EAA17295 for ; Thu, 11 Mar 1999 04:06:14 +0100 (MET) Received: from simon.cs.cornell.edu (SIMON.CS.CORNELL.EDU [128.84.154.10]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id EAA08943; Thu, 11 Mar 1999 04:06:11 +0100 (MET) Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15]) by simon.cs.cornell.edu (8.8.8/8.8.8/R-1.11) with ESMTP id WAA18213; Wed, 10 Mar 1999 22:06:11 -0500 (EST) Received: from CS.Cornell.EDU (nogin@GULAG.CS.CORNELL.EDU [128.84.248.53]) by cloyd.cs.cornell.edu (8.8.8/8.8.8/M-1.12) with ESMTP id WAA01024; Wed, 10 Mar 1999 22:06:09 -0500 (EST) Sender: weis Message-ID: <36E73321.D37B49F6@CS.Cornell.EDU> Date: Wed, 10 Mar 1999 22:06:09 -0500 From: Alexey Nogin Organization: Cornell University, department of Computer Science X-Mailer: Mozilla 4.08 [en] (X11; U; Linux 2.0.37 i686) MIME-Version: 1.0 To: Xavier Leroy , caml-list@inria.fr CC: Jason Hickey , Alexei Kopylov Subject: Upgrade from OCaml 2.01 to OCaml 2.02 made things _slower_! References: <19990305114112.34610@pauillac.inria.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, After I upgraded OCaml & Camlp4 from 2.01 to 2.02, our the native code of our program became much smaller (5124462 instead of 7219378), but it also became a little slower (1.5% - 3.5% for various inputs). Do you have an idea what could have caused it? Also, I was doing some performance mesurements (using P6 performance counter support patches for Linux by Erik Hendriks - http://beowulf.gsfc.nasa.gov/software/ ) when I upgraded, so I have some information (and can get more of it) on the performance counters for my program under both 2.01 and 2.02. In particular, the number of requests from the processor to the L1 data cache became 2%-3% bigger. I am using RedHat Linux 5.2 with kernel 2.2.2 on a dual-PII/400(Xeon). Alexey -------------------------------------------------------------- Home Page: http://www.cs.cornell.edu/nogin/ E-Mail: nogin@cs.cornell.edu (office), ayn2@cornell.edu (home) Office: Upson 4139, tel: 1-607-255-4934 ICQ #: 24708107 (office), 24678341 (home)