Web development, it is the stress test, it is to assess whether a product is eligible to go live on the basic standards, let us analyze how they use.Before the test, the number of ports in front of the system is changed to large, look at the default limits of the Mac
ulimit -aopen files (-n) 2560
More than 2000 FD number is very small, we change him, of course, I tested, can only open 10000, Linux can open more than 6W, so:
ulim
256
Change
# Define HARD_SERVER_LIMIT 2560
Save and exit apache Compilation
./Configure -- prefix =/usr/local/apache -- enable-module = so -- enable-module = rewrite -- enable-shared = max -- htdocsdir =/var/www
Make
Make install
# Here we use the enable-module parameter to tell the setup script. We need to start the so and rewrite modules. The so module is the core apache module used to extract DSO support, the rewrite module is intended to
During the process of installing Oracle10gclusterware, installation may often fail due to errors. In this case, you need to clear all installed information to ensure that the reinstallation is successful.
During the process of installing Oracle10g clusterware, installation may often fail due to errors. In this case, you need to clear all installed information to ensure that the reinstallation is successful.
During the process of installing Oracle10g clusterware, installation may often fail
decimal number, the answer is 1032291340. The conversion method is very simple, that is, the number system is expanded by right: 12 × 2560 + 132 × 2561 + 135 × 2562 + 61 × 2563 = 12 + 33792 + 8847360 + 1023410176 = 1032291340 (the base is 256, that is, 28 ).
After understanding this, let's look back at "www.trojan.com.cn/huigezi_server.exe.pdf" in the preceding example ". If such a letter domain name will expose a fox tail, convert the corresponding
Tutorial on helping customers (www.bkjia.com)Linux partitions are divided by cylinders and must be formatted as standard Linux file systems (such as ext2 and ext3) for use. Generally, each partition can only be formatted as a file system.
Although the minimum storage unit of the hard disk is a sector, the Read and Write efficiency of the sector is too low for the file system. Therefore, n sectors are used as one Block ), this is the minimum storage unit of the file system. Currently, three typ
_ driver development # insmod./hello. ko
According to the example in the book, hello, world will be displayed on the terminal, but nothing will appear after the operation (the reason is puzzled)
Root @ shana:/home/shana/linux _ driver development # insmod./hello. ko
Root @ shana:/home/shana/linux _ driver development #
View the load Module
Root @ shana:/home/shana/linux _ driver development # lsmod
Module Size Used
Hello 2560
img = new Image (); // modify the srcimg of the Image. src = img_url; // obtain the width and height var check = function () {// if either party is greater than 0 // indicates that the server has returned the width and height if (img. width> 0 | img. height> 0) {var diff = new Date (). getTime ()-start_time; document. body. innerHTML + = 'from: check: width: '+ img. width + ', height:' + img. height + ', time:' + diff + 'ms'; clearInterval (set) ;}}; var set = setInterval (check, 40 ); // obtai
my previous article "apache static/dynamic compilation in apache + php + mysql application" http://www.5ilinux.com/apache01.html
Software acquisition: http://httpd.apache.org/
Tar zvxf apache_1.3.29.tar.gz
Cd apache_1.3.29
Modify src/include/httpd. h to increase the maximum number of threads
# Define HARD_SERVER_LIMIT 256
Change
# Define HARD_SERVER_LIMIT 2560
Save and exit apache Compilation
./Configure -- prefix =/usr/local/apache
the NTFS partition device name.
Run the following command:
Fdisk-l | grep NTFS
As shown in
/Dev/sda2*11 2560 20482875 7 HPFS/NTFS
/Dev/sda5 2561 7659 40957686 7 HPFS/NTFS
/Dev/sda6 7660 15431 62428558 + 7 HPFS/NTFS
Add the following statement in the last line of the fstab file (the fstab file is found in the etc directory, or you can search for it, you can use the vi/etc/fstab command. Beginners have decided according to the above method)
/Dev/sda2
$ (KERNELDIR) M = $ (PWD) modules_install
The best key step is to go to the directory where makefile is ready.
Www.linuxidc.com @ linux :~ $ Sudo makeMake-C/lib/modules/3.2.31/build M =/home/xiongyaoMake [1]: In directory '/usr/src/linux-source-3.2.0/linux-source-3.2.0'LD/home/xiongyao/built-in.oCC [M]/home/xiongyao/hello. oBuilding modules, stage 2.MODPOST 1 modulesCC/home/xiongyao/hello. mod. oLD [M]/home/xiongyao/hello. koMake [1]: Leaving directory '/usr/src/linux-source-3.2.0/linux-source-
(a system hardware detection software, which should be available on the official website) in this step)Sudo hwinfo -- framebuffer | grep 'mode \'// A large string of text information will be displayed laterThis is the result on my machine: // here "I" refers to the original authorMode 0x0305: 1024x768 (+ 1024), 8 bitsMode 0x0317: 1024x768 (+ 2048), 16 bitsMode 0x0318: 1024x768 (+ 4096), 24 bitsMode 0x0312: 640x480 (+ 2560), 24 bitsMode 0x0314: 800x60
/hello. komake [1]: is leaving the directory '/usr/src/linux-source-3.2.0/linux-source-3.2.0' above to prove successful and then load module # sudo insmod. /hello. ko should have been in the final stage The terminal displays hello, world, but nothing is displayed on the terminal (which will be solved later). view the loading Module # hello 2560 0 ^ _ ^ has been generated in sudo lsmod, the deletion module has been loaded. # Where is the output of the
problem. So how much bandwidth is appropriate? Apple products can be a reference.The New ipad is an interesting short-lived product that uses the processor and resolution to make a reference. A5X processor is really just a dual-core A9 processor, the frequency is not high, and MT6577 a grade.and the ability to support the New ipad running smoothly is a5x's powerful graphics performance and memory bandwidth, a5x memory bandwidth up to 12.8gb/s.The New ipad has a resolution of 2048*1536=314 pixel
current default buffer is 2048 [1024, 115 2, 1280, 1408, 1536, 1664, 1792, 1920, 2048, 2304, 2560, 2816, 3072, 3328, 3584, 3840, 4096] N Bsp | | | | N Bsp a N Bsp;d b c N bsp; Predict the buffer size that should be allocated the next time, based on the number of bytes actually read per read event. If the number of bytes actually read is greater than or equal to the current buff
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.