updated redis tools
added benchmarks
This commit is contained in:
84
src/benchmarks/benchmark.py
Executable file
84
src/benchmarks/benchmark.py
Executable file
@@ -0,0 +1,84 @@
|
||||
#!/usr/bin/env python3
|
||||
import csv
|
||||
import gzip
|
||||
import time
|
||||
import glob
|
||||
|
||||
|
||||
def compare_load_file():
|
||||
dur_p = load_file_plain()
|
||||
dur_z = load_file_zipped()
|
||||
|
||||
print('plain took: ' + str(dur_p) + ' s')
|
||||
print('zipped took: ' + str(dur_z) + ' s')
|
||||
print('(plain - zipped): ' + str(dur_p - dur_z) + ' s')
|
||||
|
||||
|
||||
def load_file_plain():
|
||||
start_p = time.time()
|
||||
with open('pdns_capture.pcap-demchdc902n-2017-09-01_00-20-02.csv', 'rt') as file_p:
|
||||
for line in file_p:
|
||||
row = line.split()
|
||||
# print(row)
|
||||
pass
|
||||
return time.time() - start_p
|
||||
|
||||
|
||||
def load_file_zipped():
|
||||
start_z = time.time()
|
||||
with gzip.open('pdns_capture.pcap-demchdc902n-2017-09-01_00-20-02.csv.gz', 'rt', newline='') as file_z:
|
||||
reader = csv.reader(file_z)
|
||||
for row in reader:
|
||||
# print(row)
|
||||
pass
|
||||
return time.time() - start_z
|
||||
|
||||
|
||||
def load_day_zipped():
|
||||
start_z = time.time()
|
||||
|
||||
globbed = glob.glob('/home/felix/pdns/' + '*-2017-09-01*.csv.gz')
|
||||
|
||||
for f in globbed:
|
||||
with gzip.open(f, 'rt', newline='') as file:
|
||||
reader = csv.reader(file)
|
||||
|
||||
for row in reader:
|
||||
pass
|
||||
dur_z = time.time() - start_z
|
||||
print('iterating day took: ' + str(dur_z) + ' s')
|
||||
return dur_z
|
||||
|
||||
|
||||
def benchmark_load_day():
|
||||
durs = []
|
||||
for i in range(10):
|
||||
durs.append(load_day_zipped())
|
||||
print('all results: ' + str(durs))
|
||||
cleaned = ignore_outliers(durs)
|
||||
print('cleaned results: ' + str(cleaned)
|
||||
print('average: ' + str(mean(cleaned)))
|
||||
|
||||
|
||||
def ignore_outliers(lst):
|
||||
med = median(lst)
|
||||
lst = [e for e in lst if e < med * 1.1]
|
||||
return lst
|
||||
|
||||
def median(lst):
|
||||
sortedLst = sorted(lst)
|
||||
lstLen = len(lst)
|
||||
index = (lstLen - 1) // 2
|
||||
|
||||
if (lstLen % 2):
|
||||
return sortedLst[index]
|
||||
else:
|
||||
return (sortedLst[index] + sortedLst[index + 1])/2.0
|
||||
|
||||
|
||||
def mean(lst):
|
||||
return float(sum(lst)) / max(len(lst), 1)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
benchmark_load_day()
|
||||
15
src/benchmarks/benchmark.sh
Executable file
15
src/benchmarks/benchmark.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
divider=1000000
|
||||
|
||||
# plain
|
||||
start_p=$(($(date +'%s * 1000 + %-N / divider'))) && cat pdns_capture.pcap-demchdc902n-2017-09-01_00-20-02.csv && plain=$(($(date +'%s * 1000 + %-N / divider') - $start_p))
|
||||
|
||||
# zip
|
||||
start_z=$(($(date +'%s * 1000 + %-N / divider'))) && zcat pdns_capture.pcap-demchdc902n-2017-09-01_00-20-02.csv.gz && zipped=$(($(date +'%s * 1000 + %-N / divider') - $start_z))
|
||||
|
||||
echo ""
|
||||
echo "plain took: $(echo "scale=2; ${plain} / 1000" | bc) s"
|
||||
echo "zipped took: $(echo "scale=2; ${zipped} / 1000" | bc) s"
|
||||
|
||||
echo "(plain - zipped): $(echo "scale=2; $(($plain - $zipped)) / 1000" | bc) s"
|
||||
613
src/benchmarks/mem.txt
Normal file
613
src/benchmarks/mem.txt
Normal file
@@ -0,0 +1,613 @@
|
||||
# dmidecode 3.1
|
||||
Getting SMBIOS data from sysfs.
|
||||
SMBIOS 2.7 present.
|
||||
69 structures occupying 2646 bytes.
|
||||
Table at 0xDAE9C000.
|
||||
|
||||
Handle 0x0000, DMI type 134, 16 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
86 10 00 00 00 53 54 4D 20 01 01 00 00 02 01 02
|
||||
Strings:
|
||||
TPM INFO
|
||||
System Reserved
|
||||
|
||||
Handle 0x0001, DMI type 4, 42 bytes
|
||||
Processor Information
|
||||
Socket Designation: CPU Socket - U3E1
|
||||
Type: Central Processor
|
||||
Family: Core i7
|
||||
Manufacturer: Intel(R) Corporation
|
||||
ID: A9 06 03 00 FF FB EB BF
|
||||
Signature: Type 0, Family 6, Model 58, Stepping 9
|
||||
Flags:
|
||||
FPU (Floating-point unit on-chip)
|
||||
VME (Virtual mode extension)
|
||||
DE (Debugging extension)
|
||||
PSE (Page size extension)
|
||||
TSC (Time stamp counter)
|
||||
MSR (Model specific registers)
|
||||
PAE (Physical address extension)
|
||||
MCE (Machine check exception)
|
||||
CX8 (CMPXCHG8 instruction supported)
|
||||
APIC (On-chip APIC hardware supported)
|
||||
SEP (Fast system call)
|
||||
MTRR (Memory type range registers)
|
||||
PGE (Page global enable)
|
||||
MCA (Machine check architecture)
|
||||
CMOV (Conditional move instruction supported)
|
||||
PAT (Page attribute table)
|
||||
PSE-36 (36-bit page size extension)
|
||||
CLFSH (CLFLUSH instruction supported)
|
||||
DS (Debug store)
|
||||
ACPI (ACPI supported)
|
||||
MMX (MMX technology supported)
|
||||
FXSR (FXSAVE and FXSTOR instructions supported)
|
||||
SSE (Streaming SIMD extensions)
|
||||
SSE2 (Streaming SIMD extensions 2)
|
||||
SS (Self-snoop)
|
||||
HTT (Multi-threading)
|
||||
TM (Thermal monitor supported)
|
||||
PBE (Pending break enabled)
|
||||
Version: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
|
||||
Voltage: 1.0 V
|
||||
External Clock: 100 MHz
|
||||
Max Speed: 2900 MHz
|
||||
Current Speed: 2900 MHz
|
||||
Status: Populated, Enabled
|
||||
Upgrade: Socket rPGA988B
|
||||
L1 Cache Handle: 0x0003
|
||||
L2 Cache Handle: 0x0004
|
||||
L3 Cache Handle: 0x0005
|
||||
Serial Number: None
|
||||
Asset Tag: None
|
||||
Part Number: None
|
||||
Core Count: 2
|
||||
Core Enabled: 2
|
||||
Thread Count: 4
|
||||
Characteristics:
|
||||
64-bit capable
|
||||
|
||||
Handle 0x0002, DMI type 7, 19 bytes
|
||||
Cache Information
|
||||
Socket Designation: L1-Cache
|
||||
Configuration: Enabled, Not Socketed, Level 1
|
||||
Operational Mode: Write Through
|
||||
Location: Internal
|
||||
Installed Size: 32 kB
|
||||
Maximum Size: 32 kB
|
||||
Supported SRAM Types:
|
||||
Unknown
|
||||
Installed SRAM Type: Unknown
|
||||
Speed: Unknown
|
||||
Error Correction Type: Parity
|
||||
System Type: Data
|
||||
Associativity: 8-way Set-associative
|
||||
|
||||
Handle 0x0003, DMI type 7, 19 bytes
|
||||
Cache Information
|
||||
Socket Designation: L1-Cache
|
||||
Configuration: Enabled, Not Socketed, Level 1
|
||||
Operational Mode: Write Through
|
||||
Location: Internal
|
||||
Installed Size: 32 kB
|
||||
Maximum Size: 32 kB
|
||||
Supported SRAM Types:
|
||||
Unknown
|
||||
Installed SRAM Type: Unknown
|
||||
Speed: Unknown
|
||||
Error Correction Type: Parity
|
||||
System Type: Instruction
|
||||
Associativity: 8-way Set-associative
|
||||
|
||||
Handle 0x0004, DMI type 7, 19 bytes
|
||||
Cache Information
|
||||
Socket Designation: L2-Cache
|
||||
Configuration: Enabled, Not Socketed, Level 2
|
||||
Operational Mode: Write Through
|
||||
Location: Internal
|
||||
Installed Size: 256 kB
|
||||
Maximum Size: 256 kB
|
||||
Supported SRAM Types:
|
||||
Unknown
|
||||
Installed SRAM Type: Unknown
|
||||
Speed: Unknown
|
||||
Error Correction Type: Multi-bit ECC
|
||||
System Type: Unified
|
||||
Associativity: 8-way Set-associative
|
||||
|
||||
Handle 0x0005, DMI type 7, 19 bytes
|
||||
Cache Information
|
||||
Socket Designation: L3-Cache
|
||||
Configuration: Enabled, Not Socketed, Level 3
|
||||
Operational Mode: Write Back
|
||||
Location: Internal
|
||||
Installed Size: 4096 kB
|
||||
Maximum Size: 4096 kB
|
||||
Supported SRAM Types:
|
||||
Unknown
|
||||
Installed SRAM Type: Unknown
|
||||
Speed: Unknown
|
||||
Error Correction Type: Multi-bit ECC
|
||||
System Type: Unified
|
||||
Associativity: 16-way Set-associative
|
||||
|
||||
Handle 0x0006, DMI type 129, 8 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
81 08 06 00 01 01 02 01
|
||||
Strings:
|
||||
Intel_ASF
|
||||
Intel_ASF_001
|
||||
|
||||
Handle 0x0007, DMI type 16, 23 bytes
|
||||
Physical Memory Array
|
||||
Location: System Board Or Motherboard
|
||||
Use: System Memory
|
||||
Error Correction Type: None
|
||||
Maximum Capacity: 16 GB
|
||||
Error Information Handle: Not Provided
|
||||
Number Of Devices: 2
|
||||
|
||||
Handle 0x0008, DMI type 17, 34 bytes
|
||||
Memory Device
|
||||
Array Handle: 0x0007
|
||||
Error Information Handle: Not Provided
|
||||
Total Width: 64 bits
|
||||
Data Width: 64 bits
|
||||
Size: 8192 MB
|
||||
Form Factor: SODIMM
|
||||
Set: None
|
||||
Locator: ChannelA-DIMM0
|
||||
Bank Locator: BANK 0
|
||||
Type: DDR3
|
||||
Type Detail: Synchronous
|
||||
Speed: 1600 MT/s
|
||||
Manufacturer: Samsung
|
||||
Serial Number: 9697AC59
|
||||
Asset Tag: None
|
||||
Part Number: M471B1G73BH0-CK0
|
||||
Rank: Unknown
|
||||
Configured Clock Speed: 1600 MT/s
|
||||
|
||||
Handle 0x0009, DMI type 17, 34 bytes
|
||||
Memory Device
|
||||
Array Handle: 0x0007
|
||||
Error Information Handle: Not Provided
|
||||
Total Width: 64 bits
|
||||
Data Width: 64 bits
|
||||
Size: 8192 MB
|
||||
Form Factor: SODIMM
|
||||
Set: None
|
||||
Locator: ChannelB-DIMM0
|
||||
Bank Locator: BANK 2
|
||||
Type: DDR3
|
||||
Type Detail: Synchronous
|
||||
Speed: 1600 MT/s
|
||||
Manufacturer: Samsung
|
||||
Serial Number: 96DF4427
|
||||
Asset Tag: None
|
||||
Part Number: M471B1G73BH0-CK0
|
||||
Rank: Unknown
|
||||
Configured Clock Speed: 1600 MT/s
|
||||
|
||||
Handle 0x000A, DMI type 19, 31 bytes
|
||||
Memory Array Mapped Address
|
||||
Starting Address: 0x00000000000
|
||||
Ending Address: 0x003FFFFFFFF
|
||||
Range Size: 16 GB
|
||||
Physical Array Handle: 0x0007
|
||||
Partition Width: 2
|
||||
|
||||
Handle 0x000B, DMI type 134, 13 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
86 0D 0B 00 02 08 12 20 00 00 00 00 00
|
||||
|
||||
Handle 0x000C, DMI type 0, 24 bytes
|
||||
BIOS Information
|
||||
Vendor: LENOVO
|
||||
Version: G2ETA6WW (2.66 )
|
||||
Release Date: 03/03/2016
|
||||
Address: 0xE0000
|
||||
Runtime Size: 128 kB
|
||||
ROM Size: 12288 kB
|
||||
Characteristics:
|
||||
PCI is supported
|
||||
PNP is supported
|
||||
BIOS is upgradeable
|
||||
BIOS shadowing is allowed
|
||||
Boot from CD is supported
|
||||
Selectable boot is supported
|
||||
EDD is supported
|
||||
3.5"/720 kB floppy services are supported (int 13h)
|
||||
Print screen service is supported (int 5h)
|
||||
8042 keyboard services are supported (int 9h)
|
||||
Serial services are supported (int 14h)
|
||||
Printer services are supported (int 17h)
|
||||
CGA/mono video services are supported (int 10h)
|
||||
ACPI is supported
|
||||
USB legacy is supported
|
||||
BIOS boot specification is supported
|
||||
Targeted content distribution is supported
|
||||
UEFI is supported
|
||||
BIOS Revision: 2.66
|
||||
Firmware Revision: 1.14
|
||||
|
||||
Handle 0x000D, DMI type 1, 27 bytes
|
||||
System Information
|
||||
Manufacturer: LENOVO
|
||||
Product Name: 2325CN9
|
||||
Version: ThinkPad X230
|
||||
Serial Number: R9RDN1Y
|
||||
UUID: 85F93281-5191-11CB-9015-8C0D1A9B52BF
|
||||
Wake-up Type: Power Switch
|
||||
SKU Number: LENOVO_MT_2325
|
||||
Family: ThinkPad X230
|
||||
|
||||
Handle 0x000E, DMI type 2, 15 bytes
|
||||
Base Board Information
|
||||
Manufacturer: LENOVO
|
||||
Product Name: 2325CN9
|
||||
Version: Not Defined
|
||||
Serial Number: 1ZM4R27T2F0
|
||||
Asset Tag: Not Available
|
||||
Features:
|
||||
Board is a hosting board
|
||||
Board is replaceable
|
||||
Location In Chassis: Not Available
|
||||
Chassis Handle: 0x0000
|
||||
Type: Motherboard
|
||||
Contained Object Handles: 0
|
||||
|
||||
Handle 0x000F, DMI type 3, 22 bytes
|
||||
Chassis Information
|
||||
Manufacturer: LENOVO
|
||||
Type: Notebook
|
||||
Lock: Not Present
|
||||
Version: Not Available
|
||||
Serial Number: R9RDN1Y
|
||||
Asset Tag: No Asset Information
|
||||
Boot-up State: Unknown
|
||||
Power Supply State: Unknown
|
||||
Thermal State: Unknown
|
||||
Security Status: Unknown
|
||||
OEM Information: 0x00000000
|
||||
Height: Unspecified
|
||||
Number Of Power Cords: Unspecified
|
||||
Contained Elements: 0
|
||||
SKU Number: LENOVO_MT_2325
|
||||
|
||||
Handle 0x0010, DMI type 8, 9 bytes
|
||||
Port Connector Information
|
||||
Internal Reference Designator: Not Available
|
||||
Internal Connector Type: None
|
||||
External Reference Designator: External Monitor
|
||||
External Connector Type: DB-15 female
|
||||
Port Type: Video Port
|
||||
|
||||
Handle 0x0011, DMI type 8, 9 bytes
|
||||
Port Connector Information
|
||||
Internal Reference Designator: Not Available
|
||||
Internal Connector Type: None
|
||||
External Reference Designator: Mini DisplayPort
|
||||
External Connector Type: Other
|
||||
Port Type: Video Port
|
||||
|
||||
Handle 0x0012, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0013, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0014, DMI type 8, 9 bytes
|
||||
Port Connector Information
|
||||
Internal Reference Designator: Not Available
|
||||
Internal Connector Type: None
|
||||
External Reference Designator: Headphone/Microphone Combo Jack
|
||||
External Connector Type: Mini Jack (headphones)
|
||||
Port Type: Audio Port
|
||||
|
||||
Handle 0x0015, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0016, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0017, DMI type 8, 9 bytes
|
||||
Port Connector Information
|
||||
Internal Reference Designator: Not Available
|
||||
Internal Connector Type: None
|
||||
External Reference Designator: Ethernet
|
||||
External Connector Type: RJ-45
|
||||
Port Type: Network Port
|
||||
|
||||
Handle 0x0018, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0019, DMI type 8, 9 bytes
|
||||
Port Connector Information
|
||||
Internal Reference Designator: Not Available
|
||||
Internal Connector Type: None
|
||||
External Reference Designator: USB 1
|
||||
External Connector Type: Access Bus (USB)
|
||||
Port Type: USB
|
||||
|
||||
Handle 0x001A, DMI type 8, 9 bytes
|
||||
Port Connector Information
|
||||
Internal Reference Designator: Not Available
|
||||
Internal Connector Type: None
|
||||
External Reference Designator: USB 2
|
||||
External Connector Type: Access Bus (USB)
|
||||
Port Type: USB
|
||||
|
||||
Handle 0x001B, DMI type 8, 9 bytes
|
||||
Port Connector Information
|
||||
Internal Reference Designator: Not Available
|
||||
Internal Connector Type: None
|
||||
External Reference Designator: USB 3
|
||||
External Connector Type: Access Bus (USB)
|
||||
Port Type: USB
|
||||
|
||||
Handle 0x001C, DMI type 8, 9 bytes
|
||||
Port Connector Information
|
||||
Internal Reference Designator: Not Available
|
||||
Internal Connector Type: None
|
||||
External Reference Designator: USB 4
|
||||
External Connector Type: Access Bus (USB)
|
||||
Port Type: USB
|
||||
|
||||
Handle 0x001D, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x001E, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x001F, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0020, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0021, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0022, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0023, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0024, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0025, DMI type 126, 9 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0026, DMI type 9, 17 bytes
|
||||
System Slot Information
|
||||
Designation: ExpressCard Slot
|
||||
Type: x1 PCI Express
|
||||
Current Usage: Available
|
||||
Length: Other
|
||||
ID: 1
|
||||
Characteristics:
|
||||
Hot-plug devices are supported
|
||||
Bus Address: 0000:00:00.0
|
||||
|
||||
Handle 0x0027, DMI type 9, 17 bytes
|
||||
System Slot Information
|
||||
Designation: Media Card Slot
|
||||
Type: Other
|
||||
Current Usage: Available
|
||||
Length: Other
|
||||
Characteristics:
|
||||
Hot-plug devices are supported
|
||||
Bus Address: 0000:00:00.0
|
||||
|
||||
Handle 0x0028, DMI type 126, 17 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x0029, DMI type 10, 6 bytes
|
||||
On Board Device Information
|
||||
Type: Other
|
||||
Status: Disabled
|
||||
Description: IBM Embedded Security hardware
|
||||
|
||||
Handle 0x002A, DMI type 12, 5 bytes
|
||||
System Configuration Options
|
||||
|
||||
Handle 0x002B, DMI type 13, 22 bytes
|
||||
BIOS Language Information
|
||||
Language Description Format: Abbreviated
|
||||
Installable Languages: 1
|
||||
en-US
|
||||
Currently Installed Language: en-US
|
||||
|
||||
Handle 0x002C, DMI type 22, 26 bytes
|
||||
Portable Battery
|
||||
Location: Rear
|
||||
Manufacturer: SANYO
|
||||
Name: 45N1027
|
||||
Design Capacity: 93240 mWh
|
||||
Design Voltage: 11100 mV
|
||||
SBDS Version: 03.01
|
||||
Maximum Error: Unknown
|
||||
SBDS Serial Number: 1504
|
||||
SBDS Manufacture Date: 2012-06-27
|
||||
SBDS Chemistry: LION
|
||||
OEM-specific Information: 0x00000000
|
||||
|
||||
Handle 0x002D, DMI type 126, 26 bytes
|
||||
Inactive
|
||||
|
||||
Handle 0x002E, DMI type 18, 23 bytes
|
||||
32-bit Memory Error Information
|
||||
Type: OK
|
||||
Granularity: Unknown
|
||||
Operation: Unknown
|
||||
Vendor Syndrome: Unknown
|
||||
Memory Array Address: Unknown
|
||||
Device Address: Unknown
|
||||
Resolution: Unknown
|
||||
|
||||
Handle 0x002F, DMI type 21, 7 bytes
|
||||
Built-in Pointing Device
|
||||
Type: Track Point
|
||||
Interface: PS/2
|
||||
Buttons: 3
|
||||
|
||||
Handle 0x0030, DMI type 21, 7 bytes
|
||||
Built-in Pointing Device
|
||||
Type: Touch Pad
|
||||
Interface: PS/2
|
||||
Buttons: 2
|
||||
|
||||
Handle 0x0031, DMI type 131, 22 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
83 16 31 00 01 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 01
|
||||
Strings:
|
||||
TVT-Enablement
|
||||
|
||||
Handle 0x0032, DMI type 136, 6 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
88 06 32 00 5A 5A
|
||||
|
||||
Handle 0x0033, DMI type 130, 20 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
82 14 33 00 24 41 4D 54 01 01 01 01 01 A5 FF 03
|
||||
00 00 01 00
|
||||
|
||||
Handle 0x0034, DMI type 131, 64 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
83 40 34 00 35 00 00 00 08 00 00 00 00 00 45 00
|
||||
F8 00 55 1E FF FF FF FF 09 E0 00 00 00 00 08 00
|
||||
DA 05 0C 00 00 00 00 00 C8 00 02 15 00 00 00 00
|
||||
00 00 00 00 62 00 00 00 76 50 72 6F 00 00 00 00
|
||||
|
||||
Handle 0x0035, DMI type 133, 5 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
85 05 35 00 01
|
||||
Strings:
|
||||
KHOIHGIUCCHHII
|
||||
|
||||
Handle 0x0036, DMI type 135, 74 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
87 4A 36 00 54 50 07 02 42 41 59 20 49 2F 4F 20
|
||||
03 00 06 FF 00 00 00 00 00 00 00 FF 00 00 00 00
|
||||
00 00 00 FF 00 00 00 00 00 00 00 FF 00 00 00 00
|
||||
00 00 00 FF 00 00 00 00 00 00 00 FF 00 00 00 00
|
||||
00 00 00 06 00 02 04 FF 03 FF
|
||||
|
||||
Handle 0x0037, DMI type 15, 31 bytes
|
||||
System Event Log
|
||||
Area Length: 66 bytes
|
||||
Header Start Offset: 0x0000
|
||||
Header Length: 16 bytes
|
||||
Data Start Offset: 0x0010
|
||||
Access Method: General-purpose non-volatile data functions
|
||||
Access Address: 0x00F0
|
||||
Status: Valid, Not Full
|
||||
Change Token: 0x00000003
|
||||
Header Format: Type 1
|
||||
Supported Log Type Descriptors: 4
|
||||
Descriptor 1: POST error
|
||||
Data Format 1: POST results bitmap
|
||||
Descriptor 2: PCI system error
|
||||
Data Format 2: None
|
||||
Descriptor 3: System reconfigured
|
||||
Data Format 3: None
|
||||
Descriptor 4: Log area reset/cleared
|
||||
Data Format 4: None
|
||||
|
||||
Handle 0x0038, DMI type 140, 67 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 43 38 00 4C 45 4E 4F 56 4F 0B 00 01 BC 77 20
|
||||
43 CC FA 2F 68 80 0B 61 BA FC 3F 16 78 01 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00
|
||||
|
||||
Handle 0x0039, DMI type 140, 47 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 2F 39 00 4C 45 4E 4F 56 4F 0B 01 01 29 00 7C
|
||||
64 5E 30 6D 1B B4 B0 0C 64 04 97 40 B8 85 08 04
|
||||
00 00 00 10 00 10 00 10 01 D0 00 20 01 00 01
|
||||
|
||||
Handle 0x003A, DMI type 140, 63 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 3F 3A 00 4C 45 4E 4F 56 4F 0B 02 01 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
|
||||
Handle 0x003B, DMI type 140, 17 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 11 3B 00 4C 45 4E 4F 56 4F 0B 03 01 00 00 00
|
||||
00
|
||||
|
||||
Handle 0x003C, DMI type 140, 19 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 13 3C 00 4C 45 4E 4F 56 4F 0B 04 01 B2 00 4D
|
||||
53 20 00
|
||||
|
||||
Handle 0x003D, DMI type 140, 19 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 13 3D 00 4C 45 4E 4F 56 4F 0B 05 01 05 00 00
|
||||
00 00 00
|
||||
|
||||
Handle 0x003E, DMI type 140, 23 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 17 3E 00 4C 45 4E 4F 56 4F 0B 06 01 7E 14 00
|
||||
00 00 00 00 00 00 00
|
||||
|
||||
Handle 0x003F, DMI type 24, 5 bytes
|
||||
Hardware Security
|
||||
Power-On Password Status: Disabled
|
||||
Keyboard Password Status: Not Implemented
|
||||
Administrator Password Status: Enabled
|
||||
Front Panel Reset Status: Not Implemented
|
||||
|
||||
Handle 0x0040, DMI type 132, 7 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
84 07 40 00 01 D8 36
|
||||
|
||||
Handle 0x0041, DMI type 135, 18 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
87 12 41 00 54 50 07 01 01 D3 7F 00 00 00 75 00
|
||||
00 00
|
||||
|
||||
Handle 0x0042, DMI type 140, 15 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 0F 42 00 4C 45 4E 4F 56 4F 0B 07 01 01 02
|
||||
Strings:
|
||||
G2HT35WW
|
||||
04/09/2014
|
||||
|
||||
Handle 0x0043, DMI type 140, 43 bytes
|
||||
OEM-specific Type
|
||||
Header and Data:
|
||||
8C 2B 43 00 4C 45 4E 4F 56 4F 0B 08 01 02 0E 02
|
||||
02 0B 12 02 0D 0B 0E 0D 01 FF FF FF FF FF FF FF
|
||||
FF FF FF FF FF FF FF FF FF FF FF
|
||||
|
||||
Handle 0xFEFF, DMI type 127, 4 bytes
|
||||
End Of Table
|
||||
|
||||
149645
src/benchmarks/pdns_capture.pcap-demchdc902n-2017-09-01_00-20-02.csv
Normal file
149645
src/benchmarks/pdns_capture.pcap-demchdc902n-2017-09-01_00-20-02.csv
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/benchmarks/pdns_capture.pcap-demchdc902n-2017-09-01_00-20-02.csv.gz
Executable file
BIN
src/benchmarks/pdns_capture.pcap-demchdc902n-2017-09-01_00-20-02.csv.gz
Executable file
Binary file not shown.
7
src/redis_tools/import-parallel.sh
Executable file
7
src/redis_tools/import-parallel.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# plain csv
|
||||
#find /home/felix/pdns -iname 'pdns_capture.pcap-*-2017-09-0[1-7]*.csv' | sort -t- -k3 | xargs -P10 -n1 ./r-4-felix
|
||||
|
||||
# gz csv
|
||||
find /home/felix/pdns -iname 'pdns_capture.pcap-*-2017-09-0[1-6]*.csv.gz' | sort -t- -k3 | xargs -P10 -n1 ./r-4-felix-gz
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in `seq 2337 2345`; do redis-cli -p "$i" bgsave & sleep 4m; done
|
||||
# saves in background! Do not kill before bgsave process finishes
|
||||
for i in `seq 2337 2345`; do redis-cli -p "$i" bgsave; done
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
#find /run/media/felix/disk/pDNS -iname 'pdns_capture.pcap-*-2017-09-0[1-7]*.csv.gz' | sort -t- -k3 | xargs -P10 -n1 ./r-4-felix
|
||||
|
||||
find /home/felix/pdns -iname 'pdns_capture.pcap-*-2017-09-0[1-7]*.csv.gz' | sort -t- -k3 | xargs -P10 -n1 ./r-4-felix-gz
|
||||
4
src/redis_tools/start-all.sh
Executable file
4
src/redis_tools/start-all.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd redis;
|
||||
for i in *_local_*.conf; do sudo -u felix redis-server "$i"; done
|
||||
4
src/redis_tools/stop-all.sh
Executable file
4
src/redis_tools/stop-all.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# this does not persist/snapshot redis!
|
||||
for i in `seq 2337 2345`; do redis-cli -p "$i" SHUTDOWN NOSAVE; done
|
||||
Reference in New Issue
Block a user