Giter Club home page Giter Club logo

Comments (2)

m6w6 avatar m6w6 commented on July 18, 2024

Do you use the tool?

On Feb 4, 2013, at 7:59 AM, Remi Collet wrote:

Public bug reported:

When building with --enable-memaslap and running "make test"

Output:
...

XFAIL: clients/memstat
No Servers provided

memslap v1.0
Generates workload against memcached servers.

Usage:
memslap -hV | -s servers [-F config_file] [-t time | -x exe_num] [...]

Options:
-s, --servers=
List one or more servers to connect. Servers count must be less than
threads count. e.g.: --servers=localhost:1234,localhost:11211
-T, --threads=
Number of threads to startup, better equal to CPU numbers. Default 8.
-c, --concurrency=
Number of concurrency to simulate with load. Default 128.
-n, --conn_sock=
Number of TCP socks per concurrency. Default 1.
-x, --execute_number=
Number of operations(get and set) to execute for the
given test. Default 1000000.
-t, --time=
How long the test to run, suffix: s-seconds, m-minutes, h-hours,
d-days e.g.: --time=2h.
-F, --cfg_cmd=
Load the configure file to get command,key and value distribution list.
-w, --win_size=
Task window size of each concurrency, suffix: K, M e.g.: --win_size=10k.
Default 10k.
-X, --fixed_size=
Fixed length of value.
-v, --verify=
The proportion of date verification, e.g.: --verify=0.01
-d, --division=
Number of keys to multi-get once. Default 1, means single get.
-S, --stat_freq=
Frequency of dumping statistic information. suffix: s-seconds,
m-minutes, e.g.: --resp_freq=10s.
-e, --exp_verify=
The proportion of objects with expire time, e.g.: --exp_verify=0.01.
Default no object with expire time
-o, --overwrite=
The proportion of objects need overwrite, e.g.: --overwrite=0.01.
Default never overwrite object.
-R, --reconnect
Reconnect support, when connection is closed it will be reconnected.
-U, --udp
UDP support, default memslap uses TCP, TCP port and UDP port of
server must be same.
-a, --facebook
Whether it enables facebook test feature, set with TCP and multi-get with UDP.
-B, --binary
Whether it enables binary protocol. Default with ASCII protocol.
-P, --tps=
Expected throughput, suffix: K, e.g.: --tps=10k.
-p, --rep_write=
The first nth servers can write data, e.g.: --rep_write=2.
-b, --verbose
Whether it outputs detailed information when verification fails.
-h, --help
Display this message and then exit.
-V, --version
Display the version of the application and then exit.

Examples:
memslap -s 127.0.0.1:11211 -S 5s
memslap -s 127.0.0.1:11211 -t 2m -v 0.2 -e 0.05 -b
memslap -s 127.0.0.1:11211 -F config -t 2m -w 40k -S 20s -o 0.2
memslap -s 127.0.0.1:11211 -F config -t 2m -T 4 -c 128 -d 20 -P 40k
memslap -s 127.0.0.1:11211 -F config -t 2m -d 50 -a -n 40
memslap -s 127.0.0.1:11211,127.0.0.1:11212 -F config -t 2m
memslap -s 127.0.0.1:11211,127.0.0.1:11212 -F config -t 2m -p 2

XPASS: clients/memaslap
...

1 of 21 tests did not behave as expected (1 unexpected pass)
(19 tests were not run)
Please report to http://libmemcached.org/

** Affects: libmemcached
Importance: Undecided
Status: New

--
You received this bug notification because you are subscribed to
libmemcached.
https://bugs.launchpad.net/bugs/1115357

Title:
XPASS: : clients/memaslap

Status in libmemcached - A C and C++ client library for memcached:
New

Bug description:
When building with --enable-memaslap and running "make test"

Output:
...

XFAIL: clients/memstat
No Servers provided

memslap v1.0
Generates workload against memcached servers.

Usage:
memslap -hV | -s servers [-F config_file] [-t time | -x exe_num] [...]

Options:
-s, --servers=
List one or more servers to connect. Servers count must be less than
threads count. e.g.: --servers=localhost:1234,localhost:11211
-T, --threads=
Number of threads to startup, better equal to CPU numbers. Default 8.
-c, --concurrency=
Number of concurrency to simulate with load. Default 128.
-n, --conn_sock=
Number of TCP socks per concurrency. Default 1.
-x, --execute_number=
Number of operations(get and set) to execute for the
given test. Default 1000000.
-t, --time=
How long the test to run, suffix: s-seconds, m-minutes, h-hours,
d-days e.g.: --time=2h.
-F, --cfg_cmd=
Load the configure file to get command,key and value distribution list.
-w, --win_size=
Task window size of each concurrency, suffix: K, M e.g.: --win_size=10k.
Default 10k.
-X, --fixed_size=
Fixed length of value.
-v, --verify=
The proportion of date verification, e.g.: --verify=0.01
-d, --division=
Number of keys to multi-get once. Default 1, means single get.
-S, --stat_freq=
Frequency of dumping statistic information. suffix: s-seconds,
m-minutes, e.g.: --resp_freq=10s.
-e, --exp_verify=
The proportion of objects with expire time, e.g.: --exp_verify=0.01.
Default no object with expire time
-o, --overwrite=
The proportion of objects need overwrite, e.g.: --overwrite=0.01.
Default never overwrite object.
-R, --reconnect
Reconnect support, when connection is closed it will be reconnected.
-U, --udp
UDP support, default memslap uses TCP, TCP port and UDP port of
server must be same.
-a, --facebook
Whether it enables facebook test feature, set with TCP and multi-get with UDP.
-B, --binary
Whether it enables binary protocol. Default with ASCII protocol.
-P, --tps=
Expected throughput, suffix: K, e.g.: --tps=10k.
-p, --rep_write=
The first nth servers can write data, e.g.: --rep_write=2.
-b, --verbose
Whether it outputs detailed information when verification fails.
-h, --help
Display this message and then exit.
-V, --version
Display the version of the application and then exit.

Examples:
memslap -s 127.0.0.1:11211 -S 5s
memslap -s 127.0.0.1:11211 -t 2m -v 0.2 -e 0.05 -b
memslap -s 127.0.0.1:11211 -F config -t 2m -w 40k -S 20s -o 0.2
memslap -s 127.0.0.1:11211 -F config -t 2m -T 4 -c 128 -d 20 -P 40k
memslap -s 127.0.0.1:11211 -F config -t 2m -d 50 -a -n 40
memslap -s 127.0.0.1:11211,127.0.0.1:11212 -F config -t 2m
memslap -s 127.0.0.1:11211,127.0.0.1:11212 -F config -t 2m -p 2

XPASS: clients/memaslap
...

1 of 21 tests did not behave as expected (1 unexpected pass)
(19 tests were not run)
Please report to http://libmemcached.org/

To manage notifications about this bug go to:
https://bugs.launchpad.net/libmemcached/+bug/1115357/+subscriptions

from libmemcached.

m6w6 avatar m6w6 commented on July 18, 2024

No, I don't use it.

But I just try to provide "all" the available feature in the fedora RPM.

from libmemcached.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.