Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding dmidecode support in server-info for better view of memory subsystem #178

Merged
merged 18 commits into from
Dec 18, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added(test-data): server-info archive from cheapest vscale CentOS 7
  • Loading branch information
strizhechenko committed Dec 17, 2017
commit a7c01fb39ae325fcf6dccb3eeda4525707964e4b
26 changes: 26 additions & 0 deletions tests/server-info-show.tests/vscale-vm/cpuinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
stepping : 1
microcode : 0x1
cpu MHz : 2199.986
cache size : 25600 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat
bogomips : 4399.97
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

1 change: 1 addition & 0 deletions tests/server-info-show.tests/vscale-vm/disks_types
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/sys/block/vda/queue/rotational:1
27 changes: 27 additions & 0 deletions tests/server-info-show.tests/vscale-vm/dmidecode
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
Location: Other
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 512 MB
Error Information Handle: Not Provided
Number Of Devices: 1

Handle 0x1100, DMI type 17, 21 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: DIMM 0
Bank Locator: Not Specified
Type: RAM
Type Detail: None

12 changes: 12 additions & 0 deletions tests/server-info-show.tests/vscale-vm/ethtool/g/eth0
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Ring parameters for eth0:
Pre-set maximums:
RX: 256
RX Mini: 0
RX Jumbo: 0
TX: 256
Current hardware settings:
RX: 256
RX Mini: 0
RX Jumbo: 0
TX: 256

10 changes: 10 additions & 0 deletions tests/server-info-show.tests/vscale-vm/ethtool/i/eth0
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
driver: virtio_net
version: 1.0.0
firmware-version:
expansion-rom-version:
bus-info: 0000:00:03.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
34 changes: 34 additions & 0 deletions tests/server-info-show.tests/vscale-vm/interrupts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
CPU0
0: 24 IO-APIC-edge timer
1: 10 IO-APIC-edge i8042
6: 3 IO-APIC-edge floppy
8: 1 IO-APIC-edge rtc0
9: 0 IO-APIC-fasteoi acpi
10: 0 IO-APIC-fasteoi virtio2
11: 0 IO-APIC-fasteoi uhci_hcd:usb1
12: 15 IO-APIC-edge i8042
14: 0 IO-APIC-edge ata_piix
15: 0 IO-APIC-edge ata_piix
24: 0 PCI-MSI-edge virtio1-config
25: 607727 PCI-MSI-edge virtio1-req.0
26: 0 PCI-MSI-edge virtio0-config
27: 6070473 PCI-MSI-edge virtio0-input.0
28: 17 PCI-MSI-edge virtio0-output.0
NMI: 0 Non-maskable interrupts
LOC: 45350286 Local timer interrupts
SPU: 0 Spurious interrupts
PMI: 0 Performance monitoring interrupts
IWI: 4143286 IRQ work interrupts
RTR: 0 APIC ICR read retries
RES: 0 Rescheduling interrupts
CAL: 0 Function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
THR: 0 Threshold APIC interrupts
DFR: 0 Deferred Error APIC interrupts
MCE: 0 Machine check exceptions
MCP: 3760 Machine check polls
ERR: 0
MIS: 0
PIN: 0 Posted-interrupt notification event
PIW: 0 Posted-interrupt wakeup event
2 changes: 2 additions & 0 deletions tests/server-info-show.tests/vscale-vm/lsblk_models
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NAME MODEL
vda
2 changes: 2 additions & 0 deletions tests/server-info-show.tests/vscale-vm/lsblk_sizes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
21474836480 vda
21473771008 / vda1
25 changes: 25 additions & 0 deletions tests/server-info-show.tests/vscale-vm/lscpu_info
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 79
Model name: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Stepping: 1
CPU MHz: 2199.986
BogoMIPS: 4399.97
Virtualization: VT-x
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 25600K
NUMA node0 CPU(s): 0
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat
1 change: 1 addition & 0 deletions tests/server-info-show.tests/vscale-vm/lscpu_layout
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0 0
9 changes: 9 additions & 0 deletions tests/server-info-show.tests/vscale-vm/lspci
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
00:04.0 SCSI storage controller: Red Hat, Inc Virtio block device
00:05.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon
44 changes: 44 additions & 0 deletions tests/server-info-show.tests/vscale-vm/meminfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
MemTotal: 500196 kB
MemFree: 78272 kB
MemAvailable: 244516 kB
Buffers: 12476 kB
Cached: 182816 kB
SwapCached: 0 kB
Active: 280112 kB
Inactive: 73088 kB
Active(anon): 169404 kB
Inactive(anon): 23084 kB
Active(file): 110708 kB
Inactive(file): 50004 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 2552 kB
Writeback: 0 kB
AnonPages: 157956 kB
Mapped: 20892 kB
Shmem: 34580 kB
Slab: 42348 kB
SReclaimable: 18672 kB
SUnreclaim: 23676 kB
KernelStack: 1760 kB
PageTables: 12144 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 250096 kB
Committed_AS: 1101672 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 3268 kB
VmallocChunk: 34359725676 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 57324 kB
DirectMap2M: 466944 kB
DirectMap1G: 0 kB
Empty file.
1 change: 1 addition & 0 deletions tests/server-info-show.tests/vscale-vm/scsi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Attached devices: