用快照缓慢写入LVM

我使用Ubuntu 10.04服务器。 写速度非常慢,当我使用LVM快照。 这个是正常的?

这个是正常的?

是( Link1 , Link2 )。 在我的服务器上(4x SATA RAID):

# dd if=/dev/zero of=/data/test/foo count=10 bs=1024k 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.103387 s, 97.3 MB/s # dd if=/dev/zero of=/data/test2/bar count=10 bs=1024k 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.722223 s, 13.8 MB/s 

我也经历过这个。 仅使用具有不同组合的SATA驱动器:使用/不使用RAID 1/5/10 sw和hw。 这是由快照卷的高I / O使用率造成的。 我将把快照保存在不同的卷上,或者使用SAS / SCSI。 通常的SATA驱动器 – 大约300 tps通常的SCSI驱动器 – 可以做大约1000 tps和更多由iostat检查您的系统中发生了什么。