[vectorIntrinsics+compress] RFR: 8274975: Add micro benchmark: ALIBABA selective store use case

Jatin Bhateja jbhateja at openjdk.java.net
Sat Oct 9 23:59:22 UTC 2021


On Fri, 8 Oct 2021 12:22:33 GMT, Joshua Zhu <jzhu at openjdk.org> wrote:

> I separate my implementation of "compress" API into several patches for easy review.
> This micro benchmark is extracted from the real use case inside in-memory databases: selectiveStore.
> Test scenario: UseAVX=3; thread number = 8; conflict data percentage: 20% (that means 20% of mask bits are true)

test/micro/org/openjdk/bench/jdk/incubator/vector/bigdata/SelectiveStore.java line 109:

> 107:       IntVector bv = IntVector.fromArray(INT_128_SPECIES, tld.input2, i);
> 108:       IntVector cv = IntVector.fromArray(INT_128_SPECIES, tld.index, i);
> 109:       VectorMask<Integer> mask = av.compare(VectorOperators.NE, bv);

Can we mover vector compare out of benchmarking loop to reduce the noise.

-------------

PR: https://git.openjdk.java.net/panama-vector/pull/149


More information about the panama-dev mailing list