Re: [DRBD-user] slow write performance

2012-09-12 Thread Dan Barker
a) use oflag=direct or dd will just test caching. b) You show a 183MB/s rate, which is pretty good. However, the target appears not to be the drbd volume, you don't say if the resource is connected or waiting for connection, and you don't describe the underlying hardware. c) How is /mnt/mysql/synci

Re: [DRBD-user] slow write performance

2012-09-12 Thread rahulcs
Thanks for your suggestions. I think the problem has something to do with the fact that i am using loopback device with DRBD. The problem disappears when i use a separate partition with DRBD. dbarker wrote: > > a) use oflag=direct or dd will just test caching. > b) You show a 183MB/s rate, whi

Re: [DRBD-user] slow write performance

2012-09-12 Thread Arnold Krille
Hi, On Wed, 12 Sep 2012 09:42:47 -0400 "Dan Barker" wrote: > a) use oflag=direct or dd will just test caching. Especially if you only copy 11MB. Use oflag=direct and copy much more data. And then a tip from some very practical experience: Test with a filesystem-benchmark like dbench. dd only te