linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* FlameGraph of mlx4 early drop with order-0 pages
@ 2016-04-15 19:40 Jesper Dangaard Brouer
  2016-04-17 13:23 ` Mel Gorman
  0 siblings, 1 reply; 4+ messages in thread
From: Jesper Dangaard Brouer @ 2016-04-15 19:40 UTC (permalink / raw)
  To: Mel Gorman, linux-mm, netdev@vger.kernel.org, Brenden Blanco
  Cc: brouer, tom, alexei.starovoitov, ogerlitz, daniel

Hi Mel,

I did an experiment that you might find interesting.  Using Brenden's
early drop with eBPF in the mxl4 driver.  I changed the mlx4 driver to
use order-0 pages.  It usually use order-3 pages to amortize the cost
of calling the page allocator (which is problematic for other reasons,
like memory pin-down, latency spikes and multi CPU scalability)

With this change I could do around 12Mpps (Mill packet per sec) drops,
usually does 14.5Mpps (limited due to a HW setup/limit, with idle cycles). 

Looking at the perf report as a FlameGraph, the page allocator clearly
show up as the bottleneck: 

http://people.netfilter.org/hawk/FlameGraph/flamegraph-mlx4-order0-pages-eBPF-XDP-drop.svg

Signing off, heading for the plane soon... see you at MM-summit!
-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  Author of http://www.iptv-analyzer.org
  LinkedIn: http://www.linkedin.com/in/brouer

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-17 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 19:40 FlameGraph of mlx4 early drop with order-0 pages Jesper Dangaard Brouer
2016-04-17 13:23 ` Mel Gorman
2016-04-17 17:24   ` Jesper Dangaard Brouer
2016-04-17 17:52     ` Mel Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).