The method of quickly deleting a large number of files under linux, using rsync delete, the speed is much faster than commands such as rm or find.
For such a story, there is no such thing as a clear story about the test environment. Brother has always been skeptical. First Baidu, there are only conclusions, no test data. Google has test data, but the test environment is not written. Personal feelings have a lot to do with the file system format.
After taking the time to test it today: the test machine configuration is lower, it is a desktop computer bought N years ago. Sata hard drive Intel (R) Pentium (R) D CPU 3.20GHz4G memory. EXT4 file system: /dev/mapper/VolGroup-lv_home on /home type ext4 (rw, noatime)Linux www 2.6.32-220.7.1.el6.i686 #1 SMP Tue Mar 6 21:21:22 GMT 2012 i686 i686 I386 GNU/LinuxCentOS release 6.2 (Final)rsync version 3.0.6 protocol version 30
Create a 16/256/directory structure with 250 files in the deepest directory, 300 bytes each. Mkdir.php
/**16 * 256 * 250*/for($i=0; $i<=0xF; $i++) {for($j=0; $j<=0xF; $ j++) {for($m=0; $m<=0xF; $m++) {$dirname = sprintf("test/%x/%x%x", $i, $j, $m);//Create directory mkdir($dirname, 0755, TRUE); for($k=-0; $k<250; $k++) {$filename = sprintf("%s/%d.html", $dirname, $k ); file_put_contents($filename, str_repeat("111", 100) );}}}}
Find It takes 35 seconds to traverse: [modify@www test]$time find ./-type f
under Windows we have the power management system is very familiar with, we can achieve STR, STD and
This article introduces the concept, role, and usage of LVM to help you understand LVM and to use LV
In the various Linux distributions now, the enterprise version of red hat is relatively safe. For t
view mysql default encoding format show variables like “character%”; If the reality-bash
Red Hat Red Hat Linux 9 CD Boot Installation Process Diagram
Differential mode and common mode signal
Explanation of various keywords in Verilog HDL language
Three lightweight WebServer--lighttpd, thttpd, shttpd introduction
CentOS 5 Forgot Password Processing Method
Practical Tips: Several Ways to Remove Grub from Linux Systems
Data transmission on the link layer of the Linux protocol stack (bridge processing of data (5))
Using XFS file system in Linux environment
Linux command introduction: source usage
RHEL6 builds a YFT source server based on vsftd
Linux uses the ping command to return the solution of Operation not permitted
Win10: Whether the frosted glass theme returns is up to you
Excel2010 format brush how to use Excel2010 format brush tutorial
Win8.1 sample setting equipment screen resolution number
US WP share increased to 3.6%, users reached 6.23 million
How to turn off OneDrive sync service in Win8
Steps to turn off visual effects for Windows 8.1 system
What should I do if the black screen appears after Win8 Pro?
How to view the system security identifier SID