Darren Tucker wrote:
Gary Clemans-Gibbon wrote:
Also I have just grabbed the stable branch from cvs and am running
stable GENERIC and still doesn't fix it. Just a recap - the problem is
not just samba writes to either of the data disks from the network via
samba or scp are painfully slow. Reads from the box to the network are
fast. Copying files from one disk to another one the server are fast.
Taking the disks out of the equation entirely: does scp'ing a file to
/dev/null run fast or slow?
$ dmesg
[...]
uhci0 at pci0 dev 4 function 2 "Intel 82371AB USB" rev 0x01: irq 9
[...]
dc0 at pci0 dev 9 function 0 "ADMtek AN983" rev 0x11: irq 9, address
The NIC is sharing IRQ 9 with the USB controller, can you select another
IRQ for the NIC in the BIOS? Especially if you can select a non-shared
one?
Good suggestion Darren,
I thought you might have hit upon it there. I remember a problem from
way back when a promise raid controller card was fussy about which pci
slot it was in. Anyway I tried moving the NIC to another slot and also
manually set the irq in the bios to 12.
Neither made any difference though....
# dmesg | grep irq
uhci0 at pci0 dev 4 function 2 "Intel 82371AB USB" rev 0x01: irq 9
dc0 at pci0 dev 10 function 0 "ADMtek AN983" rev 0x11: irq 12, address
00:50:bf:9c:62:e4
pckbc0: using irq 1 for kbd slot
lpt0 at isa0 port 0x378/4 irq 7
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
sb1 at isapnp0 "Creative SB AWE64 PnP, CTL0042, , Audio" port
0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.16
wdc2 at isapnp0 "Creative SB AWE64 PnP, CTL2011, PNP0600, IDE" port
0x168/8,0x36e/2 irq 10