Testujemy standardową objętość EBS, objętość EBS z szyfrowaniem w instancji m3.xlarge EC2 zoptymalizowanej pod EBS.Szyfrowane Vs Unencrypted EBS Volumes AWS
Analizując wyniki badań, poznaliśmy że
objętość EBS z szyfrowaniem trwa mniej czasu podczas odczytu, zapisu, operacje odczytu/zapisu w porównaniu do EBS bez szyfrowania. Myślę, że będzie efekt opóźnienia na zaszyfrowanym wolumenie EBS z powodu dodatkowego obciążenia szyfrowania na każde żądanie I/O.
Jaki będzie właściwy powód, dla którego wolumeny szyfrowane EBS są szybsze niż normalne woluminy EBS?
Oczekiwane wyniki powinny polegać na tym, że EBS powinien przynieść lepsze wyniki niż zaszyfrowane EEBS.
Wyniki:
wyniki Encrpted EBS:
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 8
Initializing random number generator from timer.
Extra file open flags: 16384
8 files, 512Mb each
4Gb total file size
Block size 16Kb
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential write (creation) test
Threads started!
Done.
Operations performed: 0 Read, 262144 Write, 8 Other = 262152 Total
Read 0b Written 4Gb Total transferred 4Gb (11.018Mb/sec)
705.12 Requests/sec executed
Test execution summary:
total time: 371.7713s
total number of events: 262144
total time taken by event execution: 2973.6874
per-request statistics:
min: 1.06ms
avg: 11.34ms
max: 3461.45ms
approx. 95 percentile: 1.72ms
wyniki EBS:
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 8
Initializing random number generator from timer.
Extra file open flags: 16384
8 files, 512Mb each
4Gb total file size
Block size 16Kb
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential write (creation) test
Threads started!
Done.
Operations performed: 0 Read, 262144 Write, 8 Other = 262152 Total
Read 0b Written 4Gb Total transferred 4Gb (6.3501Mb/sec)
406.41 Requests/sec executed
Test execution summary:
total time: 645.0251s
total number of events: 262144
total time taken by event execution: 5159.7466
per-request statistics:
min: 0.88ms
avg: 19.68ms
max: 5700.71ms
approx. 95 percentile: 6.31ms
proszę mi pomóc rozwiązać ten problem.
Przeprowadziłem test prawie 3 razy na tych samych objętościach. Za każdym razem, gdy otrzymuję te same listy, tj. Zaszyfrowane EBS ma lepsze działanie niż woluminy EBS. Co mam teraz zrobić? – user3086014
Należy pamiętać, że nie używam woluminów PIOPS. Przeprowadzam test na wolumetrach magnetycznych (zwanych standardowymi) – user3086014
Ale ... czy rzeczywiście ogrzałeś wstępnie całą objętość? http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-prewarm.html –