华为云ARM64服务器试用
公司同事弄了个华为云的ARM64服务器,让我帮忙部署我们的服务,所以先试用了一下。
总体感觉还行,使用的CentOS系统,yum也能用,epel
源也可以用。但是SCL软件集
用不了。
uname -a
Linux unispace-arm 4.14.0-115.8.1.el7a.aarch64 #1 SMP Wed Jun 5 15:01:21 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
服务器配置还行,内存又13G多,4核心的CPU,但是这里看不到CPU的频率。
因为总体性能还行,也能够安装clang,所以编译代码可以直接在上面进行,不需要在本地交叉编译了。
安装了一下clang
,然后编译了一下gdal-2.4.1.tar.gz 试了一下。
全部命令记录如下:
# 安装编译环境
sudo yum install clang libcxx-devel
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100
# 安装依赖项
sudo yum install --downloaddir=./centos.arm64/gdal --downloadonly gdal-devel
cd centos.arm64/gdal
rm gdal-devel-1.11.4-3.el7.aarch64.rpm gdal-libs-1.11.4-3.el7.aarch64.rpm
sudo rpm -ivhU * --nodeps --force
# 下载源码包
wget http://download.osgeo.org/gdal/2.4.1/gdal-2.4.1.tar.gz
tar -xzf gdal-2.4.1.tar.gz
cd gdal-2.4.1
# 生成Makefile
./configure
# 顺利生产GDALmake.opt后,修改它,把gcc替换为clang,g++替换为clang++,并在CXXFLAGS中添加 -I/usr/include/c++/v1
# 编译(4核心,应该用四个线程进行编译的)
make
速度很慢,所以我直接把它丢后台去跑了。晚上11点多开始跑的,到早上九点半还没跑完。
UnixBench测试结果
CPU信息
cat /proc/cpuinfo
processor : 0
BogoMIPS : 100.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 2
processor : 1
BogoMIPS : 100.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 2
processor : 2
BogoMIPS : 100.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 2
processor : 3
BogoMIPS : 100.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 2
硬件信息
sudo lshw
description: Computer
product: KVM Virtual Machine
vendor: QEMU
version: 1.0
width: 64 bits
capabilities: smbios-3.0.0 dmi-3.0.0 smp
configuration: boot=normal uuid=0D0B6108-9D3F-9247-BA32-582E68E9A292
*-core
description: Motherboard
physical id: 0
*-cpu
description: CPU
vendor: QEMU
physical id: 400
bus info: cpu@0
version: 1.0
slot: CPU 0
size: 1MHz
capacity: 2GHz
capabilities: cpufreq
configuration: cores=4 enabledcores=4 threads=1
*-memory
description: System Memory
physical id: 1000
size: 14GiB
capabilities: ecc
configuration: errordetection=multi-bit-ecc
*-bank
description: DIMM RAM
vendor: QEMU
physical id: 0
slot: DIMM 0
size: 14GiB
*-firmware
description: BIOS
vendor: EFI Development Kit II / OVMF
physical id: 0
version: 0.0.0
date: 02/06/2015
size: 96KiB
capabilities: uefi virtualmachine
*-pci
description: Host bridge
product: QEMU PCIe Host bridge
vendor: Red Hat, Inc.
physical id: 100
bus info: pci@0000:00:00.0
version: 00
width: 32 bits
clock: 33MHz
*-pci:0
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 1
bus info: pci@0000:00:01.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:38 memory:eff0000-eff0fff ioport:1000(size=8192) memory:f000000-f1fffff ioport:8000000000(size=2097152)
*-pci
description: PCI bridge
product: Red Hat, Inc.
vendor: Red Hat, Inc.
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 66MHz
capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
resources: memory:f100000-f1000ff ioport:1000(size=4096) memory:f000000-f0fffff ioport:8000000000(size=1048576)
*-usb
description: USB controller
product: 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:02:01.0
version: 10
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master
configuration: driver=ehci-pci latency=0
resources: irq:38 memory:f000000-f000fff
*-usbhost
product: EHCI Host Controller
vendor: Linux 4.14.0-115.8.1.el7a.aarch64 ehci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 4.14
capabilities: usb-2.00
configuration: driver=hub slots=6 speed=480Mbit/s
*-usb:0
description: Mouse
product: QEMU USB Tablet
vendor: QEMU
physical id: 1
bus info: usb@1:1
version: 0.00
serial: 42
capabilities: usb-2.00
configuration: driver=usbhid maxpower=100mA speed=480Mbit/s
*-usb:1
description: Keyboard
product: QEMU USB Keyboard
vendor: QEMU
physical id: 2
bus info: usb@1:2
version: 0.00
serial: 42
capabilities: usb-2.00
configuration: driver=usbhid maxpower=100mA speed=480Mbit/s
*-generic
description: Unclassified device
product: Virtio memory balloon
vendor: Red Hat, Inc.
physical id: 2
bus info: pci@0000:02:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=virtio-pci latency=0
resources: iomemory:800-7ff irq:40 ioport:1000(size=32) memory:8000000000-8000003fff
*-virtio0 UNCLAIMED
description: Virtual I/O device
physical id: 0
bus info: virtio@0
configuration: driver=virtio_balloon
*-display
description: Display controller
product: Virtio GPU
vendor: Red Hat, Inc.
physical id: 3
bus info: pci@0000:02:03.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: msix bus_master cap_list
configuration: driver=virtio-pci latency=0
resources: iomemory:800-7ff irq:37 memory:f001000-f001fff memory:8000004000-8000007fff
*-virtio1 UNCLAIMED
description: Virtual I/O device
physical id: 0
bus info: virtio@1
configuration: driver=virtio_gpu
*-pci:1
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 1.1
bus info: pci@0000:00:01.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:38 memory:eff1000-eff1fff ioport:3000(size=4096) memory:f200000-f3fffff ioport:8000200000(size=2097152)
*-scsi
description: SCSI storage controller
product: Virtio SCSI
vendor: Red Hat, Inc.
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: scsi msix pm pciexpress bus_master cap_list
configuration: driver=virtio-pci latency=0
resources: iomemory:800-7ff irq:38 memory:f200000-f200fff memory:8000200000-8000203fff
*-virtio2 UNCLAIMED
description: Virtual I/O device
physical id: 0
bus info: virtio@2
configuration: driver=virtio_scsi
*-pci:2
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 1.2
bus info: pci@0000:00:01.2
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:38 memory:eff2000-eff2fff ioport:4000(size=4096) memory:f400000-f5fffff ioport:8000400000(size=2097152)
*-network
description: Ethernet controller
product: Virtio network device
vendor: Red Hat, Inc.
physical id: 0
bus info: pci@0000:04:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: msix pm pciexpress bus_master cap_list rom
configuration: driver=virtio-pci latency=0
resources: iomemory:800-7ff irq:38 memory:f440000-f440fff memory:8000400000-8000403fff memory:f400000-f43ffff
*-virtio3
description: Ethernet interface
physical id: 0
bus info: virtio@3
logical name: eth0
serial: fa:16:3e:ae:e5:5f
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=virtio_net driverversion=1.0.0 ip=192.168.1.148 link=yes multicast=yes
*-pci:3
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 1.3
bus info: pci@0000:00:01.3
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:38 memory:eff3000-eff3fff ioport:5000(size=4096) memory:f600000-f7fffff ioport:8000600000(size=2097152)
*-scsi
description: SCSI storage controller
product: Virtio block device
vendor: Red Hat, Inc.
physical id: 0
bus info: pci@0000:05:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: scsi msix pm pciexpress bus_master cap_list
configuration: driver=virtio-pci latency=0
resources: iomemory:800-7ff irq:38 memory:f600000-f600fff memory:8000600000-8000603fff
*-virtio4
description: Virtual I/O device
physical id: 0
bus info: virtio@4
logical name: /dev/vda
size: 40GiB (42GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: driver=virtio_blk guid=fa5d4cb9-c419-4dbe-afbe-bfc942811628 logicalsectorsize=512 sectorsize=512
*-volume:0
description: Windows FAT volume
vendor: mkfs.fat
physical id: 1
bus info: virtio@4,1
logical name: /dev/vda1
logical name: /boot/efi
version: FAT32
serial: 23b4-3a70
size: 1023MiB
capacity: 1023MiB
capabilities: boot fat initialized
configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro name=EFI System Partition state=mounted
*-volume:1
description: EXT4 volume
vendor: Linux
physical id: 2
bus info: virtio@4,2
logical name: /dev/vda2
logical name: /
version: 1.0
serial: ff97999c-00a4-4eeb-857c-90aac853140d
size: 38GiB
capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuration: created=2019-05-30 16:20:13 filesystem=ext4 lastmountpoint=/ modified=2019-07-02 21:37:36 mount.fstype=ext4 mount.options=rw,relatime,data=ordered mounted=2019-07-02 21:37:38 state=mounted
*-pci:4
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 1.4
bus info: pci@0000:00:01.4
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:38 memory:eff4000-eff4fff ioport:6000(size=4096) memory:f800000-f9fffff ioport:8000800000(size=2097152)
*-scsi
description: SCSI storage controller
product: Virtio block device
vendor: Red Hat, Inc.
physical id: 0
bus info: pci@0000:06:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: scsi msix pm pciexpress bus_master cap_list
configuration: driver=virtio-pci latency=0
resources: iomemory:800-7ff irq:38 memory:f800000-f800fff memory:8000800000-8000803fff
*-virtio5
description: Virtual I/O device
physical id: 0
bus info: virtio@5
logical name: /dev/vdb
size: 40GiB (42GB)
configuration: driver=virtio_blk logicalsectorsize=512 sectorsize=512
*-pci:5
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 1.5
bus info: pci@0000:00:01.5
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:38 memory:eff5000-eff5fff ioport:7000(size=4096) memory:fa00000-fbfffff ioport:8000a00000(size=2097152)
*-pci:6
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 1.6
bus info: pci@0000:00:01.6
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:38 memory:eff6000-eff6fff ioport:8000(size=4096) memory:fc00000-fdfffff ioport:8000c00000(size=2097152)
*-pci:7
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 1.7
bus info: pci@0000:00:01.7
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:38 memory:eff7000-eff7fff ioport:9000(size=4096) memory:fe00000-fffffff ioport:8000e00000(size=2097152)
*-pci:8
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:39 memory:eff8000-eff8fff ioport:a000(size=4096) memory:10000000-101fffff ioport:8001000000(size=2097152)
*-pci:9
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 2.1
bus info: pci@0000:00:02.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:39 memory:eff9000-eff9fff ioport:b000(size=4096) memory:10200000-103fffff ioport:8001200000(size=2097152)
*-pci:10
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 2.2
bus info: pci@0000:00:02.2
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:39 memory:effa000-effafff ioport:c000(size=4096) memory:10400000-105fffff ioport:8001400000(size=2097152)
*-pci:11
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 2.3
bus info: pci@0000:00:02.3
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:39 memory:effb000-effbfff ioport:d000(size=4096) memory:10600000-107fffff ioport:8001600000(size=2097152)
*-pci:12
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 2.4
bus info: pci@0000:00:02.4
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:39 memory:effc000-effcfff ioport:e000(size=4096) memory:10800000-109fffff ioport:8001800000(size=2097152)
*-pci:13
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 2.5
bus info: pci@0000:00:02.5
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:39 memory:effd000-effdfff ioport:f000(size=4096) memory:10a00000-10bfffff ioport:8001a00000(size=2097152)
*-pci:14
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 2.6
bus info: pci@0000:00:02.6
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:39 memory:effe000-effefff ioport:10000(size=4096) memory:10c00000-10dfffff ioport:8001c00000(size=2097152)
*-pci:15
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 2.7
bus info: pci@0000:00:02.7
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:39 memory:efff000-effffff ioport:11000(size=4096) memory:10e00000-10ffffff ioport:8001e00000(size=2097152)
*-pci:16
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 3
bus info: pci@0000:00:03.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 memory:12a00000-12a00fff ioport:12000(size=4096) memory:11000000-111fffff ioport:8002000000(size=2097152)
*-pci:17
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 3.1
bus info: pci@0000:00:03.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 memory:12a01000-12a01fff ioport:13000(size=4096) memory:11200000-113fffff ioport:8002200000(size=2097152)
*-pci:18
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 3.2
bus info: pci@0000:00:03.2
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 memory:12a02000-12a02fff ioport:14000(size=4096) memory:11400000-115fffff ioport:8002400000(size=2097152)
*-pci:19
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 3.3
bus info: pci@0000:00:03.3
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 memory:12a03000-12a03fff ioport:15000(size=4096) memory:11600000-117fffff ioport:8002600000(size=2097152)
*-pci:20
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 3.4
bus info: pci@0000:00:03.4
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 memory:12a04000-12a04fff ioport:16000(size=4096) memory:11800000-119fffff ioport:8002800000(size=2097152)
*-pci:21
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 3.5
bus info: pci@0000:00:03.5
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 memory:12a05000-12a05fff ioport:17000(size=4096) memory:11a00000-11bfffff ioport:8002a00000(size=2097152)
*-pci:22
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 3.6
bus info: pci@0000:00:03.6
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 memory:12a06000-12a06fff ioport:18000(size=4096) memory:11c00000-11dfffff ioport:8002c00000(size=2097152)
*-pci:23
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 3.7
bus info: pci@0000:00:03.7
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 memory:12a07000-12a07fff ioport:19000(size=4096) memory:11e00000-11ffffff ioport:8002e00000(size=2097152)
*-pci:24
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 4
bus info: pci@0000:00:04.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:37 memory:12a08000-12a08fff ioport:1a000(size=4096) memory:12000000-121fffff ioport:8003000000(size=2097152)
*-pci:25
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 4.1
bus info: pci@0000:00:04.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:37 memory:12a09000-12a09fff ioport:1b000(size=4096) memory:12200000-123fffff ioport:8003200000(size=2097152)
*-pci:26
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 4.2
bus info: pci@0000:00:04.2
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:37 memory:12a0a000-12a0afff ioport:1c000(size=4096) memory:12400000-125fffff ioport:8003400000(size=2097152)
*-pci:27
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 4.3
bus info: pci@0000:00:04.3
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:37 memory:12a0b000-12a0bfff ioport:1d000(size=4096) memory:12600000-127fffff ioport:8003600000(size=2097152)
*-pci:28
description: PCI bridge
product: QEMU PCIe Root port
vendor: Red Hat, Inc.
physical id: 4.4
bus info: pci@0000:00:04.4
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msix normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:37 memory:12a0c000-12a0cfff ioport:1e000(size=4096) memory:12800000-129fffff ioport:8003800000(size=2097152)
*-pnp00:00
product: PnP device PNP0c02
physical id: 1
capabilities: pnp
configuration: driver=system
华为云ARM64服务器试用的更多相关文章
- 华为云linux服务器部署TensorFlow-gpu全攻略
最近在玩谷歌新开源的自然语言模型bert,最开始是在google的免费GPU上面来弄的(这个部分其实也是可以写一个教程的,中间坑也挺多).但谷歌比较坑人,小数据集还行,大点的数据集训练耗费时间长,再加 ...
- 转载: ssh连接上华为云Linux服务器,一会就自动断开
原文链接:https://www.cnblogs.com/mspeer/p/9907734.html 客户端向服务端发送心跳 依赖 ssh 客户端定时发送心跳,putty.SecureCRT.XShe ...
- ssh连接上腾讯云、华为云Linux服务器,一会就自动断开
客户端向服务端发送心跳 依赖 ssh 客户端定时发送心跳,putty.SecureCRT.XShell 都有这个功能. Linux / Unix 下,编辑 ssh 配置文件: # vim /etc/s ...
- 不服跑个分:ARM鲲鹏云服务器实战评测——华为云鲲鹏KC1实例 vs. 阿里云G5实例【华为云技术分享】
原文链接:https://m.ithome.com/html/444828.htm 今年一月份,华为正式发布了鲲鹏920数据中心高性能处理器,该处理器兼容ARM架构,采用7纳米制造,最高支持64核,主 ...
- [转帖]华为鲲鹏云服务器实战:华为云鲲鹏KC1实例 vs. 阿里云G5实例
鲲鹏云服务器实战:华为云鲲鹏KC1实例 vs. 阿里云G5实例 https://m.ithome.com/html/444828.htm 2019-09-12 15:25IT之家 (阿迷) 今年一月份 ...
- 华为ARM64服务器上手体验--不吹不黑,用实际应用来看看TaiShan鲲鹏的表现
背景 中美贸易冲突以来,相信最大的感受,并不是我对你加多少关税,而是我有,可我不卖给你."禁售"成了市场经济中最大的竞争力. 相信也是因为这个原因,华为"备胎转正&quo ...
- 华为云(ECS)-linux服务器中-Ubuntu图形界面安装-解决root登录受限-VNCviwer/Teamviwer远程访问教程
安装ubuntu-desktop .更新软件库 apt-get update .升级软件 apt-get upgrade .安装桌面 apt-get install ubuntu-desktop 解决 ...
- 华为云服务器为Tomcat配置SSL
近期由于开发小程序需要在云服务器上配置https访问协议,也遇到了一点小问题,把配置过程记录一下:SSL 证书申请下来之后会有 .jks .crt .pfx .pem为后缀的文件(如何申请SSL证书这 ...
- 关于购买Redis服务器:腾讯云、阿里云还是华为云?
个人分类: redis使用 编辑 新年伊始,很多商家都开始进行新年产品大促销,在分布是缓存Redis领域,几家大公司也是打得如火如荼,各有千秋啊. 现在市场上比较有口碑的商家有腾讯云.阿里云.华为云三 ...
随机推荐
- cookie和session。
Cookie和Session: 会话技术: 1.会话:一次会话中包含多次请求和响应. * 一次会话:浏览器第一次给服务器发送请求,会话建立,直到一方断开为止. 2.功能:在一次会话的范围内的多次请求间 ...
- Redis的内存分配
内存分配 Redis进程的内存消耗主要包括:自身内存 + 对象内存 + 缓冲内存 + 内存碎片.1 自身内存 Redis自身内存消耗非常少,通常used_memory在800KB左右,used_mem ...
- CSS选择符总结(Selectors)
一.通配选择符(Universal Selector): 语法:* 说明:1.*表示通配符,表示所有的 2.格式:*{样式列表} 3.用于整个页 ...
- hadoop安装教程,分布式配置 CentOS7 Hadoop3.1.2
安装前的准备 1. 准备4台机器.或虚拟机 4台机器的名称和IP对应如下 master:192.168.199.128 slave1:192.168.199.129 slave2:192.168.19 ...
- test20191020 往复
往复 Coldhac 做不出题了,他在长为 n 的走廊里走来走去.从位置 1 开始, 每次他会向前走长为 i ∈ [1, k] 的一步(不能超出走廊的范围),直至到达位 置 n. 在想出正解前,Col ...
- python在windows(双版本)及linux(源码编译)环境下安装
python下载 下载地址:https://www.python.org/downloads/ 可以下载需要的版本,这里选择2.7.12和3.6.2 下面第一个是linux版本,第二个是windows ...
- UFUN 函数 UF_UI UF_DISP函数( UF_UI_select_with_class_dialog 、UF_DISP_set_highlight)
//设置class_dialog选择过滤 static int init_proc(UF_UI_selection_p_t select,void* user_data) { //过滤类别的个数 ; ...
- python函数 | 列表生成式
在编写程序或者查看别人的程序时,经常会遇到列表生成式,这个使用起来并不复杂,但是非常有用,使我们的代码更加简洁灵活.很多python使用者并不太会使用它.今天,就给大家详细讲解列表生成式和生成器表达式 ...
- K8s无状态控制器原理介绍
Pod控制器: ReplicationController:早期K8s只有这一个控制器,但后来发现让这一个来完成所有任务,太复杂.因此被废弃. ReplicaSet: 它用于帮助用户创建指定数量的Po ...
- python 一个二维数组和一个整数,判断数组中是否含有该整数
在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序. 请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数. de ...