Commit Graph

770 Commits

Author SHA1 Message Date
Jakob Unterwurzacher
0a35d0970e Add openssl_benchmark.bash script 2015-09-06 11:54:50 +02:00
Jakob Unterwurzacher
5f4c9240ca Add streaming read and write benchmarks
Run using

    ./main_benchmark.bash

Also, rewrite command line args handling
2015-09-06 11:42:01 +02:00
Jakob Unterwurzacher
58d1e24b7c Add OpenSSL support for file content encryption/decryption
This brings streaming read performance from 30MB/s to 81MB/s
(similar improvement for writes)
2015-09-06 10:42:34 +02:00
Jakob Unterwurzacher
ad3a1a8899 Set readahead to 1MB
This bring streaming read performance from 12MB/s to 30MB/s
2015-09-06 09:47:27 +02:00
Jakob Unterwurzacher
448e88490b Bundle up blocks for bigger reads from the backing filesystem 2015-09-06 09:47:01 +02:00
Jakob Unterwurzacher
baa837b788 Add openssl benchmark
Results:

  BenchmarkAESGCMSeal4K   	   20000	     98638 ns/op	  41.53 MB/s
  BenchmarkAESGCMOpen4K   	   20000	     98781 ns/op	  41.47 MB/s
  BenchmarkOpensslGCMenc4K	   50000	     27563 ns/op	 148.60 MB/s
  BenchmarkOpensslGCMdec4K	   50000	     27563 ns/op	 148.60 MB/s

openssl is 3x faster.
2015-09-05 23:19:38 +02:00
Jakob Unterwurzacher
d0524ded99 Use Debug object instead of fmt 2015-09-05 20:36:26 +02:00
Jakob Unterwurzacher
11fb037e7e Cleanup and rename files 2015-09-05 20:30:20 +02:00
Jakob Unterwurzacher
7e564f928f Fix size reporting 2015-09-05 20:11:20 +02:00
Jakob Unterwurzacher
199d3fd79f Fix write path 2015-09-05 19:07:20 +02:00
Jakob Unterwurzacher
4ab9862ccb Fix read path 2015-09-05 14:08:00 +02:00
Jakob Unterwurzacher
1257b4249d Filename encryption working 2015-09-05 12:15:42 +02:00
Jakob Unterwurzacher
05a5c0a0ff Wrap cluefs part I 2015-09-05 11:49:05 +02:00
Jakob Unterwurzacher
6f90ec716a Rebase to cluefs
https://github.com/airnandez/cluefs
2015-09-04 20:37:37 +02:00
Jakob Unterwurzacher
779ad6dda3 Properly handle FileMode 2015-09-04 09:05:52 +02:00
Jakob Unterwurzacher
6a110b8dde Mounts and show an empty dir 2015-09-03 23:54:12 +02:00
Jakob Unterwurzacher
4b98f74e3e Builds and mounts 2015-09-03 19:27:07 +02:00
Jakob Unterwurzacher
8a48609d0e Add frontend stubs 2015-09-03 19:09:23 +02:00
Jakob Unterwurzacher
f8fddff769 Split into FS and File 2015-09-03 19:09:11 +02:00
Jakob Unterwurzacher
4e93fdf820 Port from go-fuse to bazil/fuse 2015-09-03 18:22:18 +02:00