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  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:	Sun, 3 May 2015 17:28:42 +0200
From:	Jesper Dangaard Brouer <>
To:	Alexei Starovoitov <>
Cc:, "David S. Miller" <>,
	Jamal Hadi Salim <>,
	Daniel Borkmann <>,
	Florian Westphal <>,
Subject: Re: [PATCH v3 net-next] tc: remove unused redirect ttl

On Fri,  1 May 2015 22:19:43 -0700
Alexei Starovoitov <> wrote:

> From: Jamal Hadi Salim <>
> improves ingress+u32 performance from 22.4 Mpps to 22.9 Mpps

I like this change and I'm ACKing it.

But I would like to comment on these performance numbers.  I assume this
is a single CPU test with your pktgen RX/STACK_INJECT mode that drops
the packet "early (in ip_rcv() I think).

It sound impressive to get +0.5 Mpps improvement from such a small
change, while in reality this is approx a 1ns improvement.

 (1/(22.4*10^6)*10^9) = 44.64ns
 (1/(22.9*10^6)*10^9) = 43.67ns
 improvement diff     =  0.97ns

I'm a fan of zooming in on parts of the stack, as it allow us to
performance optimize and measure parts of the stack that is normally
hard to measure. And your ingress use-case is valid.  People should
just be aware, that we can easily "over-sell" when "zooming" in...

> Signed-off-by: Jamal Hadi Salim <>
> Signed-off-by: Alexei Starovoitov <>
> Acked-by: Florian Westphal <>
> Acked-by: Daniel Borkmann <>

Acked-by: Jesper Dangaard Brouer <>

Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Sr. Network Kernel Developer at Red Hat
  Author of
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