Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Timed Linux Kernel Compilation
SVT-AV1
7-Zip Compression
Stockfish
x265
FFmpeg
Newest Tests
LiteRT
WarpX
Epoch
Valkey
Whisperfile
XNNPACK
Recently Updated Tests
ASTC Encoder
SVT-AV1
Unvanquished
Primesieve
XNNPACK
oneDNN
New & Recently Updated Tests
Recently Updated Suites
Database Test Suite
Machine Learning
Steam
New & Recently Updated Suites
Component Benchmarks
CPUs / Processors
GPUs / Graphics
OpenGL
Disks / Storage
Motherboards
File-Systems
Operating Systems
OpenBenchmarking.org
Corporate / Organization Info
Bug Reports / Feature Requests
Memcached mcperf 1.1.1
pts/mcperf-1.1.1
- 03 October 2018 -
Add patch to allow memcached benchmark to work as root.
downloads.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.2.0--> <PhoronixTestSuite> <Downloads> <Package> <URL>https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/twemperf/mcperf-0.1.1.tar.gz</URL> <MD5>97f4aa323861c51d729e6800fc317639</MD5> <SHA256>7e60d0e83c158584e8f625d2af6adbe4430031f8f1b0513c63a03a700420c3ee</SHA256> <FileName>mcperf-0.1.1.tar.gz</FileName> <FileSize>230264</FileSize> </Package> <Package> <URL>http://www.memcached.org/files/memcached-1.5.10.tar.gz</URL> <MD5>8462616b554183a75845b03c56837cca</MD5> <SHA256>494c060dbd96d546c74ab85a3cc3984d009b4423767ac33e05dd2340c01f1c4b</SHA256> <FileName>memcached-1.5.10.tar.gz</FileName> <FileSize>465169</FileSize> </Package> </Downloads> </PhoronixTestSuite>
install.sh
#!/bin/sh tar -xzvf memcached-1.5.10.tar.gz cd memcached-1.5.10 ./configure make echo $? > ~/install-exit-status cd ~ tar -xzvf mcperf-0.1.1.tar.gz cd mcperf-0.1.1 # Allow running as root for benchmark patch -p0 <<'EOF' --- memcached.c.orig 2018-10-03 19:10:08.431811423 -0400 +++ memcached.c 2018-10-03 19:10:22.899799908 -0400 @@ -7589,8 +7589,8 @@ /* lose root privileges if we have them */ if (getuid() == 0 || geteuid() == 0) { if (username == 0 || *username == '\0') { - fprintf(stderr, "can't run as root without the -u switch\n"); - exit(EX_USAGE); + // fprintf(stderr, "can't run as root without the -u switch\n"); + // exit(EX_USAGE); } if ((pw = getpwnam(username)) == 0) { fprintf(stderr, "can't find the user %s to switch to\n", username); EOF ./configure make cd ~ echo "#!/bin/sh cd ~/memcached-1.5.10 ./memcached -d MEMCACHED_PID=\$! sleep 3 cd ~/mcperf-0.1.1 ./src/mcperf \$@ > \$LOG_FILE 2>&1 echo \$? > ~/test-exit-status kill \$MEMCACHED_PID sleep 3" > mcperf chmod +x mcperf
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.2.0--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>Request rate: #_RESULT_# req/s (0.0 ms/req)</OutputTemplate> <LineHint>Request rate:</LineHint> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.2.0--> <PhoronixTestSuite> <TestInformation> <Title>Memcached mcperf</Title> <AppVersion>1.5.10</AppVersion> <Description>This is a test of twmperf/mcperf with memcached.</Description> <ResultScale>Operations Per Second</ResultScale> <Proportion>HIB</Proportion> <TimesToRun>3</TimesToRun> </TestInformation> <TestProfile> <Version>1.1.1</Version> <SupportedPlatforms>Linux, Solaris, BSD</SupportedPlatforms> <SoftwareType>Utility</SoftwareType> <TestType>System</TestType> <License>Free</License> <Status>Verified</Status> <ExternalDependencies>build-utilities, libevent</ExternalDependencies> <EnvironmentSize>10</EnvironmentSize> <ProjectURL>https://github.com/twitter-archive/twemperf</ProjectURL> <Maintainer>Michael Larabel</Maintainer> </TestProfile> <TestSettings> <Default> <Arguments>--linger=0 --call-rate=0 --num-calls=1000000 --conn-rate=0 --num-conns=1 --sizes=d5120</Arguments> </Default> <Option> <DisplayName>Method</DisplayName> <Identifier>method</Identifier> <ArgumentPrefix>--method=</ArgumentPrefix> <Menu> <Entry> <Name>Get</Name> <Value>get</Value> </Entry> <Entry> <Name>Set</Name> <Value>set</Value> </Entry> <Entry> <Name>Delete</Name> <Value>delete</Value> </Entry> <Entry> <Name>Add</Name> <Value>add</Value> </Entry> <Entry> <Name>Replace</Name> <Value>replace</Value> </Entry> <Entry> <Name>Append</Name> <Value>append</Value> </Entry> <Entry> <Name>Prepend</Name> <Value>prepend</Value> </Entry> </Menu> </Option> </TestSettings> </PhoronixTestSuite>