From owner-freebsd-current@FreeBSD.ORG Wed Aug 18 16:38:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CADB116A4CE for ; Wed, 18 Aug 2004 16:38:46 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9665743D49 for ; Wed, 18 Aug 2004 16:38:46 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 2634 invoked from network); 18 Aug 2004 16:38:46 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Aug 2004 16:38:45 -0000 Received: from hydrogen.funkthat.com (jchobm@localhost.funkthat.com [127.0.0.1])i7IGchuU053170; Wed, 18 Aug 2004 09:38:43 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i7IGcfjv053169; Wed, 18 Aug 2004 09:38:41 -0700 (PDT) Date: Wed, 18 Aug 2004 09:38:40 -0700 From: John-Mark Gurney To: "Bjoern A. Zeeb" Message-ID: <20040818163840.GE99980@funkthat.com> Mail-Followup-To: "Bjoern A. Zeeb" , Maxim Maximov , freebsd-current@freebsd.org References: <20040817072438.GA99980@funkthat.com> <41223F40.8030702@mcsi.pp.ru> <20040817181307.GB99980@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: Maxim Maximov cc: freebsd-current@freebsd.org Subject: Re: new if_sk locking patch... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 16:38:46 -0000 Bjoern A. Zeeb wrote this message on Tue, Aug 17, 2004 at 19:26 +0000: > On Tue, 17 Aug 2004, John-Mark Gurney wrote: > > > > Does that also fix the "hangs" a lot of people can see ? > > > I guess not ? > > > > Probably not... it only fixed the LOR's on attach... I just > > got my card, but if you could get me a back trace on the hang, > > I can look at it more... Though the hangs might be due to other > > problems... > > it's not a problem of kernel hang but sk is up/active but no data > passes the interface and established connections drop. In most cases > connectivity comes back after some amount of time. See kern/69879. I took a quick look, and did some tests last night, and I couldn't get the box to hang. I will admit I don't have the fastest hardware, I was using my Apple TiBook doing testing w/ ssh and nfs. With ssh (I believe blowfish), I was able to tar up and transfer ~31gigs of data, getting around 6.5meg/sec. With nfs, I did a bunch of transfers of multigigs of data, and then wrote a program (to lessen the cpu usage on the laptop) to just read the file, and got about 13meg/sec for a 1gig VOB. Never did I see the sk interface hang. I was running with debug.mpsafenet=1 on a Uniproc box though. I'm going to commit my locking patch shortly, and could you test again? Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."