List Info

Thread: sluggish system response during ssh-filetransfer




sluggish system response during ssh-filetransfer
user name
2006-10-07 13:35:48
My server synchronizes data with another server in a
different location  
over the internet (dsl 128kbit/sec) at regular intervals. I
use ssh to  
tunnel through the intenet. The software used is rsync and /
or unison.  
The server is connected to the internet over a hardware
router (ASUS  
WL500g).

Whenever the system is actively transferring data, is
responds very  
sluggishly to requests form the LAN: starting Midnight
Commander on the  
server takes about 30 sec, opening an Explorer window on a
samba client  
(WinXP or OSX) takes something between 15 sec and 60 sec.
Normally either  
of these commands are finished in just 2 sec.

The system seems not to be loaded: 'top' shows load-averages
is well below  
1 and an idle of over 90%. The process that does the
synchronizatiuon  
utilizes about 1% CPU. 'systat vmstat' shows hardly any
swapping or  
paging. 'systat iostat' shows no disk-activity beyond the
data-stream to  
and from the interet.

I think NetBSD is supposed to be able to handle many
network-connections  
simultaneously. Is this at all a network problem or is maybe
ssh clogging  
something in the kernel? The server does have a
software-RAID5 array  
(Promise IDE controller in PCIbus), but the synchronization
pertains only  
to the drive where the NetBSD system resides (onboard
PIIXIDE).

Does anybody have an idea, how to remedy this problem?

Below is the output from dmesg.

Regards
Thomas

---dmesg---------------------
NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005
         buildsworks.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i
386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/
sys/arch/i386/compile/GENERIC
total memory = 255 MB
avail memory = 241 MB
BIOS32 rev. 0 found at 0xf0520
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium II (686-class), 350.81 MHz, id 0x652
cpu0: features
183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line
4-way
cpu0: L2 cache 512 KB 32B/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully
associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 32 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult,
wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xe4000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface
(rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
pcib0 at pci0 dev 4 function 0
pcib0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x02)
piixide0 at pci0 dev 4 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 4 function 2: Intel 82371AB (PIIX4) USB
Host Controller  
(rev. 0x01)
uhci0: interrupting at irq 12
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB (PIIX4) Power Management Controller
(miscellaneous bridge,  
revision 0x02) at pci0 dev 4 function 3 not configured
pdcide0 at pci0 dev 9 function 0
pdcide0: Promise Ultra133/ATA Bus Master IDE Accelerator
(rev. 0x02)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using irq 12 for native-PCI interrupt
atabus2 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus3 at pdcide0 channel 1
ex0 at pci0 dev 11 function 0: 3Com 3c905-TX 10/100 Ethernet
(rev. 0x0)
ex0: interrupting at irq 10
ex0: MAC address 00:10:4b:98:20:e3
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga1 at pci0 dev 12 function 0: Matrox MGA Mystique 1064SG
(rev. 0x02)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100
emulation)
wsmux1: connecting to wsdisplay0
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <WDC WD1800JB-00DUA3>
wd0: drive supports 16-sector PIO transfers, LBA48
addressing
wd0: 167 GB, 348861 cyl, 16 head, 63 sec, 512 bytes/sect x
351651888  
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
(Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2
(Ultra/33) (using  
DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <SAMSUNG DVD-ROM SD-616F, ,
F103> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
(Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2
(Ultra/33) (using  
DMA)
wd1 at atabus2 drive 0: <SAMSUNG SP1213N>
wd1: drive supports 16-sector PIO transfers, LBA48
addressing
wd1: 111 GB, 232632 cyl, 16 head, 63 sec, 512 bytes/sect x
234493056  
sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
(Ultra/100)
wd2 at atabus2 drive 1: <SAMSUNG SP1213N>
wd2: drive supports 16-sector PIO transfers, LBA48
addressing
wd2: 111 GB, 232632 cyl, 16 head, 63 sec, 512 bytes/sect x
234493056  
sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
(Ultra/100)
wd1(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (using  
DMA)
wd2(pdcide0:0:1): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (using  
DMA)
wd3 at atabus3 drive 0: <SAMSUNG SP1213N>
wd3: drive supports 16-sector PIO transfers, LBA48
addressing
wd3: 111 GB, 232632 cyl, 16 head, 63 sec, 512 bytes/sect x
234493056  
sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
(Ultra/100)
wd4 at atabus3 drive 1: <SAMSUNG SP1213N>
wd4: drive supports 16-sector PIO transfers, LBA48
addressing
wd4: 111 GB, 232632 cyl, 16 head, 63 sec, 512 bytes/sect x
234493056  
sectors
wd4: 32-bit data port
wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
(Ultra/100)
wd3(pdcide0:1:0): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (using  
DMA)
wd4(pdcide0:1:1): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (using  
DMA)
raid0: RAID Level 1
raid0: Components: /dev/wd1a /dev/wd2a
raid0: Total Sectors: 4096384 (2000 MB)
raid1: RAID Level 5
raid1: Components: /dev/wd1e /dev/wd2e /dev/wd4e /dev/wd3e
raid1: Total Sectors: 690399936 (337109 MB)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)


-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )