Hi Pavel

  Interesting, Thanks for sharing those numbers.
  I assume you weren't using AUTOFLUSH_BACKGROUND for the first versions you tested (don't think it was available then iirc).
  Could you try without in the last version and see how the numbers compare?
  We'd be happy to help track down the reason for this perf regression.


On Mon, Apr 24, 2017 at 4:58 AM, Pavel Martynov <mr.xkurt@gmail.com> wrote:
Hi, I ran into the fact that I can not achieve high insertion speed and I start to experiment with https://github.com/cloudera/kudu-examples/tree/master/java/insert-loadgen.
My slightly modified code (recreation of table on startup + duration measuring): https://gist.github.com/xkrt/9405a2eeb98a56288b7c5a7d817097b4.
On every run I change kudu-client version, results:

kudu-client-ver  perf
0.10             Duration: 626 ms, 79872/sec
1.0.0            Duration: 622 ms, 80385 inserts/sec
1.0.1            Duration: 630 ms, 79365 inserts/sec
1.1.0            Duration: 11703 ms, 4272 inserts/sec
1.3.1            Duration: 12317 ms, 4059 inserts/sec

As can you see there was a great degradation between 1.0.1 and 1.1.0 (about a ~20 times!).
What could be a problem, how can I fix it? (actually I interested in kudu-spark, so probably using of kudu-client 1.0.1 is not right solution?).

My test cluster: 3 hosts with master and tserver on each (3 masters and 3 tservers overall).
No extra settings, flags used:

with best regards, Pavel Martynov