Hello Vijay,
What do you mean exactly? What info is missing?
PS: I already found out that for this particular test all the difference is made by : negative-timeout=600 , when removing it, it's much much slower again.
Regards
Jo
-----Original message-----
From: Vijay Bellur <vbellur@xxxxxxxxxx>
Sent: Tue 11-07-2017 18:16
Subject: Re: Gluster native mount is really slow compared to nfs
To: Jo Goossens <jo.goossens@xxxxxxxxxxxxxxxx>;
CC: gluster-users@xxxxxxxxxxx; Joe Julian <joe@xxxxxxxxxxxxxxxx>;
On Tue, Jul 11, 2017 at 11:39 AM, Jo Goossens <jo.goossens@xxxxxxxxxxxxxxxx> wrote:Hello Joe,
I just did a mount like this (added the bold):
mount -t glusterfs -o attribute-timeout=600,entry-timeout=600,negative-timeout=600,fopen-keep-cache,use-readdirp=no,log-level=WARNING,log-file=/var/log/glusterxxx.log 192.168.140.41:/www /var/wwwResults:
root@app1:~/smallfile-master# ./smallfile_cli.py --top /var/www/test --host-set 192.168.140.41 --threads 8 --files 5000 --file-size 64 --record-size 64smallfile version 3.0hosts in test : ['192.168.140.41']top test directory(s) : ['/var/www/test']operation : cleanupfiles/thread : 5000threads : 8record size (KB, 0 = maximum) : 64file size (KB) : 64file size distribution : fixedfiles per dir : 100dirs per dir : 10threads share directories? : Nfilename prefix :filename suffix :hash file number into dir.? : Nfsync after modify? : Npause between files (microsec) : 0finish all requests? : Ystonewall? : Ymeasure response times? : Nverify read? : Yverbose? : Falselog to stderr? : Falseext.attr.size : 0ext.attr.count : 0permute host directories? : Nremote program directory : /root/smallfile-masternetwork thread sync. dir. : /var/www/test/network_sharedstarting all threads by creating starting gate file /var/www/test/network_shared/starting_gate.tmphost = 192.168.140.41,thr = 00,elapsed = 1.232004,files = 5000,records = 0,status = okhost = 192.168.140.41,thr = 01,elapsed = 1.148738,files = 5000,records = 0,status = okhost = 192.168.140.41,thr = 02,elapsed = 1.130913,files = 5000,records = 0,status = okhost = 192.168.140.41,thr = 03,elapsed = 1.183088,files = 5000,records = 0,status = okhost = 192.168.140.41,thr = 04,elapsed = 1.220752,files = 5000,records = 0,status = okhost = 192.168.140.41,thr = 05,elapsed = 1.228039,files = 5000,records = 0,status = okhost = 192.168.140.41,thr = 06,elapsed = 1.216787,files = 5000,records = 0,status = okhost = 192.168.140.41,thr = 07,elapsed = 1.229036,files = 5000,records = 0,status = oktotal threads = 8total files = 40000100.00% of requested files processed, minimum is 70.001.232004 sec elapsed time32467.428972 files/sec
root@app1:~/smallfile-master# ./smallfile_cli.py --top /var/www/test --host-set 192.168.140.41 --threads 8 --files 50000 --file-size 64 --record-size 64smallfile version 3.0hosts in test : ['192.168.140.41']top test directory(s) : ['/var/www/test']operation : cleanupfiles/thread : 50000threads : 8record size (KB, 0 = maximum) : 64file size (KB) : 64file size distribution : fixedfiles per dir : 100dirs per dir : 10threads share directories? : Nfilename prefix :filename suffix :hash file number into dir.? : Nfsync after modify? : Npause between files (microsec) : 0finish all requests? : Ystonewall? : Ymeasure response times? : Nverify read? : Yverbose? : Falselog to stderr? : Falseext.attr.size : 0ext.attr.count : 0permute host directories? : Nremote program directory : /root/smallfile-masternetwork thread sync. dir. : /var/www/test/network_sharedstarting all threads by creating starting gate file /var/www/test/network_shared/starting_gate.tmphost = 192.168.140.41,thr = 00,elapsed = 4.242312,files = 50000,records = 0,status = okhost = 192.168.140.41,thr = 01,elapsed = 4.250831,files = 50000,records = 0,status = okhost = 192.168.140.41,thr = 02,elapsed = 3.771269,files = 50000,records = 0,status = okhost = 192.168.140.41,thr = 03,elapsed = 4.060653,files = 50000,records = 0,status = okhost = 192.168.140.41,thr = 04,elapsed = 3.880653,files = 50000,records = 0,status = okhost = 192.168.140.41,thr = 05,elapsed = 3.847107,files = 50000,records = 0,status = okhost = 192.168.140.41,thr = 06,elapsed = 3.895537,files = 50000,records = 0,status = okhost = 192.168.140.41,thr = 07,elapsed = 3.966394,files = 50000,records = 0,status = oktotal threads = 8total files = 400000100.00% of requested files processed, minimum is 70.004.250831 sec elapsed time94099.245073 files/secroot@app1:~/smallfile-master#
As you can see it's now crazy fast, I think close to or faster than nfs !! What the hell!??!
I'm so exited I already post. Any suggestions for those parameters? I will do additional testing over here , because this is ridiculous. That woud mean defaults or no good at all...
Would it be possible to profile the client [1] with defaults and the set of options used now? That could help in understanding the performance delta better.Thanks,Vijay
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users