lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1426181041.11398.164.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Thu, 12 Mar 2015 10:24:01 -0700
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Martin Lau <kafai@...com>
Cc:	Amir Vadai <amirv@...lanox.com>,
	Or Gerlitz <ogerlitz@...lanox.com>, netdev@...r.kernel.org,
	kernel-team@...com
Subject: Re: [Question] net/mlx4_en: Memory consumption issue with mlx4_en
 driver

On Thu, 2015-03-12 at 09:56 -0700, Martin Lau wrote:

> It is what we did.  However, a buggy process accommodated enough stalled
> sockets (stop reading from it but not closing it) will re-surface the problem.

That's where collapsing helps : TCP stack reallocates linear skbs using
order-0 pages only, and fill them. Overhead is reduced to strict
minimum.

Well, this collapsing code could be extended to add order-0 pages frags,
so that overhead would be really minimal.

I'll send patches that we have been using here for a while.



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ