Hello!<br><br>I configure glusterfs with replicate, but noted significant problems with performance.<br clear="all"><br>In configuration with replicate, 3Gbytes test file puts to glusterfs around 5 minutes. It's disaster. I have two machines with software raid and gigabit network crossover between them. Also I created NFS like configuration of glusterfs (cluster and server - different machines), and same file puts to glusterfs 51 seconds.<br>
<br>My sever config:<br>volume posix<br> type storage/posix<br> option directory /home/storage<br>end-volume<br><br>volume locks<br> type features/locks<br> subvolumes posix<br>end-volume<br><br>volume storage<br> type performance/io-threads<br>
option thread-count 8<br> subvolumes locks<br>end-volume<br><br>volume server<br> type protocol/server<br> option transport-type tcp<br> subvolumes storage<br> option auth.login.storage.allow user<br> option auth.login.user.password ******<br>
end-volume<br><br>My client config:<br>volume server1<br> type protocol/client<br> option transport-type tcp<br> option remote-host 192.168.1.1<br>
option remote-port 6996 <br> option username user<br> option password *******<br> option remote-subvolume storage<br>end-volume<br><br>volume server2<br> type protocol/client<br> option transport-type tcp<br>
option remote-host 192.168.1.2<br>
option remote-port 6996<br> option username user<br> option password *******<br> option remote-subvolume storage <br>end-volume<br><br>volume replicate<br> type cluster/replicate<br> subvolumes server1 server2<br>
end-volume<br><br>volume writebehind<br> type performance/write-behind<br> option aggregate-size 128KB<br> option window-size 1MB<br> option flush-behind on<br> subvolumes replicate<br>end-volume<br><br>volume cache<br>
type performance/io-cache<br> option cache-size 512MB<br> subvolumes writebehind<br>end-volume<br><br>Fuse client latest 2.7.4gfs11.<br><br>OS 2.6.24-19 x86_64 GNU/Linux<br><br>Help me with this problem please.<br>-- <br>
Titov Alexander<br>