Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. sapikachu@sapikachu-netbox:/tmp/memtest$ ./bench.sh
  2. blowfish-cbc
  3. Bytes per second: sent 42984714.6, received 7850.0
  4. Bytes per second: sent 42957622.1, received 7874.5
  5. Bytes per second: sent 43907095.0, received 8061.9
  6. aes128-ctr
  7. Bytes per second: sent 57376736.6, received 10429.3
  8. Bytes per second: sent 57130993.1, received 10765.5
  9. Bytes per second: sent 60852877.9, received 11334.7
  10. aes192-ctr
  11. Bytes per second: sent 58023453.7, received 10653.0
  12. Bytes per second: sent 59332873.8, received 10913.7
  13. Bytes per second: sent 56140262.8, received 10345.7
  14. aes256-ctr
  15. Bytes per second: sent 53956369.5, received 9787.0
  16. Bytes per second: sent 52410659.1, received 9510.6
  17. Bytes per second: sent 51861331.1, received 9529.5
  18. aes128-gcm@openssh.com
  19. Bytes per second: sent 66499890.4, received 12267.5
  20. Bytes per second: sent 62866228.9, received 11527.7
  21. Bytes per second: sent 64188015.0, received 11745.6
  22. aes256-gcm@openssh.com
  23. Bytes per second: sent 59780731.6, received 10939.1
  24. Bytes per second: sent 59413490.2, received 10833.5
  25. Bytes per second: sent 55596545.6, received 10205.3
  26. chacha20-poly1305@openssh.com
  27. Bytes per second: sent 57685182.0, received 10633.5
  28. Bytes per second: sent 59962674.4, received 11009.9
  29. Bytes per second: sent 58428013.7, received 10612.4
  30.  
  31.  
  32.  
  33. sapikachu@sapikachu-netbox:/tmp/memtest$ cat bench.sh
  34. #!/bin/bash
  35.  
  36. ALGS=( "blowfish-cbc" "aes128-ctr" "aes192-ctr" "aes256-ctr" "aes128-gcm@openssh.com" "aes256-gcm@openssh.com" "chacha20-poly1305@openssh.com" )
  37. for ALG in ${ALGS[@]}; do
  38. # ./test is 500MB file generated from /dev/urandom
  39. # . is on tmpfs
  40.  
  41. # Warm up
  42. scp -o Compression=no -c $ALG -v ./test 127.0.0.1:/dev/null > /dev/null 2>&1
  43. scp -o Compression=no -c $ALG -v ./test 127.0.0.1:/dev/null > /dev/null 2>&1
  44. scp -o Compression=no -c $ALG -v ./test 127.0.0.1:/dev/null > /dev/null 2>&1
  45.  
  46. # Real test
  47. echo $ALG
  48. scp -o Compression=no -c $ALG -v ./test 127.0.0.1:/dev/null 2>&1 | grep "Bytes per second"
  49. scp -o Compression=no -c $ALG -v ./test 127.0.0.1:/dev/null 2>&1 | grep "Bytes per second"
  50. scp -o Compression=no -c $ALG -v ./test 127.0.0.1:/dev/null 2>&1 | grep "Bytes per second"
  51. done
  52.  
  53.  
  54. sapikachu@sapikachu-netbox:/tmp/memtest$ cat /proc/cpuinfo
  55. processor : 0
  56. vendor_id : GenuineIntel
  57. cpu family : 6
  58. model : 55
  59. model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz
  60. stepping : 8
  61. microcode : 0x829
  62. cpu MHz : 2110.405
  63. cache size : 1024 KB
  64. physical id : 0
  65. siblings : 4
  66. core id : 0
  67. cpu cores : 4
  68. apicid : 0
  69. initial apicid : 0
  70. fpu : yes
  71. fpu_exception : yes
  72. cpuid level : 11
  73. wp : yes
  74. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
  75. bogomips : 3993.60
  76. clflush size : 64
  77. cache_alignment : 64
  78. address sizes : 36 bits physical, 48 bits virtual
  79. power management:
  80.  
  81. processor : 1
  82. vendor_id : GenuineIntel
  83. cpu family : 6
  84. model : 55
  85. model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz
  86. stepping : 8
  87. microcode : 0x829
  88. cpu MHz : 1333.841
  89. cache size : 1024 KB
  90. physical id : 0
  91. siblings : 4
  92. core id : 1
  93. cpu cores : 4
  94. apicid : 2
  95. initial apicid : 2
  96. fpu : yes
  97. fpu_exception : yes
  98. cpuid level : 11
  99. wp : yes
  100. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
  101. bogomips : 3993.60
  102. clflush size : 64
  103. cache_alignment : 64
  104. address sizes : 36 bits physical, 48 bits virtual
  105. power management:
  106.  
  107. processor : 2
  108. vendor_id : GenuineIntel
  109. cpu family : 6
  110. model : 55
  111. model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz
  112. stepping : 8
  113. microcode : 0x829
  114. cpu MHz : 1332.904
  115. cache size : 1024 KB
  116. physical id : 0
  117. siblings : 4
  118. core id : 2
  119. cpu cores : 4
  120. apicid : 4
  121. initial apicid : 4
  122. fpu : yes
  123. fpu_exception : yes
  124. cpuid level : 11
  125. wp : yes
  126. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
  127. bogomips : 3993.60
  128. clflush size : 64
  129. cache_alignment : 64
  130. address sizes : 36 bits physical, 48 bits virtual
  131. power management:
  132.  
  133. processor : 3
  134. vendor_id : GenuineIntel
  135. cpu family : 6
  136. model : 55
  137. model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz
  138. stepping : 8
  139. microcode : 0x829
  140. cpu MHz : 1332.826
  141. cache size : 1024 KB
  142. physical id : 0
  143. siblings : 4
  144. core id : 3
  145. cpu cores : 4
  146. apicid : 6
  147. initial apicid : 6
  148. fpu : yes
  149. fpu_exception : yes
  150. cpuid level : 11
  151. wp : yes
  152. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
  153. bogomips : 3993.60
  154. clflush size : 64
  155. cache_alignment : 64
  156. address sizes : 36 bits physical, 48 bits virtual
  157. power management:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement