From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA32382; Sun, 4 Aug 2002 20:07:16 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA32458 for ; Sun, 4 Aug 2002 20:07:15 +0200 (MET DST) Received: from beaune.inria.fr (beaune.inria.fr [128.93.8.3]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g74I6v526764 for ; Sun, 4 Aug 2002 20:06:59 +0200 (MET DST) Received: by beaune.inria.fr (8.8.8/1.1.22.3/14Sep99-0328PM) id UAA0000020032; Sun, 4 Aug 2002 20:06:06 +0200 (MET DST) Date: Sun, 4 Aug 2002 20:06:06 +0200 (MET DST) From: Damien Doligez Message-Id: <200208041806.UAA0000020032@beaune.inria.fr> To: avv@quasar.ipa.nw.ru, caml-list@inria.fr Subject: Re: [Caml-list] ocaml-3.05: a performance experience Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >From: "Alexander V. Voinov" >Compiled with ocaml-3.04 it took 1h40m+-5m of 'user' process time and >occupied about 340M in RAM. With 3.05 it took 2h40m+-5m and occupied >250M. >Is this the consequence of the new GC strategy? Actually I'd tolerate >large footprint for the sake of more speed. Not really. When debugging the problem of the compactor that would not trigger, I stumbled on a bug in the way the GC determines its speed (relative to the program). In 3.04, when you ask for an overhead of 42% (the default), the actual overhead is closer to 80%. In 3.05 I fixed the formulas, but I didn't change the default 42%, which results in a smaller memory footprint, but slower programs. Of course, you can even try 100% or more. Depending on the program, you might gain a lot of time before you hit the point of diminishing returns. If you want to recover the previous behaviour, you should set something like OCAMLRUNPARAM=o=80. In 3.06, it will be the default. Sorry for the inconvenience, -- Damien ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners