On 2/13/2012 3:40 PM, CoolCold wrote: > While doing this dirty tests, I've seen found that linear md over 3 > subvolumes doesn't support barriers and XFS states this: > Feb 13 21:39:41 sigma2 kernel: [22336.925917] Filesystem "md6": > Disabling barriers, trial barrier write failed > though this doesn't help on iozone random write tests When using mdraid and a disk controller without BBWC, write barriers need to be, must be, enabled and working to guarantee journal consistency. If barriers are disabled here you're risking the integrity of the entire filesystem. Whatever is causing barriers to be disabled needs to be fixed. You should definitely ask about this on the XFS mailing list. You will want to post your complete mdraid configuration--the 3 RAID1s and the linear, and your xfs_info output, and describe the underlying storage hardware--controller(s), disks, etc. Maybe Neil might have some insight here as well. >> I would recommend copying 48k of those actual picture files evenly >> across 12 directories, for 4K files per dir. Then use something like >> curl-loader with a whole lot of simulated clients to hammer on the >> files. This allows you to test web server performance and IO >> performance simultaneously. > > Yes, this will be more realistic, of course. By far. Definitely more pain to setup though. If you can get a synthetic benchy to batch create the ~50K files randomly across the 12 dirs and then randomly read them out after flushing the caches, that should be pretty close to real world use as well. -- Stan -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html