erl -hybrid segfaults
Ulf Wiger (AL/EAB)
ulf.wiger@REDACTED
Thu Oct 28 11:36:35 CEST 2004
I didn't look to closely at the output from my
program. The first column should of course account
for the message size, rather than the number of
processes (which is constant.)
Here's the patch:
20c20
< {N, Result}
---
> {Size, Result}
/Uffe
> -----Original Message-----
> From: owner-erlang-questions@REDACTED
> [mailto:owner-erlang-questions@REDACTED]On Behalf Of Ulf Wiger
> (AL/EAB)
> Sent: den 28 oktober 2004 10:54
> To: 'erlang-questions@REDACTED'
> Subject: erl -hybrid segfaults
>
>
>
> I modified my ring benchmark slightly in order to ramp up on
> message size
> rather than number of processes (scaling up on processes is
> so boring ---
> I get constant cost until my machine starts swapping.)
>
> I thought I'd see if 'erl -hybrid' could do well. It did --
> for the first two
> iterations, but then it segfaulted.
>
> I'm running this on my Solaris 8 box. Can it be reproduced on
> other environments?
> (I've enclosed my benchmark program.)
>
> Regards,
> Uffe
>
>
> wsb221> erl
> Erlang (BEAM) emulator version 5.4 [source] [hipe]
>
> Eshell V5.4 (abort with ^G)
> 1> ring3:ramp("ring3-n1000-0-10000-1.txt", 1000, 0, 10000, 1000).
> ok
> 2>
> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
> (v)ersion (k)ill (D)b-tables (d)istribution
> a
> wsb221> m ring3-n1000-0-10000-1.txt
> 1000 24.0020 2.88700
> 1000 29.6320 29.5700
> 1000 21.4460 49.2600
> 1000 21.2920 63.5010
> 1000 22.2270 83.1260
> 1000 21.9960 72.9990
> 1000 21.9450 103.925
> 1000 32.9790 125.519
> 1000 23.2280 126.375
> 1000 22.4310 113.114
> 1000 22.2540 145.607
>
> wsb221> erl -hybrid
> Erlang (BEAM) emulator version 5.4 [source] [hipe] [hybrid heap]
>
> Eshell V5.4 (abort with ^G)
> 1> ring3:ramp("ring3-n1000-0-10000-1-hybrid.txt", 1000, 0,
> 10000, 1000).
> Segmentation fault
> wsb221> cat ring3-n1000-0-10000-1-hybrid.txt
> 1000 25.8390 3.14900
> 1000 21.8420 3.02700
>
> wsb221> erl -shared
> Erlang (BEAM) emulator version 5.4 [source] [hipe] [shared heap]
>
> Eshell V5.4 (abort with ^G)
> 1> ring3:ramp("ring3-n1000-0-10000-1-shared.txt", 1000, 0,
> 10000, 1000).
> ok
> 2>
> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
> (v)ersion (k)ill (D)b-tables (d)istribution
> a
>
> wsb221> cat ring3-n1000-0-10000-1-shared.txt
> 1000 21.2830 2.23100
> 1000 21.7570 2.34600
> 1000 17.9920 2.07800
> 1000 14.1350 3.90700
> 1000 14.5560 2.09600
> 1000 15.7610 2.10500
> 1000 16.6510 2.36300
> 1000 16.6860 2.07400
> 1000 14.9720 2.10000
> 1000 17.1110 2.09700
> 1000 17.7690 2.12800
> wsb221>
>
> <<ring3.erl>>
>
More information about the erlang-questions
mailing list