Bug 11084 - Problem with AIO stalled
Summary: Problem with AIO stalled
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.0.14
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-30 08:56 UTC by Mike Liu
Modified: 2017-04-03 12:49 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Liu 2015-01-30 08:56:58 UTC
Hello list, 

I setup Iometer to test AIO for 100% Sequential/Random read. 
If "Transfer Request Size" is more than or equal to 256 kilobytes,in the beginning the transmission is good. 
But 3~5 seconds later,the throughput will drop to zero. 
This symptom did not occur in Samba-4.0.13,but it occur after upgrading to Samba-4.0.14.
I found it works fine without the patches from Bug#10298.

Server OS: 
Ubuntu Server 14.04.1 LTS 

Samba: 
Version 4.1.6-Ubuntu 

Dialect: 
SMB 2.0 

AIO settings : 
aio read size = 1 
aio write size = 1 
vfs objects = aio_pthread 

Client OS: 
Win 8.1 professional 64Bit 

Iometer Setting: 
Iometer 2006.07.27 
Worker : 8 
Max Disk Size (Sectors) : 16777216 
Outstanding I/Os : 128 
Starting Disk Sector : 0 
100% Sequential/Random read
Comment 1 Stefan Metzmacher 2017-04-03 12:49:55 UTC
I think this is resolved with 4.6.0 and higher by the following commits

git log -23 a343fbc6f1dc18ed2499535c76e4dd79b01d29b2