Re: Removing latency spikes. Garbage collector related?

2015-09-29 Thread Neil Davies
Will is your issue with the spikes i response time, rather than the mean values? If so, once you’ve reduced the amount of unnecessary mutation, you might want to take more control over when the GC is taking place. You might want to disable GC on timer (-I0) and force GC to occur at points you

Re: Removing latency spikes. Garbage collector related?

2015-09-29 Thread Neil Davies
response time. Having said that I'm not exactly sure what you mean by > "mean values". > > I will have a look into -I0. > > Yes the arrival of messages is constant. This graph shows the number > of messages that have been published to the system: > http://i.imgur.com/A

Re: Avoiding BlockedIndefinitelyOnSTM exceptions

2014-07-20 Thread Neil Davies
the reason why why BlockedIndefinitelyOnSTM is uncatchable, rather it sounded like this is what Neil Davies was suggesting to be the reason. Also, I do seem to recall something like this actually being the case; though it's unclear whether the STSTM approach would actually be able to solve

Re: Avoiding BlockedIndefinitelyOnSTM exceptions

2014-07-14 Thread Neil Davies
Gabriel Is the underlying issue one of “scope” - STM variables have global scope, would a batter approach to be to create scope of such things and then some overall recovery mechanism could handle such an exception within that scope? Neil On 14 Jul 2014, at 03:30, Gabriel Gonzalez

Re: Error building ghc on raspberry pi.

2013-01-25 Thread Neil Davies
Simon Looking at the wiki - I take it that the stage 1 compiler can now be used as native compiler on the RPi? (last line of entry)? Neil On 25 Jan 2013, at 10:46, Simon Marlow marlo...@gmail.com wrote: FYI, I created a wiki page for cross-compiling to Raspberry Pi:

Re: Error building ghc on raspberry pi.

2013-01-25 Thread Neil Davies
That's good to hear - we've got AFS and the dev-RPi's are using it… Neil On 25 Jan 2013, at 12:20, Simon Marlow marlo...@gmail.com wrote: On 25/01/13 11:23, Neil Davies wrote: Simon Looking at the wiki - I take it that the stage 1 compiler can now be used as native compiler on the RPi

Re: Error building ghc on raspberry pi.

2013-01-16 Thread Neil Davies
I looked at that route - the issue is that the emulator only has 256M of RAM (and that's not changeable) - so there are going to be build issues with the GHC tool chain - it was then that I moved to real hardware. Neil On 15 Jan 2013, at 17:01, rocon...@theorem.ca wrote: On Tue, 15 Jan 2013,

Re: Error building ghc on raspberry pi.

2013-01-16 Thread Neil Davies
wrote: In theory we could try a couple variations of builds at the same time. But at the moment, I'm running low on ideas on what to try. I just got the, extensive, raspbian patches for 7.4.1 and I'm going to browse through them when I get time (apt-get source ghc). On Tue, 15 Jan 2013, Neil

Re: Error building ghc on raspberry pi.

2013-01-15 Thread Neil Davies
Hi - would another RPi (or even 2 from tomorrow another one arriving) help? I can make them accessible (i.e. in our DMZ) - Neil On 15 Jan 2013, at 16:36, rocon...@theorem.ca wrote: On Mon, 14 Jan 2013, Thijs Alkemade wrote: Op 14 jan. 2013, om 17:30 heeft rocon...@theorem.ca het volgende

Re: Building ghc on raspberry pi.

2013-01-13 Thread Neil Davies
Understood I've got another RPi supposed to arrive this week - would more computation power help anyone out there? Neil On 13 Jan 2013, at 15:59, rocon...@theorem.ca wrote: On Sun, 13 Jan 2013, Neil Davies wrote: Sounds like we're close - I must admit I've slightly lost track

Re: Error building ghc on raspberry pi.

2013-01-12 Thread Neil Davies
Hi I've found myself wanting to get GHC 7.4.2 (need TemplateHaskell for something) working on the rapberry pi - can you (or anyone out there) share where you are at? My starting point is the raspian image of 2012-12-18-wheezy-raspian that has GHC 7.4.1 on it... Neil On 11 Jan 2013, at

Re: Error building ghc on raspberry pi.

2013-01-12 Thread Neil Davies
in the final stage with errors like: /usr/bin/ld: error: libraries/ghc-prim/dist-install/build/cbits/debug.o uses VFP register arguments, libraries/ghc-prim/dist-install/build/HSghc-prim-0.3.0.0.o does not I'm rebuilding with Karel's latest suggestion now. On Sat, 12 Jan 2013, Neil

Use -V0 causes space to leak?

2011-09-15 Thread Neil Davies
Hi I have some long running (multi-gigabit, multi-cpu hour) programs and as part of trying to speed up I thought I would set the -V0 flag - when I did this there was a slow space leak that caused it to blow the heap. Anyone out there have an explanation? Is there some garbage collection

Problems with Network.Socket.getAddrInfo under MacOS 10.5, GHC 6.10.2?

2009-05-04 Thread Neil Davies
Hi, It does not appear that you can access the 'addrFlags' returned by getAddrInfo, you get the exception: *** Exception: unpackBits: unhandled bits set: 8 Is this just a MacOS issue? Should I raise a ticket for it? Cheers Neil GHCi, version 6.10.2: http://www.haskell.org/ghc/ :? for help

Re: Problems with Network.Socket.getAddrInfo under MacOS 10.5, GHC 6.10.2?

2009-05-04 Thread Neil Davies
Johan Ticket (#8) raised - cheers. Neil 2009/5/4 Johan Tibell johan.tib...@gmail.com On Mon, May 4, 2009 at 8:20 PM, Bryan O'Sullivan b...@serpentine.com wrote: On Mon, May 4, 2009 at 8:35 AM, Neil Davies semanticphilosop...@googlemail.com wrote: It does not appear that you can access