The Samba-Bugzilla – Bug 11084
Problem with AIO stalled
Last modified: 2017-04-03 12:49:55 UTC
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.
Ubuntu Server 14.04.1 LTS
AIO settings :
aio read size = 1
aio write size = 1
vfs objects = aio_pthread
Win 8.1 professional 64Bit
Worker : 8
Max Disk Size (Sectors) : 16777216
Outstanding I/Os : 128
Starting Disk Sector : 0
100% Sequential/Random read
I think this is resolved with 4.6.0 and higher by the following commits
git log -23 a343fbc6f1dc18ed2499535c76e4dd79b01d29b2