On 02/16/2014 04:13 PM, Daniel Borkmann wrote:
On 02/16/2014 03:15 PM, Lorenzo Pistone wrote:
On 02/16/2014 02:00 PM, Daniel Borkmann wrote:
It's a kernel bug in the VM subsystem, dealing with transparent hugepages.
A patch was submitted but is so far not yet included, I'll ask for a status
update on lkml so that we get this sorted out.
Meanwhile you can compile your kernel with THP turned off.
Thanks for the info, I found the thread and I will follow it.
Does disabling thp at boot time or through sysctl work for you? It doesn't for
me, and I'm not such a fan of kernel recompiling as pastime. Decently recent
libpcap use the same mmap mechanism, but I see that you have the problem in
allocating the TX buffer, which libpcap doesn't do, right?
It should actually also work on rx mmap'ed buffer, I'd expect libpcap
might not have this issue as it doesn't call m{un}lock() on THPs.
I just tested and resubmitted the proposed fix to lkml for inclusion;
kernel since 3.11 are affected.
Just for the log, fix is in [1] in case people don't want to wait.
[1]
http://borkmann.ch/garbage/0001-mm-include-VM_MIXEDMAP-flag-in-the-VM_SPECIAL-list-t.patch
Lorenzo.
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.