dbgroup-nagoya-u / pmwcas-benchmark

A benchmark pogram for PMwCAS implementations.
Apache License 2.0
0 stars 0 forks source link

queue_benchを連続で動かすとセグフォ #8

Closed manabinohibi closed 7 months ago

manabinohibi commented 1 year ago

56スレッドでpmwcasとmicrosoft/pmwcasを連続で動かそうとするとセグフォが発生する. 他のスレッド数は未検証.少なくとも1スレッドでは発生しない.

nishimura@giants:~/workspace/pmwcas-benchmark$ numactl -N 0 ./build/Release/queue_bench --pmwcas --microsoft-pmwcas --num-thread 56 /pmem_tmp/nishimura/
*** START pmwcas: queue ***
...Prepare workers for benchmarking.
...Run workers.
...Interrupting workers.
...Finish running.
Throughput [Ops/s]: 492964
*** FINISH ***

Allocate: TXN Allocation Error, mem cannot be a DRAM address: 0x560bce7dcfd8
Segmentation fault (core dumped)

microsoft/pmwcasはプールを複数回開くとバグるので,そこが怪しい. なお,個別に動かせば問題なく計測できる.

manabinohibi commented 1 year ago

これが出力されてるっぽい.