Skip to content
This repository
Browse code

Added new benchmark

  • Loading branch information...
commit b03db7e4fcecb133fd5eec8db4a60ac7fb0f0130 1 parent c9cc5fe
Caleb James DeLisle authored

Showing 1 changed file with 197 additions and 0 deletions. Show diff stats Hide diff stats

  1. +197 0 rfcs/benchmark.txt
197 rfcs/benchmark.txt
@@ -1124,3 +1124,200 @@ Serial : 000000008b285506
1124 1124
1125 1125 [cjdns@meLonpi] ~/cjdns$ git log | head -1
1126 1126 commit a7c6c3a02c96ff5bfc12aa110af5a594c08a605b
  1127 +
  1128 +
  1129 +
  1130 +
  1131 +
  1132 +
  1133 +
  1134 +
  1135 +
  1136 +[ich@ich cjdns]$ ./cjdroute --bench
  1137 +These metrics are speed of encryption and decryption similar to the usage pattern
  1138 +when decrypting a packet, switching it, and re-encrypting it with another key.
  1139 +Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 1384ms. 369 Kb/s
  1140 +
  1141 +Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 1332ms. 9008 Kb/s
  1142 +
  1143 +Test sending 1000 64 byte key packets. packet auth enabled. Finished in 1331ms. 384 Kb/s
  1144 +
  1145 +Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 1382ms. 8682 Kb/s
  1146 +
  1147 +Test sending 100000 64 byte data packets. packet auth disabled. Finished in 60ms. 853333 Kb/s
  1148 +
  1149 +Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 545ms. 2201834 Kb/s
  1150 +
  1151 +Test sending 100000 64 byte data packets. packet auth enabled. Finished in 602ms. 85049 Kb/s
  1152 +
  1153 +This is the switch configuration so this indicates expected switch throughput:
  1154 +Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1297ms. 925212 Kb/s
  1155 +
  1156 +[ich@ich cjdns]$ cat /proc/cpuinfo
  1157 +processor : 0
  1158 +vendor_id : AuthenticAMD
  1159 +cpu family : 16
  1160 +model : 10
  1161 +model name : AMD Phenom(tm) II X6 1090T Processor
  1162 +stepping : 0
  1163 +microcode : 0x10000dc
  1164 +cpu MHz : 800.000
  1165 +cache size : 512 KB
  1166 +physical id : 0
  1167 +siblings : 6
  1168 +core id : 0
  1169 +cpu cores : 6
  1170 +apicid : 0
  1171 +initial apicid : 0
  1172 +fpu : yes
  1173 +fpu_exception : yes
  1174 +cpuid level : 6
  1175 +wp : yes
  1176 +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  1177 +bogomips : 6386.36
  1178 +TLB size : 1024 4K pages
  1179 +clflush size : 64
  1180 +cache_alignment : 64
  1181 +address sizes : 48 bits physical, 48 bits virtual
  1182 +power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  1183 +
  1184 +processor : 1
  1185 +vendor_id : AuthenticAMD
  1186 +cpu family : 16
  1187 +model : 10
  1188 +model name : AMD Phenom(tm) II X6 1090T Processor
  1189 +stepping : 0
  1190 +microcode : 0x10000dc
  1191 +cpu MHz : 800.000
  1192 +cache size : 512 KB
  1193 +physical id : 0
  1194 +siblings : 6
  1195 +core id : 1
  1196 +cpu cores : 6
  1197 +apicid : 1
  1198 +initial apicid : 1
  1199 +fpu : yes
  1200 +fpu_exception : yes
  1201 +cpuid level : 6
  1202 +wp : yes
  1203 +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  1204 +bogomips : 6386.36
  1205 +TLB size : 1024 4K pages
  1206 +clflush size : 64
  1207 +cache_alignment : 64
  1208 +address sizes : 48 bits physical, 48 bits virtual
  1209 +power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  1210 +
  1211 +processor : 2
  1212 +vendor_id : AuthenticAMD
  1213 +cpu family : 16
  1214 +model : 10
  1215 +model name : AMD Phenom(tm) II X6 1090T Processor
  1216 +stepping : 0
  1217 +microcode : 0x10000dc
  1218 +cpu MHz : 800.000
  1219 +cache size : 512 KB
  1220 +physical id : 0
  1221 +siblings : 6
  1222 +core id : 2
  1223 +cpu cores : 6
  1224 +apicid : 2
  1225 +initial apicid : 2
  1226 +fpu : yes
  1227 +fpu_exception : yes
  1228 +cpuid level : 6
  1229 +wp : yes
  1230 +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  1231 +bogomips : 6386.36
  1232 +TLB size : 1024 4K pages
  1233 +clflush size : 64
  1234 +cache_alignment : 64
  1235 +address sizes : 48 bits physical, 48 bits virtual
  1236 +power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  1237 +
  1238 +processor : 3
  1239 +vendor_id : AuthenticAMD
  1240 +cpu family : 16
  1241 +model : 10
  1242 +model name : AMD Phenom(tm) II X6 1090T Processor
  1243 +stepping : 0
  1244 +microcode : 0x10000dc
  1245 +cpu MHz : 800.000
  1246 +cache size : 512 KB
  1247 +physical id : 0
  1248 +siblings : 6
  1249 +core id : 3
  1250 +cpu cores : 6
  1251 +apicid : 3
  1252 +initial apicid : 3
  1253 +fpu : yes
  1254 +fpu_exception : yes
  1255 +cpuid level : 6
  1256 +wp : yes
  1257 +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  1258 +bogomips : 6386.36
  1259 +TLB size : 1024 4K pages
  1260 +clflush size : 64
  1261 +cache_alignment : 64
  1262 +address sizes : 48 bits physical, 48 bits virtual
  1263 +power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  1264 +
  1265 +processor : 4
  1266 +vendor_id : AuthenticAMD
  1267 +cpu family : 16
  1268 +model : 10
  1269 +model name : AMD Phenom(tm) II X6 1090T Processor
  1270 +stepping : 0
  1271 +microcode : 0x10000dc
  1272 +cpu MHz : 800.000
  1273 +cache size : 512 KB
  1274 +physical id : 0
  1275 +siblings : 6
  1276 +core id : 4
  1277 +cpu cores : 6
  1278 +apicid : 4
  1279 +initial apicid : 4
  1280 +fpu : yes
  1281 +fpu_exception : yes
  1282 +cpuid level : 6
  1283 +wp : yes
  1284 +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  1285 +bogomips : 6386.36
  1286 +TLB size : 1024 4K pages
  1287 +clflush size : 64
  1288 +cache_alignment : 64
  1289 +address sizes : 48 bits physical, 48 bits virtual
  1290 +power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  1291 +
  1292 +processor : 5
  1293 +vendor_id : AuthenticAMD
  1294 +cpu family : 16
  1295 +model : 10
  1296 +model name : AMD Phenom(tm) II X6 1090T Processor
  1297 +stepping : 0
  1298 +microcode : 0x10000dc
  1299 +cpu MHz : 3200.000
  1300 +cache size : 512 KB
  1301 +physical id : 0
  1302 +siblings : 6
  1303 +core id : 5
  1304 +cpu cores : 6
  1305 +apicid : 5
  1306 +initial apicid : 5
  1307 +fpu : yes
  1308 +fpu_exception : yes
  1309 +cpuid level : 6
  1310 +wp : yes
  1311 +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  1312 +bogomips : 6386.36
  1313 +TLB size : 1024 4K pages
  1314 +clflush size : 64
  1315 +cache_alignment : 64
  1316 +address sizes : 48 bits physical, 48 bits virtual
  1317 +power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  1318 +
  1319 +[ich@ich cjdns]$ git log -n 1
  1320 +commit c9cc5fe5f54b89f014d832527aef767f24a5b4da
  1321 +Author: Caleb James DeLisle <calebdelisle@lavabit.com>
  1322 +Date: Mon Oct 22 01:31:51 2012 -0400
  1323 +

0 comments on commit b03db7e

Please sign in to comment.
Something went wrong with that request. Please try again.