On Sat, Dec 03, 2011 at 08:32:30PM +0100, Marek Królikowski wrote: > Hello > Today i create a cluster with OCFS2. > I name servers MAIL1 and MAIL2 > Both connect via HBA card with 2 links 4Gbit/s and EMC storage with FC RAID10. > Both connect to this same Cisco switch 1Gbit/s line. > Hardware is awsome but ocfs2 work verrrry slow. > I use Gentoo Linux with Kernel 3.0.6 and ocfs2-tools-1.6.4 that will be > postfix/imap/pop3 cluster with maildir support so there will be many many > directores and little files. > I link /home to my ocfs2 and do few tests but work verry slow... > When i write any file on server MAIL1 and try check mailbox from MAIL2 > working amazing slow...
I've gotta ask, what is "amazingly slow" to you? A cluster filesystem accessing the same files from two places necessarily is slower than local access. But if it is slow enough that you notice it by hand, it's probably something in configuration. Did you select the 'mail' filesystem type when creating the filesystem? This probably shouldn't affect your simple test, but it will absolutely help as your system grows. > MAIL1 ~ # cat /proc/mounts > /dev/mapper/EMC /mnt/EMC ocfs2 > rw,relatime,_netdev,heartbeat=local,nointr,data=ordered,errors=remount-ro,usrquota,coherency=full,user_xattr,acl > 0 0 > MAIL2 ~ # cat /proc/mounts > /dev/mapper/EMC /mnt/EMC ocfs2 > rw,relatime,_netdev,heartbeat=local,nointr,data=ordered,errors=remount-ro,usrquota,coherency=full,user_xattr,acl > 0 0 Your hardware looks just fine, though I have to ask why you have device-mapper in there. Is it just for multipath support, or are you doing other things? Joel -- "You look in her eyes, the music begins to play. Hopeless romantics, here we go again." http://www.jlbec.org/ jl...@evilplan.org _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users