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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150405231510.GA15719@electric-eye.fr.zoreil.com>
Date:	Mon, 6 Apr 2015 01:15:10 +0200
From:	Francois Romieu <romieu@...zoreil.com>
To:	Nix <nix@...eri.org.uk>
Cc:	rl@...lgate.ch, Bjarke Istrup Pedersen <gurligebis@...too.org>,
	"David S. Miller" <davem@...emloft.net>,
	Linux-Netdev <netdev@...r.kernel.org>
Subject: Re: 3.19+: (and quite probably earlier) VIA Rhine hanging under high
 network load, yet again: redux

Nix <nix@...eri.org.uk> :
[...]
> Gross or not, it seems to work: I've loaded it enough to crash it half a
> dozen times, and not a crash. However, the rx_dropped stats on the link
> aren't going up, so maybe I've just been lucky.

Rx descriptors are now recycled as soon as they are processed whereas the
driver used to perform a complete processing batch before recycling any
descriptor. It could make a huge difference.

The pre-patch rx batch recycling did not include any barrier between
rp->rx_ring[entry].addr and rp->rx_ring[entry].rx_status updates to
enforce the ordering. The patch could help here as well.

You don't need to focus on rx_dropped: it's just a distraction :o)

Whatever the outcome I'll have to clean my mess though.

-- 
Ueimor
--
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