Code review for new primop's CMM code.

2012-03-28 Thread Ryan Newton
Hi all, In preparation for students working on concurrent data structures GSOC(s), I wanted to make sure they could count on CAS for array elements as well as IORefs. The following patch represents my first attempt: https://github.com/rrnewton/ghc/commit/18ed460be111b47a759486677960093d71eef386

Re: [saj...@gmail.com: Google Summer of Code: a NUMA wishlist!]

2012-03-28 Thread Sajith T S
Tyson Whitehead wrote: > Appoligies if you are already familair with these items. I wasn't, until today. Thanks for all these tips! They're all going to be mightily useful. > PS: That looks like a pretty sweet box you've got going there. :) It is pretty muscular, yeah. :) -- "the lyf so

Re: [saj...@gmail.com: Google Summer of Code: a NUMA wishlist!]

2012-03-28 Thread Tyson Whitehead
On March 28, 2012 12:40:02 Sajith T S wrote: > Tyson Whitehead wrote: > > Intel is more recent to this game. I believe AMD's last non-NUMA > > machines where the Athalon XP series and Intel's the Core 2 series. > > > > An easy way to see what you've got is to see what 'numactl --hardware' > > sa

Re: [saj...@gmail.com: Google Summer of Code: a NUMA wishlist!]

2012-03-28 Thread Sajith T S
Tyson Whitehead wrote: > Intel is more recent to this game. I believe AMD's last non-NUMA machines > where the Athalon XP series and Intel's the Core 2 series. > > An easy way to see what you've got is to see what 'numactl --hardware' says. Ah, thanks. I trust this one qualifies? $ numactl

Re: [saj...@gmail.com: Google Summer of Code: a NUMA wishlist!]

2012-03-28 Thread Tyson Whitehead
On March 28, 2012 04:41:16 Simon Marlow wrote: > Sure. Do you have a NUMA machine to test on? My understanding is non-NUMA machines went away when the AMD and Intel moved away from frontside buses (FSB) and integrated the memory controllers on die. Intel is more recent to this game. I believe

Re: [saj...@gmail.com: Google Summer of Code: a NUMA wishlist!]

2012-03-28 Thread Sajith T S
Simon Marlow wrote: > Sure. Do you have a NUMA machine to test on? Yes. There's a machine at school with 32 CPUs on four NUMA nodes. -- "the lyf so short, the craft so long to lerne." -- Chaucer. ___ Glasgow-haskell-users mailing

Re: [saj...@gmail.com: Google Summer of Code: a NUMA wishlist!]

2012-03-28 Thread Simon Marlow
On 27/03/2012 01:14, Sajith T S wrote: Hi Simon, Thanks for the reply. It seems that forwarding the message here was a very good idea! Simon Marlow wrote: -- From a very recent discussion on parallel-haskell [4], we learn that RTS' NUMA support could be improved. The hypothesis is t