In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Disk:
IO Scheduler
CFQ
Deadline
Anticipatory
NOOP
/ sys/block//queue/scheduler
Memory:
MMU two kinds of memory chips
TLB
Vm.swapiness= (0.. 100); propensity to use swap partitions, 60
Overcommit_memory: overuse
Overcommit_ratio
Make full use of physical memory:
1. Swap is as big as RAM, swappiness=0
2 、 overcommit_memory=2, overcommit_ratio=100, swappiness=0
Tcp_max_tw_buckets: turn it up
Tw: number of connections
Established-- > tw
Sar, dstat, vmstat, mpstat, iostat, top, free, iotop, uptime, cat / proc/meminfo, ss, netstat, lsof, time, perf, strace, blktrace, blkparse, btt
Dd, iozone, io-stress, fio
Look at the physical hardware from the perspective of each OS:
CPU: full CPU time slice
Memory: continuous, all memory space (0x0000)
IO: all available IO
Hypervisor Virtualization Software
Virtualized network model:
Bridging
NAT
HOST Only
CPU Virtualization:
CPU instruction set:
General instruction
Special instruction (sensitive instruction)
Some x86 sensitive instructions cannot be virtualized
Basic conditions that virtualization software needs to meet:
CPU hardware Virtualization Technology:
Intel VT-x
AMD AMD-V
Memory Virtualization:
VA without Virtualization-- > PA
VA-- > PA VA-- > HA shadow MMU Intel EPT AMD NPT when there is virtualization
TLB: hardware chip
Full-Virtualization: fully virtualized HVM (Hardware-asistant VM)
Para-virtualization: paravirtualized PV
Integration of PV and HVM
PV on HVM:
IO Virtualization:
QEMU
PV
IO requires high performance and can be transmitted through IO.
Practical operation: compatibility list
Xen Virtualization Architecture
Xen only manages CPU, Memory, interrupt
Qemu: virtualization tool, can also cross-platform virtual CPU is X86 can simulate PowerPC, ARM platform
Xend/xm
Redhat virsh
Openstack
KVM Virtualization Kernel-based Virtual Machine
KVM: kernel module Kernel-- > Hypervisor
The performance of KVM using CPU is better than CPU simulated by Qemu.
KVM can only run on 64-bit operating systems and must run on CPU-assisted virtualization.
KVM is an Israeli company acquired by redhat
Xen is developed by the University of Cambridge and acquired by Citrix.
KVM:virtio (PV IO)
Container: containers are less isolated and perform much better than virtual machines
Simulating .netframework in wine linux environment
Cywin windows environment simulates linux environment
Virtualization technology:
Motherboard chipset:
Intel: IOMMU
AMD:
The virtualization technology of X86 platform is more and more simple and mature.
Intel VT-x 、 EPT 、 IOMMU
The network model is complicated.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.