Bug 1399465

Summary: [GSS] small file performance differences between local and gluster storage
Product: Red Hat Gluster Storage Reporter: Bipin Kunal <bkunal>
Component: posixAssignee: Shyamsundar <srangana>
Status: CLOSED NOTABUG QA Contact: Rahul Hinduja <rhinduja>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rhgs-3.1CC: amukherj, asoman, rhs-bugs, srangana, storage-qa-internal, sunnikri
Target Milestone: ---   
Target Release: RHGS 3.2.0   
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: 2016-12-21 05:14:25 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:
Attachments:
Description Flags
vmstat-140
none
vmstat-141
none
vmstat-142
none
volume profile
none
client IO-stat dump none

Description Bipin Kunal 2016-11-29 06:18:18 UTC
Description of problem:
small file performance differences between local and gluster storage


# ll -h php.tgz
-rw------- 1 root root 19M Nov 28 14:51 php.tgz
# time tar zxf php.tgz -C /tmp

real    0m1.962s
user    0m0.944s
sys     0m0.952s
# find /tmp/php-7.0.13/ -type f | wc -l
18388
# du -hs /tmp/php-7.0.13/
155M    /tmp/php-7.0.13/

# gluster volume profile stevetest info incremental

# vmstat -S M -t -w 2 > $(hostname)_smallfile.vmstat

# time tar zxf php.tgz -C /mnt/stevetest/

real    4m24.812s
user    0m1.233s
sys     0m2.591s

# gluster volume profile stevetest info incremental >/tmp/gluster_bricks_smallfile.gprofile

# setfattr -n trusted.io-stats-dump -v /tmp/gluster_client_smallfile.gprofile /mnt/stevetest/

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Bipin Kunal 2016-11-29 06:22:28 UTC
Created attachment 1225615 [details]
vmstat-140

Comment 3 Bipin Kunal 2016-11-29 06:23:03 UTC
Created attachment 1225616 [details]
vmstat-141

Comment 4 Bipin Kunal 2016-11-29 06:23:55 UTC
Created attachment 1225617 [details]
vmstat-142

Comment 5 Bipin Kunal 2016-11-29 06:25:23 UTC
Created attachment 1225618 [details]
volume profile

Comment 6 Bipin Kunal 2016-11-29 06:26:11 UTC
Created attachment 1225619 [details]
client IO-stat dump