Linux下各种主要文件系统的读写性能测试 ------------实际系统中的Nand Flash速度测试结果
来源:互联网 发布:淘宝店铺登录界面 编辑:程序博客网 时间:2024/06/18 14:05
两篇文章均转自:http://thomasgds.blog.163.com/blog/#m=0
Linux下各种主要文件系统的读写性能测试
1、不用说,tmpfs是最快的,呵呵
2、ext2
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.40192 seconds, 74.8 MB/s
real 0m1.414s
user 0m0.140s
sys 0m0.230s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m2.084s
user 0m0.000s
sys 0m0.310s
3、ext3
(1)data=ordered
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.04712 seconds, 100 MB/s
real 0m1.057s
user 0m0.090s
sys 0m0.580s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m1.429s
user 0m0.020s
sys 0m0.290s
(2)data=writeback
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 0.990267 seconds, 106 MB/s
real 0m1.004s
user 0m0.110s
sys 0m0.470s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m1.339s
user 0m0.010s
sys 0m0.250s
(3)data=journal
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 6.45851 seconds, 16.2 MB/s
real 0m6.470s
user 0m0.080s
sys 0m0.590s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m1.665s
user 0m0.010s
sys 0m0.220s
4、ReiserFS
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.13243 seconds, 92.6 MB/s
real 0m1.153s
user 0m0.040s
sys 0m0.620s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m1.543s
user 0m0.000s
sys 0m0.240s
5、XFS
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.76025 seconds, 59.6 MB/s
real 0m2.000s
user 0m0.060s
sys 0m0.470s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m2.203s
user 0m0.010s
sys 0m0.270s
6、JFS
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 0.581869 seconds, 180 MB/s
real 0m0.613s
user 0m0.140s
sys 0m0.250s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m0.579s
user 0m0.010s
sys 0m0.350s
JFS文件系统还真快
ext3文件系统下,如果设置为data=journal,效果要打不少折扣。
实际系统中的Nand Flash速度测试结果
2007-11-19 12:37:25| 分类: linux学习|字号 订阅
linux下测试文件系统读写速度方法是利用time命令,往flash中写入和读出固定大小的文件,然后进行统计所得,测试写入速度的命令是:time dd
if=/dev/zero of=ffmpeg bs=1024 count=100000, 测试读出速度的命令是:time cat ffmpeg > /dev/null。得到的时间log如下:
real 0m 0.24s
user 0m 0.01s
sys 0m 0.21s
用实际文件大小处于real的时间值,就可以获得读写速度。
nand flash的写入速度:602.55KB/s
/nand # time dd if=/dev/zero of=ffmpeg bs=1024 count=100000
100000+0 records in
100000+0 records out
real 2m 45.96s
user 0m 0.72s
sys 2m 3.23s
nand flash的读出速度:1114.45KB/s
/nand # time cat ffmpeg > /dev/null
real 1m 29.73s
user 0m 0.01s
sys 1m 7.06s
Linux下各种主要文件系统的读写性能测试
1、不用说,tmpfs是最快的,呵呵
2、ext2
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.40192 seconds, 74.8 MB/s
real 0m1.414s
user 0m0.140s
sys 0m0.230s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m2.084s
user 0m0.000s
sys 0m0.310s
3、ext3
(1)data=ordered
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.04712 seconds, 100 MB/s
real 0m1.057s
user 0m0.090s
sys 0m0.580s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m1.429s
user 0m0.020s
sys 0m0.290s
(2)data=writeback
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 0.990267 seconds, 106 MB/s
real 0m1.004s
user 0m0.110s
sys 0m0.470s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m1.339s
user 0m0.010s
sys 0m0.250s
(3)data=journal
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 6.45851 seconds, 16.2 MB/s
real 0m6.470s
user 0m0.080s
sys 0m0.590s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m1.665s
user 0m0.010s
sys 0m0.220s
4、ReiserFS
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.13243 seconds, 92.6 MB/s
real 0m1.153s
user 0m0.040s
sys 0m0.620s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m1.543s
user 0m0.000s
sys 0m0.240s
5、XFS
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.76025 seconds, 59.6 MB/s
real 0m2.000s
user 0m0.060s
sys 0m0.470s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m2.203s
user 0m0.010s
sys 0m0.270s
6、JFS
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 0.581869 seconds, 180 MB/s
real 0m0.613s
user 0m0.140s
sys 0m0.250s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m0.579s
user 0m0.010s
sys 0m0.350s
JFS文件系统还真快
ext3文件系统下,如果设置为data=journal,效果要打不少折扣。
实际系统中的Nand Flash速度测试结果
2007-11-19 12:37:25| 分类: linux学习|字号 订阅
linux下测试文件系统读写速度方法是利用time命令,往flash中写入和读出固定大小的文件,然后进行统计所得,测试写入速度的命令是:time dd
if=/dev/zero of=ffmpeg bs=1024 count=100000, 测试读出速度的命令是:time cat ffmpeg > /dev/null。得到的时间log如下:
real 0m 0.24s
user 0m 0.01s
sys 0m 0.21s
用实际文件大小处于real的时间值,就可以获得读写速度。
nand flash的写入速度:602.55KB/s
/nand # time dd if=/dev/zero of=ffmpeg bs=1024 count=100000
100000+0 records in
100000+0 records out
real 2m 45.96s
user 0m 0.72s
sys 2m 3.23s
nand flash的读出速度:1114.45KB/s
/nand # time cat ffmpeg > /dev/null
real 1m 29.73s
user 0m 0.01s
sys 1m 7.06s
0 0
- Linux下各种主要文件系统的读写性能测试 ------------实际系统中的Nand Flash速度测试结果
- Linux下各种主要文件系统的读写性能测试
- Linux下读写速度测试
- Linux下读写速度测试
- Linux系统下测试磁盘读写速度技巧
- linux 读写速度测试
- linux下硬盘读写速度测试
- linux下测试硬盘读写速度
- Linux操作系统下测试磁盘读写速度
- linux下硬盘读写速度测试
- linux下测试磁盘IO读写速度
- linux环境下测试磁盘的读写速度
- linux下测试磁盘的读写IO速度
- linux下测试磁盘的读写IO速度
- linux下测试磁盘的读写IO速度
- linux下测试磁盘的读写IO速度
- linux下测试磁盘的读写IO速度
- linux下测试读写速度的简单命令
- cppTest-3.0:指针相关-2(二维数组&一级指针&二级指针&一维指针数组)
- Java中SimpleDateFormat用法详解
- 解决ubuntu中vi不能正常使用方向键与退格键的问题
- EBS财务模块表结构
- 2013年终学习总结
- Linux下各种主要文件系统的读写性能测试 ------------实际系统中的Nand Flash速度测试结果
- 【DFS】POJ-3009 冰壶游戏
- 马达 vibrator的android的timed_output实现方式
- Xcode cannot run using the selected device. Choose a destination with a supported architecture
- Leetcode: Maximum Subarray
- linux,单用户模式下,修改ROOT密码时,键盘用没了。
- cppTest-3.0:指针相关-3(new&delete)
- iOS 5 ARC 入门
- iOS中Blocks的介绍