On Mon, Jan 18, 2010 at 6:50 AM, Stroller <[email protected]> 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.

