Sha*_*ang 3 linux windows createfile
我的操作系统和驱动器是
OS: Windows XP sp2 or Linux SUSE 9 or Cygwin
Compiler: Visual C++ 2003 or Gcc or Cygwin
PC and os are both 32 bits
那么,如何在秒中创建一个超大文件
有人告诉我使用MappingFile函数.我没能创建超过2G的文件所以...你的热烈回应将非常感谢谢谢
Dir*_*tel 10
dd在Linux中使用创建一个1 GB的文件需要57秒的"挂钟时间",在一个有点装载的盒子上有一个慢盘,大约17秒的系统时间:
$ time dd if=/dev/zero of=bigfile bs=G count=1
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 53.9903 s, 19.9 MB/s
real    0m56.685s
user    0m0.008s
sys     0m17.113s
$
| 归档时间: | 
 | 
| 查看次数: | 2468 次 | 
| 最近记录: |