Giter VIP home page Giter VIP logo

s3bench's People

Contributors

flangner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

s3bench's Issues

Missing build-guide for non-javaistas

Worked for me after installing openjdk-8-jdk and maven, and then mvn build, and then extracting the tar in target directory, so pretty straight-forward.

A guide would still be helpful though.

doesn't create the bucket

~/s3bench/target/s3bench-1.0.0$ grep create s3bench.properties
# determines, whether this tool may create it.
# true: s3bench may create the target bucket
create_bucket=true

~/s3bench/target/s3bench-1.0.0$ bash -x ./s3bench.sh s3.cloud.syseleven.net sneubauertestbucket XXXXXXXXXXXXX XXXXXXXXXXXXXXX ./s3bench.properties
+ java -cp 'lib/*:bin/*' com.quobyte.s3bench.S3BenchmarkClient s3.cloud.syseleven.net sneubauertestbucket XXXXXXXXXXX XXXXXXXXXXXXXX ./s3bench.properties
S3 Service Benchmark (powered by Amazon SDK 1.11.186)
Path-style bucket addressing: true
HTTPS: true
Client-side MD5 verification: false
Number of samples: 10
Throughput runtime: 600 s


# unsigned payload benchmark
## single stream latency
Object size: 4.00 KiB

method, min, max, avg, throughput (based on avg), ops/s (based on avg), operation count
com.amazonaws.services.s3.model.AmazonS3Exception: The specified bucket does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchBucket; Request ID: 2225263853416126601; S3 Extended Request ID: null), S3 Extended Request ID: null
com.amazonaws.services.s3.model.AmazonS3Exception: The specified bucket does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchBucket; Request ID: 2225263853416126601; S3 Extended Request ID: null), S3 Extended Request ID: null
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1592)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1257)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1029)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:741)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:715)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:697)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:665)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:647)
	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:511)
	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4227)
	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4174)
	at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1722)
	at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1584)
	at com.quobyte.s3bench.S3BenchmarkClient$PutClient.sampleRun(S3BenchmarkClient.java:115)
	at com.quobyte.s3bench.S3BenchmarkClient$Sampler.run(S3BenchmarkClient.java:70)
	at com.quobyte.s3bench.S3BenchmarkClient.singleStreamWritePerformance(S3BenchmarkClient.java:199)
	at com.quobyte.s3bench.S3BenchmarkClient.singleStreamPerformanceTest(S3BenchmarkClient.java:172)
	at com.quobyte.s3bench.S3BenchmarkClient.main(S3BenchmarkClient.java:452)

SHA256 signed payload benchmark doesn't work

At least with Quobyte 1.3.21

# SHA256 signed payload benchmark
## single stream latency
Object size: 4.00 KiB

method, min, max, avg, throughput (based on avg), ops/s (based on avg), operation count
put, 27.39 ms, 269.63 ms, 88.19 ms, 46.45 Kb/s, 11.34 /s, 10.00
com.amazonaws.services.s3.model.AmazonS3Exception: The request signature we calculated does not match the signature you provided. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: 665716920319324252; S3 Extended Request ID: null), S3 Extended Request ID: null
com.amazonaws.services.s3.model.AmazonS3Exception: The request signature we calculated does not match the signature you provided. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: 665716920319324252; S3 Extended Request ID: null), S3 Extended Request ID: null
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1592)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1257)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1029)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:741)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:715)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:697)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:665)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:647)
	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:511)
	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4227)
	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4174)
	at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1382)
	at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1259)
	at com.quobyte.s3bench.S3BenchmarkClient$GetClient.sampleRun(S3BenchmarkClient.java:136)
	at com.quobyte.s3bench.S3BenchmarkClient$Sampler.run(S3BenchmarkClient.java:70)
	at com.quobyte.s3bench.S3BenchmarkClient.singleStreamReadPerformance(S3BenchmarkClient.java:211)
	at com.quobyte.s3bench.S3BenchmarkClient.singleStreamPerformanceTest(S3BenchmarkClient.java:174)
	at com.quobyte.s3bench.S3BenchmarkClient.main(S3BenchmarkClient.java:465)

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.