From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NWr0e-00009Q-MB for garchives@archives.gentoo.org; Mon, 18 Jan 2010 12:47:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E923E051E; Mon, 18 Jan 2010 12:46:31 +0000 (UTC) Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.210.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 3D08DE051E for ; Mon, 18 Jan 2010 12:46:31 +0000 (UTC) Received: by yxe4 with SMTP id 4so140520yxe.32 for ; Mon, 18 Jan 2010 04:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=DOUL4k6zhsRuO5/VjHYpBvCjQMfx9G82ifdsBfHI8wc=; b=jD9dZeZ7Fq4E6zFssVpfhGZn1jFeJNR/v4HKlKHYYfHwudzjp9hbJKrO8CVaHtuPwZ FHlmekxdkzKL5sQVJ4bYUTcUIvdSsw+ne/Px2H1/Rw5nMUz5+sUWPDEUAiAnmyTkcMvk rX9gj58yb6k4/XyENLbw9dQH7vbGdPHlOWDCA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nlGtWoB0EjH9jd4ICfhvKqi+ZODOx4tI6LsUYMyufJC/esvdUWXLoiTRQtIRlaJzpY eLhF022myKreCB952W062ciVAjTWqLhCDOv5t3ZK9saPfv0JWQww05dj5Tey+KYKNc6A x/fX4CAEV9U4BkDRp1RRQ4tTBSKxKECt7d+8s= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.101.4.22 with SMTP id g22mr9538216ani.40.1263818790859; Mon, 18 Jan 2010 04:46:30 -0800 (PST) In-Reply-To: <4B091D33-9E06-47DD-88AC-D122FD2E1590@stellar.eclipse.co.uk> References: <4B091D33-9E06-47DD-88AC-D122FD2E1590@stellar.eclipse.co.uk> Date: Mon, 18 Jan 2010 07:46:30 -0500 Message-ID: <4ef07b8c1001180446v5d6abd16qb1e637d527263049@mail.gmail.com> Subject: Re: [gentoo-user] How to determine if a NIC is playing gigabit? From: Dan Cowsill To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: e251977e-d85c-416c-b2c7-377239e876b6 X-Archives-Hash: 6aa6ae02ca786e2c0c38e7348b0e9ace On Mon, Jan 18, 2010 at 6:50 AM, Stroller wrote: > Hi there, > > Yesterday I reseated the network cable between my server cupboard and my > desk, and it now lights up on the switch by my desk as gigabit. But a > file-transfer today is slower than I might have hoped. > > I'm not ruling out the cable, because it's pretty beat up (but the switch > *is* lighting up as 1000), but how do I determine, please, that the Linux > server at the other end is recognising the NIC and negotiating as gigabit > speeds? > > The hard-drives on the server are using an older PCI SATA card, and the NIC > is also PCI. But I would have expected it to be a bit faster than 100Mbps. > > Any estimates over what kind of speed I should be seeing for large > file-transfers over Samba? Wildly ball-park is fine - I wouldn't expect a > 10x speed increase, but maybe 2x or 3x - 4x would be great! > > I'll be testing between my Macs (both on the desktop switch, ruling out both > the Linux box and the suspicious cable) later today, I'd just like some > ideas of where I should be starting from. > > Right now I'm seeing 10 gigs of .mp4 files (1gb - 2gb per video file) taking > about an hour - that's about what I'd expect from old 100Mbps networking, > not this shiny new stuff. > > I'm not seeing any difference commenting & uncommenting "aio read size = 1, > aio write size = 1" (separate lines) from /etc/samba/smb.conf and then > running `/etc/init.d/samba reload`, but maybe I shouldn't expect that to > make any difference on an existing transfer. I just don't want to interfere > with this right now - I just want to copy as much as possible on to my > laptop before I go out, and I'll take a look at this performance issue when > I get home. > > Thanks in advance for any suggestions or pointers, > > Stroller. > > > In all likelihood, its your hard disk slowing down the network transfer, and not the cabling. Generally speaking, if the hardware says gigabit, than you've got gigabit.