Version française
Home     About     Download     Resources     Contact us    
Browse thread
Severe loss of performance due to new signal handling
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Severe loss of performance due to new signal handling
On 3/20/06, Xavier Leroy <Xavier.Leroy@inria.fr> wrote:
>
> Short explanation: atomic instructions are dog slow.


Thanks for the explanation.  I'd never have guessed that atomic instructions
could be responsible for such a deterioration of performance.

So, it's time to go back to the drawing board.  Fortunately, it
> appears that reliable polling of signals is possible without atomic
> processor instructions.  Expect a fix in 3.09.2 at the latest, and
> probably within a couple of weeks in the CVS.
>

Great!  Btw., since we are at it, you could also make us really happy by
fixing issue 3906 in the next release, too.  Now that the reason is clear
this should be very straightforward, and would save people who write certain
kinds of threaded code a lot of headaches, because this bug can cause all
sorts of weird problems in long-running applications (freezes, crashes,
execution of random code, etc.), and was extremely hard to trigger and track
down.

Best regards,
Markus

--
Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com