Tgtd dirty pages issue

Frank Michel <[email protected]> Fri, 16 Oct 2015 12:43:42 +0200
Newsgroups org.kernel.vger.stgt
Message-ID <CAKn=86PDwiWgVMKRkCCKuv8YddnBO6LVcCe1aSA1pZdi85058Q@mail.gmail.com>
Hello,

We are encountering a backup problem using tgtd.

Though, we believe it to be a kernel problem, you might have
encountered such an issue before and have some lights about it.

We backup a Linux RHEL 6 system using an iSCSI link connected to an
usb3 drive on another system. The problem is that the backup process
on the source system is writing too fast for the network to send data.

The number of dirty pages of unwritten data keep rising on the source
system because of the network bottleneck.This keep growing until the
source system freeze because of too much allocated memory.

We believe it’s a kernel issue which has not been fixed even in the
most recent kernel versions (3.3). To fix that, it would require a max
dirty pages per device kernel parameter which is not available at this
moment.

Have you heard of any « strategy » which we could use as a workaround
for this specific problem ?

Thanks for your help,