Re: [Caml-list] gc overhead

2010-03-03 Thread David MENTRE
Hello Warren, 2010/3/3 Warren Harris warrensomeb...@gmail.com: 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

Re: [Caml-list] gc overhead

2010-03-03 Thread Goswin von Brederlow
Warren Harris warrensomeb...@gmail.com writes: I would like to determine what percentage of my application's cpu time is spent in the garbage collector (for tuning purposes, but also just to monitor the overhead). Is there any way to obtain this information short of using gprof? Additional

Re: [Caml-list] gc overhead

2010-03-02 Thread Warren Harris
On Mar 1, 2010, at 12:54 AM, Richard Jones wrote: On Sun, Feb 28, 2010 at 04:16:03PM -0800, Warren Harris wrote: I would like to determine what percentage of my application's cpu time is spent in the garbage collector (for tuning purposes, but also just to monitor the overhead). Is there

Re: [Caml-list] gc overhead

2010-03-02 Thread Peter Hawkins
Hi... On Tue, Mar 2, 2010 at 12:11 PM, Warren Harris warrensomeb...@gmail.com wrote: On Mar 1, 2010, at 12:54 AM, Richard Jones wrote: On Sun, Feb 28, 2010 at 04:16:03PM -0800, Warren Harris wrote: I would like to determine what percentage of my application's cpu time is spent in the

Re: [Caml-list] gc overhead

2010-03-02 Thread Warren Harris
On Mar 2, 2010, at 1:01 PM, Peter Hawkins wrote: I would have recommended using oprofile on linux, which I greatly prefer to GCC's built-in profiling support for profiling C programs. It has a low and tunable overhead, and because it's a sampling profiler it doesn't perturb the results

Re: [Caml-list] gc overhead

2010-03-02 Thread Peter Hawkins
Hi... On Tue, Mar 2, 2010 at 3:08 PM, Warren Harris warrensomeb...@gmail.com wrote: Peter - gprof with ocaml works quite well: http://caml.inria.fr/pub/docs/manual-ocaml/manual031.html I'm fully aware of gprof and ocaml's support of profiling. OCaml's profiling support works by adding calls

Re: [Caml-list] gc overhead

2010-03-02 Thread Warren Harris
Peter, 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. Looks

Re: [Caml-list] gc overhead

2010-03-01 Thread Richard Jones
On Sun, Feb 28, 2010 at 04:16:03PM -0800, Warren Harris wrote: I would like to determine what percentage of my application's cpu time is spent in the garbage collector (for tuning purposes, but also just to monitor the overhead). Is there any way to obtain this information short of using

[Caml-list] gc overhead

2010-02-28 Thread Warren Harris
I would like to determine what percentage of my application's cpu time is spent in the garbage collector (for tuning purposes, but also just to monitor the overhead). Is there any way to obtain this information short of using gprof? Additional information provided by Gc.stat would be