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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 28 Oct 2014 00:56:42 -0400 (EDT)
From:	David Miller <>
Subject: Re: irq disable in __netdev_alloc_frag() ?

From: Eric Dumazet <>
Date: Mon, 27 Oct 2014 19:46:20 -0700

> Unfortunately, SLUB is more expensive than SLAB for many networking
> workloads.
> The cost of disabling interrupts is pure noise compared to cache
> line misses.
> SLUB has poor behavior compared to SLAB with alien caches, even with
> the side effect that 'struct page' is 64 bytes aligned instead of
> being 56 bytes with SLAB

And SLAB completely shits itself when lots of memory gets cached up on
a foreign node.

This discussion has happened many times, SLAB may be faster when things
work out nicely, but it acts poorly wrt. keeping foreign memory from
being cached too aggressively.

And there is a cost for that, which is that foreign memory has to be
properly balanced back to it's home node.
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists