Optimizations in Nginx commands (configuration files)
Worker_processes 8;
Nginx process number, it is recommended to follow the number of CPUs specified, usually a multiple of it.
Worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000;
Allocate CPUs for each process, in the example above, allocate 8 processes to 8 CPUs, or you can write more than one, or assign a process to multiple CPUs.
Worker_rlimit_nofile 102400;
This instruction refers to the maximu
?Save the directory, the attribute information of the file, including the owner, the group and three time, but also the specific block on the disk14. You find that there are two reasons for insufficient disk space, either disk space is insufficient, or the inode is fullDu-h Viewing spaceDu-i View Inode15.fdisk-l/DEV/SDA list Disk All partitions * represents boot partition16.blkid viewing UUIDMount uuid= "Copy and paste"/mnt/using the UUID mount19. How to automatically mount your CDROM boot to th
quota is not used, the capacity that the/etc directory can use is the capacity of the file system where the directory resides. Well, if I was going to look at the file system capacity already occupied by the/etc directory, you have to use the Du command, which is used primarily to view the capacity of the directory. Unlike the DF command,thedu command goes directly to the file system to view all the file system data, so the execution time may be longer. About the du command or a little more, ma
mode is as following.
6. Since the paging mechanism can only be started in protected mode and cannot be started in real mode, the first step is necessary, and since the GDT and IDT are built on the logical address (linear address) in 386 protected mode, the third step is also necessary;7. After the initial in real mode and protected mode, the main system data is distributed as follows:Initial post-primary system data distribution table
Position
System data
Each browser cookie per name=value value of about 4k; So 4k is not a domain name all the cookies shared, but a name of the size, the following is the specific test code, interested friends can refer to ha
Test code
Copy Code code as follows:
for (var II = 0; iiif (!window.ia) window.ia=0;
window.ia++;
var s = ' a ' +window.ia+ ' = ';
for (var i = 0; i s+= '; ';
alert (s.length);
Document.cookie = s;
}
Test
theory we here but more discussion, we understand.
Turn on motherboard AHCI mode
3, SSD solid State Drive optimization do not open the motherboard energy-saving mode
Today's SSD solid-state drives are very high speed, 4K QD1 at random can be thousands of. In the high load running Division software (as SSD Benchmark, Crystal Disk mark, etc.) to test the ultimate speed of SSD, when the performance of 10% weakened, the result is naturally
time.
Client_header_buffer_size 4k;
Client requests the size of the head buffer, this can be based on your system paging size to set, the general one requested head size will not exceed 1k, but because the general system paging is greater than 1k, so this is set to paging size. The paging size can be obtained using the command getconf pagesize.
Open_file_cache max=102400 inactive=20s;
This will specify caching for open files, which are not enabled
Best midrange DSLR camera: Nikon D5500
Nikon D5500, though smaller and cheaper than the average midrange camera, offers good quality performance, high ISO performance and battery life, plus excellent ergonomic design and touch-screen capabilities to make it one of the most popular cameras.
Mid-End DSLR Excellence Award: Canon t6s
Canon Rebel product line is regarded as an entry-level product for a long time and is known for its high quality and ease of use. However, the new Canon Rebel T6s se
parameters, the first one is the inode is full, the second block is fullA feature of disk full (no space on device left)Summary of the Inode:1. A certain number of inode and block are generated when the disk is formatted as a EXT4 file system by partitioning2.inode is called an index node, which is used to store the file's attribute information and the index of the file (the entity that points to the file)The block of the 3.ext3/ext4 file system holds the actual contents of the file4.inode is a
informationAdd the following three lines of information to the file to indicate the terminal number, time,host name;TTY is \lTime is \ thostname is \ n(4) CP MOTD/ETC/MOTD:copying files from a file note MOTD to/ETC/MOTD to overwrite the file can make the loginchanges to the prompt information(5) Echo '---'/sys/class/scsi_host/host2/scan:disk Scan When a disk is not found(6) rpm-i/run/media/root/centos\ 7\ x86_64/packages/screen-4.1.0-0.23.20120314git3c2946.el7_2.x86_64.rpm:package for installin
data).File properties:Inode Summary:1. A certain number of inode and block will be generated when the disk is partitioned and formatted as a EXT4 file system2. The inode becomes an index node, which is used to store the file's attribute information as well as the index of the file (the entity that points to the file).3, EXT3/4 file system block storage is the actual contents of the file.4, Inode is a piece of storage space on disk, C6 non-boot area inode default size 256 bytes, C5 is 128 bytes.
are: main control, flash memory chip, 4K speed. The main control is the core of SSD, directly determine the overall performance of SSDs, some cheap cottage SSD with u disk master control, poor performance. Another flash is to pay attention to buy Black-and, if in one of the Black-and, installed in the SSD performance is definitely greatly discounted.
Solid State hard drive look at what
4K Ran
September stole a lazy, make up an articleNote: Shell scripts require FIO tools to monitor disk read and write performance in real time#!/bin/bashdate=$ (date+%m-%d) iostatlog=/var/log/iostat${date}.logfiolog=/var/log/fio${date}.log/bin/ps -ef|grep "Iostat-dk5" |grep-vgrep>/dev/ nullif[$?==0]thenecho "Diskmonitoralreadyrunning" exit 1else/usr/bin/iostat-dk5>> $IOSTATLOG pid=$!fiwhiletruedoecho -------------' Date '-------->> $FIOLOGecho --------------fiotest--------------------- >> $FIOLOG #####
, page table are saved in a page box, we know that in general, the page box size is 4K (special case has 2MB, 1GB), that is, the layout of the page box is 4 K multiple address to arrange, to addressing a page box, Just a 20-bit address is enough. The table entries are saved in these directories and page tables, and the page global catalog holds the page global catalog entries. The middle of the page store is the middle of the page directory entries, i
The latest version of the Informix database is 11.5, from Informix 9, Informix 10 to Informix 11.5, in terms of database performance, database management, and application development, and a number of very useful new features are being introduced. The use of these features can greatly improve the database performance, enhance the manageability of the database and the flexibility of application development. We are here to introduce some of these characteristics, I hope to be helpful to you.
Some
to the request data, and then commit to the disk again, that is to say, the read operation of multiple 8K blocks emitted by the database May be placed in a disk read IO to be processed.There is also a cache for some storage systems, and after receiving an IO request from the operating system, the IO requests from multiple operating systems will be combined into one for processing. Whether the cache at the OS level or at the disk controller level, there is only one purpose, which improves the ef
;
Disk pre-reading: Disk read-write is not read on-demand, but read by the page, read one page of data at a time, load more data, if the future to read the data on this page, you can avoid future disk IO, improve efficiency; (voiceover: Typically, a page of data is 4K.) )
Local principle: Software design to follow the "data read set" and "use to a data, the approximate rate will use the data near it", so that disk pre-reading can fully improve
There are several existing standards that are required to store large amounts of data in a user's Web browser, each with its own advantages, short board, unique standardization status, and browser support levels. However, the actual performance of these standards is superior to the widespread existence of the cookie mechanism.Today's Web applications start doing a lot of data processing in the client and may even need to complete the task offline. It can be said that client-side data storage pla
browser will be erased when it is closed;Localstorage is permanently present unless it is cleared;(2) Capacity:Cookies have a small capacity of about 4k,Sessionstorage and localstorage capacity of about 4M;
The difference between Sessionstorage and localstorage
Sessionstorage is used to store data locally in a session, which can only be accessed by a page in the same session and destroyed when the session ends. So sessionstorage is not a persistent l
QQExternal.exe defd1020 osppsvc. EXE defd1080 DctSer.exeDefd10e0 Windbg.exedefd1100 WmiApSrv.exedefd1120 YodaoDict.exedefd1140 Chrome.exedefd1160 WordBook.exedefd1180 Chrome.exeDEFD11A0 Windbg.exeDEFD11E0 Audiodg.exedefd1200 Taskeng.exe from the output results, Dirbase's address is divided into 3 blocks,1.185000 SystemThis process is always special and uses a 4K page to store the pages directory. 0:kd>!vtop 0 80185000 X86vtop:virt 80185000, Pagedir d
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.