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] [thread-next>] [day] [month] [year] [list]
Message-ID: <1300695569.2831.535.camel@edumazet-laptop>
Date:	Mon, 21 Mar 2011 09:19:29 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Po-Yu Chuang <ratbert.chuang@...il.com>
Cc:	netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	ratbert@...aday-tech.com
Subject: Re: [PATCH v2] net: add Faraday FTGMAC100 Gigabit Ethernet driver

Le lundi 21 mars 2011 à 15:54 +0800, Po-Yu Chuang a écrit :
> It seems to work fine so far at least the driver is not broken, but I did not
> see much difference in performance though. How do I know if GRO is
> working indeed?

maybe you receive one interrupt per incoming frame, and your cpu is fast
enough to handle the load.

tcpdump should show big incoming TCP frames (multi segment)

(GRO only helps TCP receivers)

Example here :


09:16:32.372949 IP 192.168.20.110.55446 > 192.168.20.108.ssh: .
2372863:2374311(1448) ack 3136 win 73 <nop,nop,timestamp 317934201
257881345>

09:16:32.372975 IP 192.168.20.110.55446 > 192.168.20.108.ssh: .
2374311:2377207(2896) ack 3136 win 73 <nop,nop,timestamp 317934201
257881345>


Here, you can see GRO work, since 2nd "frame" is the result of two MTU
sized frames. 



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ