云筏 2H4G200G HZ德国机房机器信息

双核 E5-1650 v2 @ 3.50GHz
RAM 3.8 GB
硬盘 197 GB
流量 2T
网卡 1 GBps
续费 24¥/月

root@CR-191214-S4FM:~# df -h

Filesystem      Size  Used Avail Use% Mounted on

udev            1.9G     0  1.9G   0% /dev

tmpfs           386M   41M  345M  11% /run

/dev/vda1       197G 1001M  186G   1% /

tmpfs           1.9G     0  1.9G   0% /dev/shm

tmpfs           5.0M     0  5.0M   0% /run/lock

tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup

tmpfs           386M     0  386M   0% /run/user/0

root@CR-191214-S4FM:~# free -h

              total        used        free      shared  buff/cache   available

Mem:          3.8Gi        67Mi       3.5Gi        40Mi       185Mi       3.5Gi

Swap:            0B          0B          0B

root@CR-191214-S4FM:~# cat /proc/cpuinfo

processor       : 0

vendor_id       : GenuineIntel

cpu family      : 6

model           : 62

model name      : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz

stepping        : 4

microcode       : 0x1

cpu MHz         : 3499.998

cache size      : 12288 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 xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust smep erms xsaveopt arat md_clear

bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs

bogomips        : 6999.99

clflush size    : 64

cache_alignment : 64

address sizes   : 46 bits physical, 48 bits virtual

power management:


HostHatch 荷兰存储机器信息

单核 E5-2620 v2 @ 2.40 GHz
RAM 483 MB
SWAP 511 MB
硬盘 246 GB
网卡 1 GBps
流量 1T
续费 15刀

root@server:~# df -h

Filesystem      Size  Used Avail Use% Mounted on

udev            228M     0  228M   0% /dev

tmpfs            49M  1.6M   47M   4% /run

/dev/vda1       246G  1.2G  245G   1% /

tmpfs           242M     0  242M   0% /dev/shm

tmpfs           5.0M     0  5.0M   0% /run/lock

tmpfs           242M     0  242M   0% /sys/fs/cgroup

tmpfs            49M     0   49M   0% /run/user/0

root@server:~# free -h

              total        used        free      shared  buff/cache   available

Mem:          483Mi        81Mi       220Mi       1.0Mi       180Mi       387Mi

Swap:         511Mi          0B       511Mi

root@server:~# cat /proc/cpuinfo

processor       : 0

vendor_id       : GenuineIntel

cpu family      : 6

model           : 63

model name      : Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz

stepping        : 2

microcode       : 0x1

cpu MHz         : 2399.998

cache size      : 15360 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 cpuid tsc_known_freq 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 invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt

bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit

bogomips        : 4799.99

clflush size    : 64

cache_alignment : 64

address sizes   : 46 bits physical, 48 bits virtual

power management:

配置 HostHatch 荷兰大盘鸡作为 NFS 服务器

IP 1.2.3.4

apt install nfs-kernel-server && \

mkdir /nfs2 && \

cat << EOF >> /etc/exports

/nfs2  4.3.2.1(rw,no_root_squash,no_subtree_check,sync,fsid=2)

EOF

exportfs -ra && \

systemctl restart nfs-server.service

配置云筏 2H4G200G HZ德国机房机器作为 NFS 客户机

IP 4.3.2.1

apt install nfs-common && \

mkdir /nfs

mount -t nfs 1.2.3.4:/nfs2 /nfs


测试读写速度

root@CR-191214-S4FM:/nfs# time dd if=/dev/zero of=/nfs/128MB.bin bs=128k count=1024

1024+0 records in

1024+0 records out

134217728 bytes (134 MB, 128 MiB) copied, 4.93679 s, 27.2 MB/s

real    0m5.176s

user    0m0.000s

sys     0m0.824s

root@CR-191214-S4FM:/nfs#  time dd if=/nfs/256MB.bin of=/dev/null bs=256k count=1024

1024+0 records in

1024+0 records out

268435456 bytes (268 MB, 256 MiB) copied, 0.123009 s, 2.2 GB/s

real    0m0.150s

user    0m0.017s

sys     0m0.094s


为什么这个写入速度这么低呢?

写入速度 27.2 MB/s
读取速度 2.2 GB/s

开机自动挂载

cat << "EOF" >> /etc/fstab

1.2.3.4:/nfs /nfs nfs defaults 0 0

EOF


# https://www.hostloc.com/forum.php?mod=viewthread&tid=624063&highlight=%E4%BA%91%E7%AD%8F

Last modification:June 5, 2020
如果觉得我的文章对你有用,请随意赞赏