computing technology are unable to solve massive data mining due to low mining efficiency, affecting the timely extraction of data.
For a long time, business intelligence systems are often built based on traditional SMP architecture minicomputers. With the increasing performance, availability, and scalability of the x86 Platform in recent years, the X86 platform has begun to erode the share of minicomputers in more and more market fields, business Intelligence has also become another battlefi
programmers. When writing code, you should not rush to implement the function. If you want to write code, the code execution efficiency is better.
For example, suppose there is a shortcut for defining getelementbyid functoin $ (elemid) {return document. getelementbyid (elemid)}, someone may write this code $ ("mydiv "). parentnode. removechild ($ ("mydiv"), in fact, the getelementbyid Dom query is executed twice here. It will be better if it is changed to this: var mydiv = $ ("mydiv"); mydiv.
carefully.Symmetric Multi-processing support enables the multi-core switch. My CPU is dual-core and selected.Processor family (Core 2/newer Xeon) I use core 2/newer Xeon. Find your CPU and cancel the generic x86 support option.Select subarchitecture type (PC-compatible)Maximum number of CPUs: Enter the number of cores. I enter 2.SMT (hyperthreading) sched100 support is about hyper-Threading Technology. P4
"General setup" is not required. However, if your hardware is relatively new, it is almost required. In this way, we can find the 4965 wireless network card, ALSA sound driver, and so on.Kernel log buffer size I select 15, dual-core. If you use IA64, select 16.Control group support cluster support? Can notChoose Slab allocator (slub (unqueued Allocator) memory management mode slab and slub select slub.
2. In block layer, if there is no 2 TB hard disk, remove: Support for Large Block devices. Su
Make full use of CPU Performance
Now we are trying to capture packets, and how to maximize the performance of the server becomes a problem facing us. Today, we will introduce the CPU performance configuration items.
1. First check the current CPU physical frequency and operating frequency in the Linux system, in the following you will find that our CPU is 2.0 GHz E5-2620, but the CPU is working in 1200mhz.
cat/proc/cpuinfoprocessor:0vendor_id:GenuineIntelcpufamily:6model:45modelname:Intel(R)
previous 32-bit X86 architecture applications, protect your previous investments; while Intel's itanium and itanium 2 series Processors require additional software or hardware for compatibility with previous 32-bit programs, so IA-32 (I .e. x86-32) x86-64 are x86, that is, Intel's 32-bit X86 architecture, such as Intel's 32-bit server Xeon (Xeon) processor series, AMD's full range, in addition, the full ra
same size. For example, a continuous page (4 K) can be divided into 32 128-byte objects.Allocation of small objects
The size of each small object is mapped to one of the 170 allocable dimension classes. For example, 961 to 1024 bytes are normalized to 1024 bytes. The dimension classes are separated as follows: smaller sizes differ by 8 bytes, larger sizes differ by 16 bytes, and larger sizes differ by 32 bytes, and so on. Maximum interval (for dimensions> = ~ 2 K) is 256 bytes.
A thread cache c
phases, and the interruption of CMS-remark is 17 milliseconds:
[GC [1 CMS-Initial-MARK: 80168 K (196608 K)] 81144 K (261184 K), 0.0059036 secs]
[1 CMS-remark: 80168 K (196608 K)] 82493 K (261184 K), 0.0168943 secs]
Add two parameters-XX: + printgcapplicationconcurrenttime-XX: + printgcapplicationstoppedtime to make the pause time clearer.
5. Truly uninterrupted Bea jrockit and Sun rts2.0
One of the features of BEA's jrockit 5.0 r27 is a dynamically determined garbage collection policy. Users c
Compare the overhead of hardware and operating systems.
We will combine 1 and 2 for comparison:
Select the following basic hardware platforms:
Typical laptop, p4m platform, M Nic, M memory
Typical desktop, P4 platform, 512 M Nic, memory
Typical server, Xeon platform, Gigabit Nic, 1 GB memory
Typical amd64-bit server, Gigabit Nic, 1 GB memory
Software systems include:
Windows:
Windows2000 transfer sion
Windows2000 advance Server
Free UNIX systems:
++ source file and is availableHere.
I 've run all of these tests on:
A dual quad-core Xeon with 10 gb ram and an internal RAID 5 system consisting of four 10 k SAS disks running Windows XP x64
A dual Xeon with 4 gb ram and 10 k u360 SCSI disks running Windows XP
A Core Duo laptop with 1.5 gb ram and a 5400 rpm sata disk running Windows XP
For single file I/O, I used files of 200 MB in size. all thr
milliseconds:
[GC [1 CMS-initial-mark: 80168 K (196608 K)] 81144 K (261184 K), 0.0059036 secs]
[1 CMS-remark: 80168 K (196608 K)] 82493 K (261184 K), 0.0168943 secs]
Add two parameters-XX: + PrintGCApplicationConcurrentTime-XX: + PrintGCApplicationStoppedTime to make the pause time clearer.
5. Truly uninterrupted BEA JRockit and Sun RTS2.0
One of the features of Bea's JRockit 5.0 R27 is a dynamically determined garbage collection policy. Users can decide whether they are concerned with through
document. getelementbyid (elemid)}, someone may write this code $ ("mydiv "). parentnode. removechild ($ ("mydiv"), in fact, the getelementbyid Dom query is executed twice here. It will be better if it is changed to this: var mydiv = $ ("mydiv"); mydiv. parentnode. removechild (mydiv ). Fortunately, the DOM search for getelementbyid is relatively fast. If you replace it with getelementsbytagname, you should pay more attention to optimization. The jquery development team also reminded everyone t
environment
The test in this article uses the following hardware and software environment:
Microsoft softwareMicrosoft Windows 2000 Data Center (Service Pack 3)Microsoft SQL Server 2000 Enterprise Edition (Service Pack 2)
Hardware PlatformSmall-scale environment:Dell poweredge 1, 64504 Intel Pentium III Xeon 550 MHz processors4 GB RAM
Large-scale environment:Dell poweredge 1, 84508 Intel Pentium III Xeon 5
The CPU freq tool is used to temporarily adjust the clock speed of the CPU. the CPU and the main board have power-saving technologies. If the CPU is working at a low load, the frequency is automatically reduced. If you need to temporarily set the clock speed and working mode, you can use cpufreq to manually adjust it. This mode will expire after restart. If you need to adjust it for a long time, modify/etc/sysconfig/cpuspeed. Www.2cto.com lsmod | grep "acpi_cpufreq" run the preceding command to
The storage process from Julian Dyke to test the single-core CPU performance can test the single-core CPU processing capability. By the way, I also tested
SET SERVEROUTPUT ONSET TIMING ON
DECLARE
N NUMBER: = 0;
BEGIN
FOR f IN 1 .. 10000000
LOOP
N: = MOD (n, 999999) + SQRT (f );
End loop;
DBMS_OUTPUT.PUT_LINE ('res = '| TO_CHAR (n, '192. 99 '));
END;
/
The following is an output sample:
SQL>/
Res = 873729.72
PL/SQL procedure successfully completed.
Elapsed: 00:00:19. 87
The author claims to hav
manufacturers in order to maintain compatibility with Intel's mainstream processor, all have to adopt this X86 architecture), but some extensions are made on this architecture to support 64-bitProgramTo further improve the computing performance of the processor. Compared to Intel's 64-bit server processor products, the x86-64 has the biggest advantage of being fully compatible with the previous 32-bit X86 architecture applications, protection is based on users' previous investments. Intel's ita
and CPU performance, which is also the reason why intel is determined to abandon socket (but later intel went back to the old path ), currently, the mainstream motherboard chipsets Using slot 1 interfaces include Intel's BX, i810, i820, and via's Apollo series, alibaba's Aladdin pro II series and SIS 620 and 630 series. The performance of the motherboard With Different chipset designs is also different, and some of them are integrated into the motherboard, which needs to be carefully identified
The xw6200 and xw8200 are based on the intel e7525 (codenamed tumwater) chipset and support the latest 'nocona 'Xeon processors, the selling point of this processor is that it uses Intel's 64-bit extended memory technology (Intel em64t). In other words, this processor has the ability to run 64-bit code and use more memory, theoretically, up to TB of memory can be managed. It meets the needs of users in high-end PC environments, such as computer-aided
family: 15
Note: The CPU serial number produced by the CPU manufacturer can be used to determine which product the processor belongs.For example:The 6 series Intel processors include the Pentium Pro, Pentium II, Pentium II Xeon, Pentium III, and Pentium III Xeon processors.The 5th generation includes the Pentium processor and the Pentium processor using MMX technology.The F series intel processor includes
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.