Blog

Viewing posts for the category Linux | Shell

iozone

增大系统缓存

系统读写文件时,会将文件缓存在Buffer Cache中。因此测试时文件大小一定要大于Buffer Cache,有些操作系统的Buffer Cache是动态分配的,所以最好指定文件大小是内存的2倍。

hdparm

Hdparm用于设置或查看IDE硬盘参数。大多数主板都支持DMA访问方式。不过,如果kernel对主板芯片没有正确支持,也可能会无法启用DMA功能,导致系统I/O性能极差。

Bonnie++

Bonnie++ allows you to benchmark how your filesystems perform various tasks, which makes it a valuable tool when you are making changes to how your RAID is set up, how your filesystems are created, or how your network filesystems perform.

dump

Dump 工具适用于备份整个磁盘到文件或者磁带。

dd

dd 是 Unix 下安字节复制文件的工具。