Browse thread
[Caml-list] Slow GC problem
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Shivkumar Chandrasekaran <shiv@e...> |
| Subject: | Re: [Caml-list] Slow GC problem |
Hmmm. I thought I had posted the profile and the reason why it was not useful. But apparently that email went to /dev/null. I will post it again as soon as I have a chance. The in-core and out-of-core solver are "identical" and all floating-point operations are done by BLAS/LAPACK. So I don't think ocaml compiler optimizations are an issue. --shiv-- On Friday, April 11, 2003, at 12:58 AM, Christophe Raffalli wrote: > Chris Hecker wrote: >>> What if I modified bigarray_stubs.c to use the malloc and free calls >>> of the Boehm gc (6.1-4) garbage collector? My reasoning is that >>> malloc is performing poorly due to fragmentation, and switching to a >>> gc'd version might help out. >>> Before I try this I would like some feedback from the list on the >>> soundness of this idea. >> I don't mean to be a nag, but did you profile your application yet? >> A very wise programmer once said, "Assume Nothing". >> Chris > > Always remember that if you do anything preventing the compiler to use > float optimizations, you will pay sometimes a 10 factor in speed and > there may be other reasons (may be your second algorithm is really > more efficient because you were more clever than you expected ?). > > GC problem are in fact not so common. So "Assume Nothing" because I > suspect you are wrong ... > > -- > Christophe Raffalli > Université de Savoie > Batiment Le Chablais, bureau 21 > 73376 Le Bourget-du-Lac Cedex > > tél: (33) 4 79 75 81 03 > fax: (33) 4 79 75 87 42 > mail: Christophe.Raffalli@univ-savoie.fr > www: http://www.lama.univ-savoie.fr/~RAFFALLI > --------------------------------------------- > IMPORTANT: this mail is signed using PGP/MIME > At least Enigmail/Mozilla, mutt or evolution > can check this signature > --------------------------------------------- > <mime-attachment> ------------------- 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