Connect back: http://blog.csdn.net/pennyliang/archive/2011/03/08/6231709.aspx
There is no room for optimization in the method of using complex commands. The optimization work relies entirely on Intel engineers and uses streamlined commands to expand
Problem background:
Mistakenly using form
Use AJAX data in JS code to submit requests again to the background eg:url: "/test2"
Problem Error:
The background correctly returns the content of the "/test2" request, but jumps directly to the AJAX
Preface
Local download files have actually been contacted before, but there is always the question is that the download must open a new window, through the AJAX request can not achieve the purpose of downloading files, so generally for the
How to identify the number of physical CPUs, whether hyper-threading or multi-core Jun.04, 2009 in servers
Judgment basis:1. The cpu with the same core id is hyper-threading of the same core.2. A cpu with the same physical id is a thread or cores encapsulated by the same cpu.
English version:1. Physical id and core id are not necessarily consecutive but they are unique. Any cpu with the same core id are hyperthreads in the same core.2. Any cpu with the same physical id are threads or cores in th
Check the memory information, CAT/proc/meminfo. Similarly, check the CPU information. CAT/proc/cpuinfo sometimes has such questions. For example, if the 4-core CPU is a 2-core CPU * dual-core, or 1 CPU * quad core? There is a simple method: the number of processor, the number of cores, and the number of CPUs, depending on the physical ID + 1 of the last Processor
For example:
processor : 0vendor_id : GenuineIntelcpu family : 6model : 23model name : Pentium(R) Dual
View Linux Server CPU
Two Guiding Principles
# CPU with the same core ID is hyper-threading of the same core #
# A cpu with the same physical ID is a thread or core encapsulated by the same CPU #
CAT/proc/cpuinfo | grep 'siblings'
[[Email protected] ~] # Arch# This is my R51 old notebook #
I686
[[Email protected] ~] # Cat/proc/cpuinfo # This is my R51 old notebook #
Processor: 0 # This indicates the first CPU kernel from 0 #
Vendor_id: genuineintel
CPU family: 6
Model: 13
Model name:Intel (
386, it is the CPU level.
I586-is a 586-level computer, including the first generation of pentum mmx cpu, AMD K5, and K6 system CPU (socket7 pin.
I686-pentum 2 after the Intel system CPU and K7 after the CPU level belongs to this 686 level.
You can query your CPU level through the/proc/cpuinfo file.
II. View CPU information
We can view CPU information through the/proc/cpuinfo file.
[Root @ qs-wgdb-1 proc] # more/proc/cpuinfo
Processor: 0
Vendor_id: GenuineIntel
Cpu family: 6
Model: 44
Model
How to identify the number of physical CPUs, a few cores, is hyper-threading or multi-core
Judge the basis:
1. CPUs with the same core ID are the same core hyper-threading.2. CPUs with the same physical ID are the same CPU-encapsulated threads or cores.
English version:
1.Physical ID and core ID are not necessarily consecutive but they unique. Any CPUs with the same core ID are hyperthreads in the same core.2.Any CPU with the same physical ID are threads or cores in the same socket.
Insta
1. view the production system version# Uname-
Linux applications-test-game 2.6.9-11. elsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i68
6 i386 GNU/Linux
# Cat/proc/version
Linux version 2.6.9-11. elsmp (bhcompile@decompose.build.redhat.com) (GCC version
3.4.3 20050227 (Red Hat 3.4.3-22) #1 SMP Fri May 20 18:26:27 EDT 2005
# Cat/etc/issue
Red Hat Enterprise Linux as Release 4 (nahant update 1)
Kernel R on an M
# Cat/etc/RedHat-release
Red Hat Enterprise Linux as Release 4 (nahant upd
flags | grep 'lm '| wc-l4
(If the result is greater than 0, 64bit computing is supported. lm indicates long mode, and lm indicates 64bit)
7. View cpu information Summary
[Spark @ S1PA222 tomcat6] $ lscpuArchitecture: x86_64 #CPU op-mode (s): 32-bit, 64-bitByte Order: Little EndianCPU (s): 4On-line CPU (s) list: 0-3Thread (s) per core: 1Core (s) per socket: 2Socket (s): 2NUMA node (s): 1Vendor ID: GenuineIntelCPU family: 6Model: 44Stepping: 2CPU MHz: 2533.423BogoMIPS: 5066.84Hypervisor vendor: V
Install KVM in CentOS 7
KVM is short for Kernel Based Virtual Machine. It can use Virtual Hardware extension to provide virtualization software for multiple operating systems. KVM can be managed in two ways, one is command line, the other is a graphical interface.
Virt-Manager (Virtual Machine Manager) is the most frequently used management program based on KVM. It can create, edit, start, and pause Virtual machines.
Dependency
KVM requires the CPU to support hardware virtualization. You can run
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.