Skip to content

Failed to test with YCSB #7

@jiaweixiao

Description

@jiaweixiao

Hi,

I tried to test QuickCached with YCSB but failed.

Testbed

OS: Ubuntu 18.04
JDK: 8 or 11
YCSB: 0.17.0 RC1 (https://github.com/brianfrankcooper/YCSB/tree/0.17.0-RC1)
QuickCached: the master branch
Memcached: 1.4.24 (https://memcached.org/downloads)

Commands

  1. Start QuickCached (in QuickCached directory)
    java -server -Dappname=QC1 -Xms16g -Xmx16g -jar dist/QuickCached-Server.jar -l 127.0.0.1 -p 11211
  2. Load workload (in YCSB directory)
    ./bin/ycsb load memcached -P workloads/workloada -p memcached.hosts=127.0.0.1:11211 -p recordcount=10000 -p operationcount=10000 -threads 8
  3. Run workload
    ./bin/ycsb run memcached -P workloads/workloada -p memcached.hosts=127.0.0.1:11211 -p recordcount=10000 -p operationcount=10000 -threads 8 -s

Problems

  1. When using multiple threads to run the workload, e.g. 8 threads, there seems to be a high probability of failing to shut down all the memcached clients, thus YCSB will run forever even if maxexecutiontime is configured. (Similar to Benchmarking Runs Forever [Question] brianfrankcooper/YCSB#618 (comment))
  2. If YCSB successes to shut down all the memcached clients, there will be many ERRORs in UPDATE.

Here are two situations where there will be no problems:

  1. Use Memcached server.
  2. Use QuickCached and run YCSB with one thread.

Could you please help me to solve these problems?

Thanks,
Jiawei

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions