Bug 1460171

Summary: [GSS] Very slow performance by right click the volume and select the "property" in a windows client
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: WenhanShi <wenshi>
Component: sambaAssignee: Michael Adam <madam>
Status: CLOSED NOTABUG QA Contact: surabhi <sbhaloth>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: anoopcs, bkunal, rhs-smb, vdas, wenshi
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-03 23:12:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1472361    

Description WenhanShi 2017-06-09 10:26:39 UTC
Description of problem:

The customer is using windows 7. They are facing a performance issue that it will cost almost 1 min when click "property" from right-click menu of an EC gluster volume.

- The gluster system and windows clients are joining a AD system, which has about 1400 user in it.
- The customer is trying to set the permission of AD users to gluster EC volumes.
- The delay will occurred when even showing the first tab, general tab.
- They tried from different client, all have the same issue.
    windows 7, 2008 r2, 2012 r2
- no file is under the EC volume, It's a new created one.
  and the volume has about 48 bricks (will update when I get the sosreport)
- The delay issue will happened *sometime*. and when setup debug log level to 10, the delay issue will get worse, almost each time.

Yesterday when they tried the same operation, no such delay happened.
And the  difference between today and yesterday is
  - the brick number of EC volume  is from 8 to 48
  - Yesterday the gluster system has joined an AD environment for test, 
    and they joined a new AD system this morning, and this new AD system is the production environment from end user, has 1400 users.
  - they removed several 3-way replicated volumes and create some new EC volumes.


Version-Release number of selected component (if applicable):
gluster-nagios-addons-0.2.8-1.el7rhgs.x86_64        Fri Apr  7 10:30:51 2017
gluster-nagios-common-0.2.4-1.el7rhgs.noarch        Fri Apr  7 10:23:20 2017
glusterfs-3.8.4-18.el7rhgs.x86_64                   Fri Apr  7 10:27:52 2017
glusterfs-api-3.8.4-18.el7rhgs.x86_64               Fri Apr  7 10:28:00 2017
glusterfs-cli-3.8.4-18.el7rhgs.x86_64               Fri Apr  7 10:22:31 2017
glusterfs-client-xlators-3.8.4-18.el7rhgs.x86_64    Fri Apr  7 10:22:06 2017
glusterfs-fuse-3.8.4-18.el7rhgs.x86_64              Fri Apr  7 10:28:12 2017
glusterfs-geo-replication-3.8.4-18.el7rhgs.x86_64   Fri Apr  7 10:31:39 2017
glusterfs-libs-3.8.4-18.el7rhgs.x86_64              Fri Apr  7 10:21:43 2017
glusterfs-rdma-3.8.4-18.el7rhgs.x86_64              Fri Apr  7 10:29:42 2017
glusterfs-server-3.8.4-18.el7rhgs.x86_64            Fri Apr  7 10:31:38 2017
python-gluster-3.8.4-18.el7rhgs.noarch              Fri Apr  7 10:23:32 2017
samba-vfs-glusterfs-4.4.6-4.el7rhgs.x86_64          Fri Apr  7 10:29:41 2017
vdsm-gluster-4.17.33-1.1.el7rhgs.noarch             Fri Apr  7 10:31:56 2017

How reproducible:
every time

Steps to Reproduce:
1. access gluster volume in windows.
2. right click volume and select property 

Actual results:
will take about 1 min

Expected results:
no delay happen

Additional info:

[collab-shell] https://gitlab.cee.redhat.com/gss-tools/collab-shell

    # ssh your_kerb.redhat.com
    # cd /cases/01866801

the following files have been downloaded and extracted:
---------------------
	29M	capture-sar.zip
	482M	sosreport.tar.zip
	2M	var-log-samba.zip
---------------------

view attachments here: http://collab-shell.usersys.redhat.com/01866801/

Comment 6 Vivek Das 2017-09-27 12:06:21 UTC
Hi

I am not seeing any delay with EC volume over right click and checking the properties of the shared mount in windows client.

Version
--------
glusterfs-3.8.4-18.el7rhgs.x86_64
samba-4.4.6-4.el7rhgs.x86_64

Volume config
-------------
Distributed-Disperse
Number of Bricks: 4 x (4 + 2) = 24

Client
-------
Windows 7
Windows 10
Windows 8.1 
Windows 8

Data
-----
2GB of data is available in the volume share

Verdict
---------
I see absolutely no delay doing a right click and checking the properties.