/phpize otherwise prompts the error cannot find: Config.m4 file.
Configure XCache:
The code is as follows
Copy Code
./configure–enable-xcache–enable-xcache-coverager–enable-xcache-optimizer–with-php-config=/data/app/php5/bin/ Php-config
Compiling and installing Xcache:make make installThe above XCache installation results will return a:
Installing Shared extensions:/data/app/php5/lib/php/extensions/no-debug-non-zts-20121212/
Finally, we can only load xc
reduce the quality of loss. Leading the voice of the mobile phone to the digital age has completely terminated the 3.5mm audio interface.
(2) 8K video transmission
The new Usb-type-c is officially released based on the DisplayPort ALT mode standard early certification process. In the new technology development process, the product is usually ready to be sent before the compliance test procedure is completed. Conformance testing, however, is critica
@LogicalFileName sysname, @MaxMinutes int, @NewSize int Use Tablen Ame--The database name to be manipulated SELECT @LogicalFileName = ' Tablename_log ',--log file name @MaxMinutes = ten,--Limit on time Allowed to wrap log. @NewSize = 1-the size of the log file you want to set (M) --setup/initialize DECLARE @OriginalSize int SELECT @Original size = size from sysfiles WHERE name = @LogicalFileName SELECT ' Original size of ' + db_name () + ' LOG is ' + Convert (VARCHAR, @OriginalSize)
@LogicalFileName sysname,
@MaxMinutes INT,
@NewSize INT
Use TableName-the name of the database to manipulate
SELECT @LogicalFileName = ' Tablename_log ',--log file name
@MaxMinutes =--Limit on time allowed to wrap log.
@NewSize = 1-the size of the log file you want to set (M)
--Setup/initialize
DECLARE @OriginalSize int
SELECT @OriginalSize = size
From Sysfiles
WHERE name = @LogicalFileName
SELECT ' Original Size of ' + db_name () + ' LOG is ' +
CONVERT (VARCHAR, @OriginalSize) + '
gzip compressionuse gzip compression to reduce web site bandwidth consumption while increasing access speed.Mainly in the Nginx server to compress the page, and then in the browser side of the decompression and resolution,Most popular browsers are currently sluggish in gzip-formatted compression, so don't worry.By default, Nginx gzip compression is turned off, and Nginx only compresses text/html by defaultThe main configuration is as follows:
gzip on; #开启
gzip_http_version 1.0; #默认1.1
win2003+iis6 install XCache cache for PHP
Extract the XCache and place the Php_xcache.dll in the php.ini designated Extension_dir (this example is "D:\php\ext").
Start configuration below, open php.ini
Add (remember to add, do not replace the original zend_extension_ts parameters)
Zend_extension_ts = "($extension _dir) \php_xcache.dll"
When configured, replace ($extension _dir) with an absolute path ext (such as: D:\php\ext\php_xcache.dll). Need to be put in front of the Zend.
Add the following
: xcache.size=0
; Enable: xcache.size=64m (any >0 value) Please also note that your system mmap upper limit
Xcache.size = 0
; Recommended set to CPU number (Cat/proc/cpuinfo |GREP-C processor)
Xcache.count = 1
; is only a reference value, you can safely store more than this number of items (PHP script/variable)
Xcache.slots = 8K
; The TTL for the cached item, 0 = Permanent
Xcache.ttl = 0
; Time interval for scanning expired items, 0
/cpuinfo |GREP-C processor)
Xcache.count = 1
; is only a reference value, you can safely store more than this number of items (PHP script/variable)
Xcache.slots = 8K
; The TTL for the cached item, 0 = Permanent
Xcache.ttl = 0
; Time interval for scanning expired items, 0 = Not scanned, other values in seconds
Xcache.gc_interval = 60
; Ditto, just for variable caching settings
Xcache.var_size = 1M
Xcache.var_count = 1
Xcache.var_slots =
disk. Each file contains many extents, each with a size of 64K consisting of eight physically contiguous pages (one page 8K), and we know that the page is the basic unit of data storage in a SQL Server database. The disk space allocated for the data files (. mdf or. ndf) in the database can be logically divided into pages (numbered consecutively from 0 to N).
The types stored in the page are: data, indexes, and overflows.
Files and Filegroups
In SQ
style section of Vue
Vue-hot-reload-api:webpack to Vue to achieve hot swap
babel-core:es2015 Compiler Core
Babel-loader: Compiling write to ES2015 document
babel-preset-es2015:es2015 syntax
babel-preset-stage-0: Open Test function
Babel-runtime:babel Execution Environment
Url-loader
Here's an introduction to the next Url-loader, this loader is actually a package for File-loader
For example, CSS files sometimes write this:
. demo{
Background-image:url (' a.png ');
}
module:{
is 3G, and the file read/write mode is random.
4. Memory Test
Sysbench--test=memory--memory-block-size=8k--memory-total-size=4g Run
The above parameters specify that the entire process of this test is to transmit 4G of data in memory, with each block size of 8K.
5. OLTP test
Sysbench--test=oltp--mysql-table-engine=innodb--mysql-user=root--db-driver=mysql--mysql-db=sbtest-- oltp-table-size=30000000--ol
Clear log:
Copy Code code as follows:
DECLARE @LogicalFileName sysname,
@MaxMinutes INT,
@NewSize INT
Use Szwzcheck-the name of the database to manipulate
SELECT @LogicalFileName = ' Szwzcheck_log ',--log file name
@MaxMinutes =--Limit on time allowed to wrap log.
@NewSize = 20-the size of the log file you want to set (M)
--Setup/initialize
DECLARE @OriginalSize int
SELECT @OriginalSize = size
From Sysfiles
WHERE name = @LogicalFileName
SELECT ' Original Size of ' + db_n
sharing is not at all a level. Daily photo sharing is often concentrated in a limited number of friends, visits will not be particularly high, and Taobao shops in the merchandise photos, especially hot merchandise, the image of the traffic is actually very large. And for sellers, the picture is far better than the text description, so sellers also attach importance to the image display quality, upload time, access speed and so on. According to the flow of Taobao analysis, the entire Taobao traf
space
Note: The following command is designed to prevent the DB2 database from using hard disk space, only for DB2 on the developer's own machine, and if it is a server, the parameters need to be modified.
DB2 UPDATE DB CFG for
If the page size is 4KB, the above command creates 3 100M log files, taking up 300MB of hard disk space. 25600*4kb=102400kb.
18. Create a temporary table space
DB2 CREATE USER Temporary tablespace stmaspace PAGESIZE K
MANAGED by DAT
prevent the DB2 database from using hard disk space, only for DB2 on the developer's own machine, and if it is a server, the parameters need to be modified.
DB2 UPDATE DB CFG for
If the page size is 4KB, the above command creates 3 100M log files, taking up 300MB of hard disk space. 25600*4kb=102400kb.
18. Create a temporary table space
DB2 CREATE USER Temporary tablespace stmaspace PAGESIZE K MANAGED by DATABASE USING (FILE ' D:/db2_tab/stmaspace. F1 ' 10000) extentsize 256
19. Get s
place xcache.so or Php_xcache.dll in the directory.; Extension = xcache.so;; or WIN32 system: (Note: Because I have set the Extension_dir, so the following settings are correct, if not configured Extension_dir, need to use ZEND_EXTENSION_TS)Extension = Php_xcache.dll
[Xcache.admin]Xcache.admin.auth = OnXcache.admin.user = "MOo"; Xcache.admin.pass = MD5 ($your _password)Xcache.admin.pass = ""
[XCache]; Most of the options here can only be modified in INI, and here are the default values, unles
);
Datagramsocket.receive (datagrampacket);/Blocking wait
String string = new String (Datagrampacket.getdata (), 0,
Datagrampacket.getlength ())
+ "from"
+ datagrampacket.getaddress (). Gethostaddress ()
+ ":" + Datagrampacket.getport ();
System.out.println (string);
Datagramsocket.close ();
}
UDP packet Length limit received
The simulator has a limit on the size of the packet! More than 8k (fuzzy memory is
Later checked the data, found that table space data file capacity and db_block_size, in the initial construction of the library, db_block_size to be based on actual needs, set to 4k,8k, 16K, 32K, 64K and other sizes, Oracle's physical files allow only 4,194,304 blocks of data (determined by the operating system), and the maximum table space data file is 4194304xdb_block_size/1024m. That is: 4k maximum table space is: 16384M
IP datagram before it handed the complete TCP segment to the TCP layer.
Below are a couple of scenarios showing how MSS values are set and used to limit TCP segment sizes, and therefore, IP data Gram sizes.
Scenario 1 illustrates the way MSS was-a-implemented. Host A has a buffer of 16K and host B a buffer of 8K. They send and receive their MSS values and adjust their send MSS for sending data to each of the other. Notice that host A and host B would
be based on the performance of the machine CPU to adjust the value of the appropriate.
2. Threading Test
Copy Code code as follows:
Sysbench--test=threads--num-threads=64--thread-yields=100--thread-locks=2 Run
3. Disk IO Performance test
Copy Code code as follows:
Sysbench--test=fileio--num-threads=16--file-total-size=3g--FILE-TEST-MODE=RNDRW Prepare
Sysbench--test=fileio--num-threads=16--file-total-size=3g--FILE-TEST-MODE=RNDRW Run
Sysbench--test=fileio
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.