-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pts/cassandra-1.0.3: Update mirror lists #135
- Loading branch information
1 parent
648c4a1
commit aab2e4f
Showing
4 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0"?> | ||
<!--Phoronix Test Suite v9.6.0m1--> | ||
<PhoronixTestSuite> | ||
<Downloads> | ||
<Package> | ||
<URL>https://archive.apache.org/dist/cassandra/3.11.4/apache-cassandra-3.11.4-bin.tar.gz, https://repo1.maven.org/maven2/org/apache/cassandra/apache-cassandra/3.11.4/apache-cassandra-3.11.4-bin.tar.gz, http://apache.belnet.be/cassandra/3.11.4/apache-cassandra-3.11.4-bin.tar.gz</URL> | ||
<MD5>800e522556e86400f4cf754953df626c</MD5> | ||
<SHA256>5d598e23c3ffc4db0301ec2b313061e3208fae0f9763d4b47888237dd9069987</SHA256> | ||
<FileName>apache-cassandra-3.11.4-bin.tar.gz</FileName> | ||
<FileSize>41235177</FileSize> | ||
</Package> | ||
</Downloads> | ||
</PhoronixTestSuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/bin/sh | ||
|
||
tar -xf apache-cassandra-3.11.4-bin.tar.gz | ||
cd ~/apache-cassandra-3.11.4/bin/ | ||
chmod +x cassandra | ||
cd ~/apache-cassandra-3.11.4/tools/bin | ||
chmod +x cassandra-stress | ||
|
||
cd ~/apache-cassandra-3.11.4/conf | ||
sed -i '/-XX:GCLogFileSize=10M/d' ./jvm.options | ||
sed -i '/-XX:NumberOfGCLogFiles=10/d' ./jvm.options | ||
sed -i '/-XX:+UseGCLogFileRotation/d' ./jvm.options | ||
sed -i '/-XX:+PrintPromotionFailure/d' ./jvm.options | ||
sed -i '/-XX:+PrintGCApplicationStoppedTime/d' ./jvm.options | ||
sed -i '/-XX:+PrintTenuringDistribution/d' ./jvm.options | ||
sed -i '/-XX:+PrintHeapAtGC/d' ./jvm.options | ||
sed -i '/-XX:+PrintGCDateStamps/d' ./jvm.options | ||
sed -i '/-XX:+UseParNewGC/d' ./jvm.options | ||
sed -i '/-XX:ThreadPriorityPolicy=42/d' ./jvm.options | ||
# sed -i '//d' ./infile | ||
mkdir ~/apache-cassandra-3.11.4/logs | ||
|
||
cd ~ | ||
echo "#!/bin/bash | ||
cd apache-cassandra-3.11.4/bin/ | ||
./cassandra -f -R & | ||
CASSANDRA_SERVER_PID=\$! | ||
sleep 10 | ||
cd ~/apache-cassandra-3.11.4/tools/bin | ||
case \"\$1\" in | ||
\"WRITE\") | ||
./cassandra-stress write duration=1m -rate threads=\$NUM_CPU_CORES > \$LOG_FILE 2>&1 | ||
;; | ||
\"READ\") | ||
./cassandra-stress write -rate threads=\$NUM_CPU_CORES | ||
sleep 2 | ||
./cassandra-stress read duration=1m -rate threads=\$NUM_CPU_CORES > \$LOG_FILE 2>&1 | ||
;; | ||
\"MIXED_1_1\") | ||
./cassandra-stress write -rate threads=\$NUM_CPU_CORES | ||
sleep 2 | ||
./cassandra-stress mixed ratio\(write=1,read=1\) duration=1m -rate threads=\$NUM_CPU_CORES > \$LOG_FILE 2>&1 | ||
;; | ||
\"MIXED_1_3\") | ||
./cassandra-stress write -rate threads=\$NUM_CPU_CORES | ||
sleep 2 | ||
./cassandra-stress mixed ratio\(write=1,read=3\) duration=1m -rate threads=\$NUM_CPU_CORES > \$LOG_FILE 2>&1 | ||
;; | ||
esac | ||
kill \$CASSANDRA_SERVER_PID | ||
sleep 2 | ||
" > cassandra | ||
chmod +x cassandra |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<!--Phoronix Test Suite v9.6.0m1--> | ||
<PhoronixTestSuite> | ||
<ResultsParser> | ||
<OutputTemplate>Op rate : #_RESULT_# op/s [WRITE: 55,622 op/s]</OutputTemplate> | ||
<LineHint>Op rate</LineHint> | ||
<StripFromResult>,</StripFromResult> | ||
</ResultsParser> | ||
</PhoronixTestSuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0"?> | ||
<!--Phoronix Test Suite v9.6.0m1--> | ||
<PhoronixTestSuite> | ||
<TestInformation> | ||
<Title>Apache Cassandra</Title> | ||
<AppVersion>3.11.4</AppVersion> | ||
<Description>This is a benchmark of the Apache Cassandra NoSQL database management system making use of cassandra-stress.</Description> | ||
<ResultScale>Op/s</ResultScale> | ||
<Proportion>HIB</Proportion> | ||
<TimesToRun>3</TimesToRun> | ||
</TestInformation> | ||
<TestProfile> | ||
<Version>1.0.3</Version> | ||
<SupportedPlatforms>Linux</SupportedPlatforms> | ||
<SoftwareType>Utility</SoftwareType> | ||
<TestType>System</TestType> | ||
<License>Free</License> | ||
<Status>Verified</Status> | ||
<ExternalDependencies>java</ExternalDependencies> | ||
<EnvironmentSize>2100</EnvironmentSize> | ||
<ProjectURL>http://cassandra.apache.org/</ProjectURL> | ||
<Maintainer>Michael Larabel</Maintainer> | ||
</TestProfile> | ||
<TestSettings> | ||
<Option> | ||
<DisplayName>Test</DisplayName> | ||
<Identifier>test</Identifier> | ||
<Menu> | ||
<Entry> | ||
<Name>Reads</Name> | ||
<Value>READ</Value> | ||
</Entry> | ||
<Entry> | ||
<Name>Writes</Name> | ||
<Value>WRITE</Value> | ||
</Entry> | ||
<Entry> | ||
<Name>Mixed 1:1</Name> | ||
<Value>MIXED_1_1</Value> | ||
</Entry> | ||
<Entry> | ||
<Name>Mixed 1:3</Name> | ||
<Value>MIXED_1_3</Value> | ||
</Entry> | ||
</Menu> | ||
</Option> | ||
</TestSettings> | ||
</PhoronixTestSuite> |