Skip to content

Instantly share code, notes, and snippets.

@okamuuu
Created October 24, 2017 04:30
Show Gist options
  • Save okamuuu/333e73b28f54888f07001350c9a68d09 to your computer and use it in GitHub Desktop.
Save okamuuu/333e73b28f54888f07001350c9a68d09 to your computer and use it in GitHub Desktop.
ISUCON7 予選時のマシンスペック

ISUCON7 予選時のマシンスペック

OS

$ uname -a
Linux app2693 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

CPU

$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz
stepping	: 2
microcode	: 0x1
cpu MHz		: 2294.704
cache size	: 4096 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 lm constant_tsc arch_perfmon nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm fsgsbase bmi1 avx2 smep bmi2 invpcid xsaveopt
bugs		:
bogomips	: 4589.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

Memory

$ cat /proc/meminfo
MemTotal:        1016132 kB
MemFree:          188708 kB
MemAvailable:     436236 kB
Buffers:          141220 kB
Cached:           210252 kB
SwapCached:        10724 kB
Active:           352436 kB
Inactive:         384080 kB
Active(anon):     158984 kB
Inactive(anon):   235440 kB
Active(file):     193452 kB
Inactive(file):   148640 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       4194300 kB
SwapFree:        4178288 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:        374400 kB
Mapped:            33180 kB
Shmem:              9380 kB
Slab:              76344 kB
SReclaimable:      66176 kB
SUnreclaim:        10168 kB
KernelStack:        1984 kB
PageTables:         2760 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     4702364 kB
Committed_AS:     642280 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:    344064 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       40948 kB
DirectMap2M:     1007616 kB
DirectMap1G:           0 kB

HDD or SSD

$ lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
fd0      2:0    1    4K  0 disk 
sr0     11:0    1 1024M  0 rom  
sr1     11:1    1 1024M  0 rom  
vda    253:0    0   20G  0 disk 
├─vda1 253:1    0    1M  0 part 
├─vda2 253:2    0    4G  0 part [SWAP]
└─vda3 253:3    0   16G  0 part /

0 が SSD, 1 が HDD

$ cat /sys/block/fd0/queue/rotational
1
$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
udev              489752       0    489752   0% /dev
tmpfs             101616   12920     88696  13% /run
/dev/vda3       16379816 5335608  10189120  35% /
tmpfs             508064       0    508064   0% /dev/shm
tmpfs               5120       0      5120   0% /run/lock
tmpfs             508064       0    508064   0% /sys/fs/cgroup

もしくは sudo lshw で確認できる

$ sudo lshw
app2693                   
    description: Computer
    product: SAKURA CLOUD KVM (sac-tk1a-sv522)
    vendor: SAKURA Internet Inc.
    version: 2.4
    serial: 112901335553
    width: 64 bits
    capabilities: smbios-2.4 dmi-2.4 vsyscall32
    configuration: boot=normal family=tk1a sku=sac-tk1a-sv522 uuid=CB4D56F3-C4A5-4460-AF67-87DBA9CDDA48
  *-core
       description: Motherboard
       physical id: 0
     *-firmware
          description: BIOS
          vendor: SAKURA Internet Inc.
          physical id: 0
          version: 2.4
          date: 10/27/2016
          size: 96KiB
     *-cpu
          description: CPU
          product: Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz
          vendor: Intel Corp.
          physical id: 401
          bus info: cpu@0
          slot: CPU 1
          size: 2GHz
          capacity: 2GHz
          width: 64 bits
          capabilities: fpu fpu_exception wp 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 x86-64 constant_tsc arch_perfmon nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm fsgsbase bmi1 avx2 smep bmi2 invpcid xsaveopt
     *-memory
          description: System Memory
          physical id: 1000
          size: 1GiB
          capacity: 1GiB
        *-bank
             description: DIMM RAM
             physical id: 0
             slot: DIMM 0
             size: 1GiB
             width: 64 bits
     *-pci
          description: Host bridge
          product: 440FX - 82441FX PMC [Natoma]
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 02
          width: 32 bits
          clock: 33MHz
        *-isa
             description: ISA bridge
             product: 82371SB PIIX3 ISA [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-ide
             description: IDE interface
             product: 82371SB PIIX3 IDE [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: 1.1
             bus info: pci@0000:00:01.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master
             configuration: driver=ata_piix latency=0
             resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:c000(size=16)
        *-usb
             description: USB controller
             product: 82371SB PIIX3 USB [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: 1.2
             bus info: pci@0000:00:01.2
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:11 ioport:c020(size=32)
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 4.4.0-96-generic uhci_hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 4.04
                capabilities: usb-1.10
                configuration: driver=hub slots=2 speed=12Mbit/s
              *-usb
                   description: Mouse
                   product: QEMU USB Tablet
                   vendor: QEMU 0.12.1
                   physical id: 1
                   bus info: usb@1:1
                   version: 0.00
                   serial: 42
                   capabilities: usb-2.00
                   configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
        *-bridge
             description: Bridge
             product: 82371AB/EB/MB PIIX4 ACPI
             vendor: Intel Corporation
             physical id: 1.3
             bus info: pci@0000:00:01.3
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: bridge
             configuration: driver=piix4_smbus latency=0
             resources: irq:9
        *-display UNCLAIMED
             description: VGA compatible controller
             product: GD 5446
             vendor: Cirrus Logic
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: vga_controller
             configuration: latency=0
             resources: memory:f0000000-f1ffffff memory:f2000000-f2000fff memory:f2010000-f201ffff
        *-network:0
             description: Ethernet interface
             product: Virtio network device
             vendor: Red Hat, Inc
             physical id: 3
             bus info: pci@0000:00:03.0
             logical name: eth0
             version: 00
             serial: 9c:a3:ba:31:e7:fd
             width: 32 bits
             clock: 33MHz
             capabilities: msix bus_master cap_list rom ethernet physical
             configuration: autonegotiation=off broadcast=yes driver=virtio_net driverversion=1.0.0 ip=163.43.29.50 latency=0 link=yes multicast=yes
             resources: irq:10 ioport:c040(size=32) memory:f2020000-f2020fff memory:f2030000-f203ffff
        *-network:1
             description: Ethernet interface
             product: Virtio network device
             vendor: Red Hat, Inc
             physical id: 4
             bus info: pci@0000:00:04.0
             logical name: eth1
             version: 00
             serial: 9c:a3:ba:31:b2:9f
             width: 32 bits
             clock: 33MHz
             capabilities: msix bus_master cap_list rom ethernet physical
             configuration: autonegotiation=off broadcast=yes driver=virtio_net driverversion=1.0.0 ip=192.168.101.3 latency=0 link=yes multicast=yes
             resources: irq:11 ioport:c060(size=32) memory:f2040000-f2040fff memory:f2050000-f205ffff
        *-memory
             description: RAM memory
             product: Virtio memory balloon
             vendor: Red Hat, Inc
             physical id: 5
             bus info: pci@0000:00:05.0
             version: 00
             width: 32 bits
             clock: 33MHz (30.3ns)
             capabilities: bus_master
             configuration: driver=virtio-pci latency=0
             resources: irq:10 ioport:c080(size=32)
        *-scsi
             description: SCSI storage controller
             product: Virtio block device
             vendor: Red Hat, Inc
             physical id: 6
             bus info: pci@0000:00:06.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: scsi msix bus_master cap_list
             configuration: driver=virtio-pci latency=0
             resources: irq:11 ioport:c0c0(size=64) memory:f2060000-f2060fff
     *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-cdrom
             description: SCSI CD-ROM
             physical id: 0.1.0
             bus info: scsi@0:0.1.0
             logical name: /dev/cdrom
             logical name: /dev/sr0
             capabilities: audio
             configuration: status=nodisc
     *-scsi:1
          physical id: 2
          logical name: scsi1
          capabilities: emulated
        *-cdrom
             description: SCSI CD-ROM
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/dvd
             logical name: /dev/sr1
             capabilities: audio
             configuration: status=nodisc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment