From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id C7CA3BC57 for ; Wed, 3 Mar 2010 09:33:48 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjIBANetjUvRVdrakGdsb2JhbACTL4dVCBUBAQEBCQkMBxMDH7AlhQiIdwEBAwWEdgSMGg X-IronPort-AV: E=Sophos;i="4.49,573,1262559600"; d="scan'208";a="45897908" Received: from mail-bw0-f218.google.com ([209.85.218.218]) by mail3-smtp-sop.national.inria.fr with ESMTP; 03 Mar 2010 09:33:48 +0100 Received: by bwz10 with SMTP id 10so980542bwz.22 for ; Wed, 03 Mar 2010 00:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=ClK/E9zmb78lAMYE0yS8c2BZ/6vqGmcya307zRadNm4=; b=TeYKr37H0lmmSIygo2gB/ScvmCJi9BP1O0XsRqLxIVf8Dw+Ovt3LJNDTfGtiV4Su4R qmWno16nmLo3Xf1sC4JPjiKUbwnYw3Yap32tnykXeO1TuZo1xnbPnwmsSAybrL9AemBz laDOj7dahxkskSRoTAjp0ekUcxivS1ekXn0Ec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=QMx9es4+DoA13G99pqgVbGZg+b4SPGeUg4FYWdEGee5yuU11JYnppKrxmu+fdjt1CT jtlOatBMgNKbks9GMKvj4UHhcR0+I503CSdN34pHmZ6s8aSIZMDp5j30sKi2/3p4Aibn 5iUlk1io/vGPNYDvUf0xSkjQAMUHz8lMshV1I= MIME-Version: 1.0 Sender: david.mentre@gmail.com Received: by 10.204.36.70 with SMTP id s6mr895879bkd.22.1267605226248; Wed, 03 Mar 2010 00:33:46 -0800 (PST) In-Reply-To: <613DC64E-A4C6-4C45-8A07-D59C1CAD5372@gmail.com> References: <37150F07-8902-464A-9A0E-44A0C424C87B@gmail.com> <20100301085430.GA16106@annexia.org> <5043CED0-7CEC-4813-8325-76C3196E8FEE@gmail.com> <401ACAED-B7C3-4E3E-862E-045DEBC2A42B@gmail.com> <613DC64E-A4C6-4C45-8A07-D59C1CAD5372@gmail.com> From: David MENTRE Date: Wed, 3 Mar 2010 09:33:26 +0100 X-Google-Sender-Auth: bd947380e704539b Message-ID: <3d13dcfc1003030033v76ee090bt7c54b275654e47f5@mail.gmail.com> Subject: Re: [Caml-list] gc overhead To: Warren Harris Cc: Peter Hawkins , OCaml Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; ocaml:01 ocaml:01 warren:98 warren:98 monitors:98 53.:98 binaries:01 graph:01 caml-list:01 caml-list:01 functions:01 caml:02 gprof:03 gprof:03 overhead:04 Hello Warren, 2010/3/3 Warren Harris : > Thanks, this is excellent info. I've been using both gprof and shark and > understand the tradeoffs. I really was looking for a way to just provide a > simple live "gc overhead" number that we could graph along with a bunch of > other server health stats for our zenoss monitors. So simply enable gprof on OCaml binaries and look at the total fraction of time spent in OCaml GC functions! http://caml.inria.fr/pub/ml-archives/caml-list/2003/01/e8ee9d44073ff9cb7d257fef86bc8f53.en.html Best regards, david